-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Build wheels for Apple Silicon #10114
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
Comments
Hey @JukkaL, I briefly went through the |
@97littleleaf11 You can modify |
@JukkaL I just made a PR about it. |
@97littleleaf11 Thanks for the PR! This seems to work great based on some quick experiments, with about 4.3x performance improvement. Here is a Python 3.9 arm64 wheel for the current GitHub master. More recent builds will appear here. |
That wheel works correctly for me on AS as well, thanks! (sorry for the delay, haven't had a chance to boot my AS machine back up till today 👶 ) |
Currently we don't generate binary wheels for macs with Apple Silicon, and the only option is to use the slower, interpreted version of mypy when using an ARM CPython build. A compiled wheel could up to 4x faster than the interpreted one.
cibuildwheel (https://github.com/joerick/cibuildwheel), which we use to compile wheels, now supports cross-compiling
arm64
wheels for Apple Silicon on Intel. We should generatearm64
wheels for macOS. We can support at least Python 3.9 and possibly 3.8 (https://bugs.python.org/msg382939). Just supporting 3.9 would be okay.Building the wheels happens in a GitHub action here.
Would anybody to like to try this out? If you can generate the wheels, I can help test them, since I have a Mac with Apple Silicon.
The text was updated successfully, but these errors were encountered: