Skip to content

Use arm64 Linux runners for wheels#8698

Merged
hugovk merged 2 commits into
python-pillow:mainfrom
radarhere:arm64
Jan 17, 2025
Merged

Use arm64 Linux runners for wheels#8698
hugovk merged 2 commits into
python-pillow:mainfrom
radarhere:arm64

Conversation

@radarhere
Copy link
Copy Markdown
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
Copy Markdown
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
@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