Skip to content
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

Use arm64 Linux runners for wheels #8698

Merged
merged 2 commits into from
Jan 17, 2025
Merged

Conversation

radarhere
Copy link
Member

GitHub has announced that arm64 Linux runners are now free for public repositories - https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/

This means that we can use them, rather than QEMU, to build aarch64 wheels, greatly reducing the time that it takes to build all of our wheels.

While I'm here, I've also added 'pypy' to CIBW_ENABLE, since it will be turned off by default in cibuildwheel 3. You can see a warning about this at https://github.com/python-pillow/Pillow/actions/runs/12755221825 and read more at https://cibuildwheel.pypa.io/en/stable/options/#enable

@radarhere radarhere added Linux and removed Linux labels Jan 17, 2025
@hugovk
Copy link
Member

hugovk commented Jan 17, 2025

Like python-pillow/docker-images#229, also very nice!

This PR replaces these 8 jobs, taking ~2+ hours each:

image

With these two, taking ~25 mins each:

image

It reduces total duration (wall clock) from ~2h 34m to ~45m, and total run time (total CPU time) from ~21h 24m to ~4h 30m! 🚀

@hugovk hugovk merged commit 85a6df5 into python-pillow:main Jan 17, 2025
18 checks passed
@radarhere radarhere deleted the arm64 branch January 17, 2025 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants