-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Provide aarch64 wheel for windows #237
Comments
Looks like it'll take a few months to openly access windows arm64 runner: https://github.blog/news-insights/product-news/arm64-on-github-actions-powering-faster-more-efficient-build-systems/ |
I tried cross-compiling with cibuildwheel, but that didn't work. I ended up with an arm64 wheel containing an amd64 module. Compiling natively works (except for #240), but arm64 GHA workers are only available on Enterprise. |
Might be related to pypa/cibuildwheel#1942 ? |
So, it turns out it's properly cross compiling... but the files "just" have the wrong name:
|
So, the VSCMD_ARG_TGT_ARCH mentioned in the cibuildwheel issue is taken into account here: which... doesn't support arm64. But guess what... this is what comes before that block: The replacement for that, |
FWIW, as python 3.12 removed distutils, it's been maintained as part of setuptools, including the fix for get_platform: pypa/distutils@f15f814 Perhaps we should make sure cibuildwheel doesn't depend on python distutils? |
So, turns out the file name for modules ultimately comes from The equivalent setuptools code has an escape hatch via an environment variable: But that also means we can probably trick it from setup.py. |
I got something to work. |
It would be nice to set up CI for aarch64 windows wheel.
The text was updated successfully, but these errors were encountered: