equinor / segyio

Fast Python library for SEGY files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OS X ARM64 Target

tasansal opened this issue · comments

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.

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 :-/

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

@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)