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

Add sccache to pythonbuild #370

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add sccache to pythonbuild #370

wants to merge 1 commit into from

Conversation

orf
Copy link

@orf orf commented Oct 16, 2024

I was looking at adding this to the actual cpython build, but it looks a bit more complex. I'm not sure how to pass CC and CXX to make as required by the docs, and build-cpython.sh seems to do some checks that could interfere with this:

elif [ "${CC}" = "musl-clang" ]; then

Copy link
Owner

@indygreg indygreg left a comment

Choose a reason for hiding this comment

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

I used to have sccache support for this project. I removed it because it didn't yield a meaningful speed-up. The CI for this project is bottlenecked by the volume of CPython build jobs. And individual jobs are frequently I/O bottlenecked from extracting tar archives into containers. There's some CPU bottlenecks compiling. But sccache fails to speed it up materially. I didn't think the complexity was justified.

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