-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Linux][aarch64] Wheel support for aarch64 Linux #1972
Comments
Hi, |
Change the build.yml to add aarch64/arm64 builds Closes giampaolo#1782, closes giampaolo#1945, closes giampaolo#1954, closes giampaolo#1966, closes giampaolo#1972, closes giampaolo#2090 Signed-off-by: George Marshall <[email protected]>
Linux ARM64 wheels would make it easier for ARM Mac users to test out Docker images that depend on |
cibuildwheel supports building |
Well, my experiment over at #2178 didn't go well with various failures of which at least some are triggered by my use of QEMU to get these built on the Intel GHA runners. As for actual test failures, here's a job where I built and tested the wheels natively on a self-hosted ARM runner.
At least a few of these are tied to ARM doing @giampaolo, what do you see as a path forward here? I would be happy to try to help, though with an existing patch that isn't of interest I hesitate to create another without discussing concerns first. If it's too much to get the tests all fixed now, I would personally see even just skipping those tests on ARM as some sort of improvement. Then I could build the wheel for my uses without dealing with skipping the tests in my own fork. Though if going the QEMU/Docker route for this official repo we would have to skip a lot more tests or just not test the ARM wheel at all. Anyways, I'm interested in making this situation better. Let me know what opportunities you see. Thanks for your thoughts. Cheers, |
One possibility could be to use another CI that has native arm64 runners (such as the free Cirrus CI) to build ARM wheels there. I'm not sure how the maintainer of this project feels about adding another CI to this project though, there are already 2 CI setups here (Appveyor and GitHub Actions), it seems like. It would also make it a bit more complicated to publish a release to PyPI as the maintainer would have to download wheels from 2 places (or perhaps do some more advanced setup which would make it so they can download all wheels from one place once both CI runs are finished). We could also just move the whole setup to Cirrus CI instead. |
buildjet has really good ARM integration directly in github actions. after installing their app in your github account, you simply specify a buildjet runner in would be amazing if Github would add that feature so you can simply run a job on |
FWIW, GitHub now offers free standard GHA runners for macOS arm64, and to my understanding there are active plans to offer Linux and Windows arm64 support within the next ≈year. |
Good thing I'm now dealing with RISCV support for our project instead. |
🎉 |
Summary
Description
This is the same feature request as #1782. I would really love to see wheel support for aarch64, as AWS's Graviton ARM-based VMs are getting more popular. Making a wheel for aarch64 would help so many projects that depend on
psutil
.The text was updated successfully, but these errors were encountered: