This PR adds Apple silicon support to the pre-compiled wheels by providing a universal2 (x86_64 + arm64) dylib. The universal2 dylib is assembled by compiling both libraries individually and combining them with lipo (a standard xcode tool).
The new wheel will be distributed through pypi, as regular.
This PR adds Apple silicon support to the pre-compiled wheels by providing a universal2 (x86_64 + arm64) dylib. The universal2 dylib is assembled by compiling both libraries individually and combining them with
lipo
(a standard xcode tool). The new wheel will be distributed through pypi, as regular.Testing
First, install the rust toolchains:
Testing the x86_64 version was easy with a conda env (and is also performed by the CI). For the arm64 version, I used the homebrew-shipped python: