-
Notifications
You must be signed in to change notification settings - Fork 27
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
Wheel for aarch64-linux
#105
Comments
I think that conda provides binaries for aarch64: Otherwise do you know how we could build and test aarch64 wheels in CI? |
My understanding is this is usually done using qemu, but this requires extra work to maintain, which isn't ideal. I wonder if GitHub has aarch-64 CI images 🤔 |
I don't think GitHub Actions can use aarch64 natively: The OSX arm64 wheels are built in Cirrus CI which seems like it should work for aarch64 Linux: |
If anyone wants to have a go at this then they are welcome. The first step is to make a complete build of python-flint and run the tests. I don't have any Linux on aarch64 machine that I could use to test this. After that it's just a case of adding it to the CI matrix I guess but it probably takes a bit of fiddling around with cibuildwheel and the CI config. My only concern here is about file sizes. Currently a release of python-flint takes up about 200MB on PyPI with the bigger part of that being the manylinux wheels. I expect that adding aarch64 would increase that to something like 300MB. If the releases get too large then we will hit the limits that PyPI has. There are for example limits on the total file size of all releases on a per project basis. If we can find a way to make the wheels smaller then that would be good regardless. I wonder if we should be using strip or something: |
I'm not sure how to use them but it looks like GitHub Actions has Linux Arm runners now: |
We did make the wheels smaller so this is less of a concern but free-threading Python might double the size again... |
I missed this part:
|
Hi there!
Really enjoying the latest releases of
python-flint
!I noticed that since
0.5.0
, there are wheels foraarch64-darwin
andx86_64-linux
which significantly reduce the burden of getting the python module installed.Since most EC2 instances these days are
aarch64
, it would be pretty convenient to also have aaarch64-linux
wheel! I am able to cross compileflint-3.0.0
foraarch64-linux
so it seems like it should be possible! Let me know if there is anything I could do to helpThe text was updated successfully, but these errors were encountered: