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

Attempt to speed up riscv64 builds #931

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

yosifkit
Copy link
Member

@yosifkit yosifkit commented Jun 13, 2024

Some Python riscv64 images currently fail to complete building and hit the 3-hour Jenkins job limit.

Currently that is python:3.13.0b2-alpine3.20, python:3.12.4-alpine3.20, python:3.11.9-alpine3.20, python:3.10.14-alpine3.20

This change is an attempt to get them to build in the allotted time instead of just dropping riscv64 on these Python versions. A less optimized python is better than no python image at all.

Build speed when emulating riscv64 from amd64 WSL (~14 cores, so a bit more than our riscv64 builder):

python with optimizations without
3.9 15 minutes -
3.10 52 minutes 23 minutes
3.11 92 minutes 47 minutes
3.12 103 minutes 50 minutes
3.13-rc 109 minutes not tested

Copy link
Member

@tianon tianon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, let's give it a go 🚀

@tianon tianon merged commit 676a087 into docker-library:master Jun 13, 2024
44 checks passed
@tianon tianon deleted the riscv-speedup branch June 13, 2024 17:27
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Jun 13, 2024
Changes:

- docker-library/python@676a087: Merge pull request docker-library/python#931 from infosiftr/riscv-speedup
- docker-library/python@2d4fb58: Attempt to speed up riscv64 builds
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