oconnor663 / blake3-py

Python bindings for the BLAKE3 cryptographic hash function
Other
148 stars 14 forks source link

binary wheel for apple silicon (M1 cpu) #20

Closed ThomasWaldmann closed 3 years ago

ThomasWaldmann commented 3 years ago

... would be nice to have.

oconnor663 commented 3 years ago

Wheels are built on Github Actions with this job: https://github.com/oconnor663/blake3-py/blob/master/.github/workflows/tag.yml

It looks like support for Apple silicon isn't there yet, though obviously there are a lot of people asking for it. This seems to be the thread to follow: https://github.com/actions/virtual-environments/issues/2187

messense commented 3 years ago

FYI, you can "cross compile" macOS arm64 and universal2 wheels on x86_64 with maturin, see https://github.com/PyO3/maturin/pull/430/files

maturin-action makes it even easier, it also supports cross compile to linux aarch64, armv7l, ppc64le and s390x.