blake3-py icon indicating copy to clipboard operation
blake3-py copied to clipboard

Linux wheel for aarch64 and armv7 architecture ?

Open dulfox opened this issue 3 years ago • 8 comments

I've seen that you've provided lots of wheel package but could you please provide linux wheel for aarch64 and armv7 architecture ?

dulfox avatar Jan 09 '22 15:01 dulfox

Currently all the wheels are built by GitHub Actions, in this job: https://github.com/oconnor663/blake3-py/blob/master/.github/workflows/push.yml

GitHub doesn't directly support ARM runners as far as I know (but I could be wrong), so getting additional wheels up probably requires some sort of virtualization. I'm sure something with QEMU is possible, but I don't have a ton of experience with this. Things might get a lot easier if we could use https://github.com/rust-embedded/cross directly for this, but I'm not sure.

oconnor663 avatar Jan 09 '22 19:01 oconnor663

It does seem that it is not as simple and straightforward as I thought. Maybe some hope via this link: https://github.com/uraimo/run-on-arch-action Thanks for answering anyway.

dulfox avatar Jan 10 '22 20:01 dulfox

https://github.com/pypa/cibuildwheel uses Docker and qemu to run emulated aarch64 containers to build wheels. I'm currently working on getting this to work with pytaglib and it seems to do its job (although slow, unsurprisingly).

strayer avatar Nov 17 '22 23:11 strayer

I found a build service that's half the price of GitHub actions and has support for arm64 https://buildjet.com/for-github-actions/pricing

robd003 avatar Feb 27 '23 18:02 robd003

Great news @oconnor663 GitHub has a beta for arm64 runners!

You can sign-up here: https://resources.github.com/devops/accelerate-your-cicd-with-arm-and-gpu-runners-in-github-actions/

robd003 avatar Mar 10 '24 04:03 robd003