Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS X ARM64 Target #534

Closed
tasansal opened this issue Sep 6, 2022 · 6 comments
Closed

OS X ARM64 Target #534

tasansal opened this issue Sep 6, 2022 · 6 comments

Comments

@tasansal
Copy link

tasansal commented Sep 6, 2022

Hi,

I have a MacBook Pro with the ARM based M1 architecture. Since that is not a target for the segyio builds, I have to run the x86_64 emulated version (via Rosetta 2) to be able to use segyio.

Are there any plans to support this architecture natively?

I can help you test if you don't have the right hardware to do so.

AFAIK, there is no GitHub action for OS X ARM64 at the moment
actions/runner-images#2187

However, it can be cross-compiled on a non-Apple container or action.

@da-wad
Copy link

da-wad commented Sep 7, 2022

Seems a fair request... as you're right that cross-compilation is possible.
However my experience attempting this with zfpy is that delocating the cross compiled wheels fails to actually pull in the dependencies, see: this issue ... so I am afraid this may have to wait for native OSX ARM64 runners :-/

@tasansal
Copy link
Author

tasansal commented Sep 7, 2022

Thanks @da-wad, in the meantime, I will compile from the source then. Any known issues there I should watch for?

@tasansal
Copy link
Author

tasansal commented May 3, 2023

@da-wad I built ARM64 wheels for the latest segyio 1.9.11 for MacOS 11 cpython3.8-3.11 manually and posted them to this PR if anyone wants to upload to PyPI:
#536 (comment)

@ErlendHaa
Copy link
Contributor

Native runners are finally available! actions/runner-images#8439

@ajaust
Copy link
Contributor

ajaust commented Nov 29, 2023

We have just pushed a new release (1.9.12) for which Apple ARM packages are build. The packages are also on PyPI already and read to be used.

@radeva
Copy link

radeva commented Jan 18, 2024

@ajaust You can try FlyCI's M1 and M2 runners. They are on average 2x faster and 2x cheaper than GitHub's and we have a free tier for OSS projects (see below).

Install Instructions

  1. Install FlyCI app and
  2. Easily replace one line of code and start using FlyCI runners:
jobs:
 ci:
-    runs-on: macos-latest
+    runs-on: flyci-macos-large-latest-m1
   steps:
   - name: 👀 Checkout repo
     uses: actions/checkout@v4

500 mins/month Free for Public Repos

Since your repo is public, FlyCI offers 500 mins/month of free M1 runner usage with the flyci-macos-large-latest-m1 runner for public projects.

Don't hesitate to contact us in case the free tier doesn't suit your needs or you experience any issues with the runners. Our team is here to support you!

Best Regards,
Veselina Radeva
Product Manager at FlyCI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants