-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Use ccache for stage0 tool builds #136942
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
Conversation
@bors try |
Use ccache for stage0 tool builds r? `@ghost`
☀️ Try build successful - checks-actions |
@bors try |
Use ccache for stage0 tool builds r? `@ghost`
☀️ Try build successful - checks-actions |
@bors try |
Use ccache for stage0 tool builds r? `@ghost`
Looks like this will need a newer version of sccache, testing in a different PR. |
e6eb61c
to
d3d174f
Compare
@bors try |
Use ccache for stage0 tool builds r? `@ghost`
☀️ Try build successful - checks-actions |
@bors try |
Use ccache for stage0 tool builds r? `@ghost`
☀️ Try build successful - checks-actions |
@bors try Full build without Rust sccache. |
Use ccache for stage0 tool builds r? `@ghost`
☀️ Try build successful - checks-actions |
9aaa9f6
to
ad72ae3
Compare
@bors2 try |
Use ccache for stage0 tool builds r? `@ghost` try-job: `x86_64-gnu-llvm-19*` try-job: `x86_64-msvc*` try-job: `x86_64-apple*` try-job: `dist-x86_64-linux` try-job: `mingw-check-*`
💔 Test failed
|
@bors2 try |
Use ccache for stage0 tool builds r? `@ghost` try-job: `x86_64-gnu-llvm-19*` try-job: `x86_64-msvc*` try-job: `x86_64-apple*` try-job: `dist-x86_64-linux`
@bors2 try |
Use ccache for stage0 tool builds r? `@ghost` try-job: `x86_64-gnu-llvm-19*` try-job: `x86_64-msvc*` try-job: `x86_64-apple*` try-job: `dist-x86_64-linux`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine, thanks
@bors r+ rollup=iffy |
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 2f17612 (parent) -> aae43c4 (this PR) Test differencesNo test diffs found Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard aae43c4532690153af7465227816c93036bb1604 --output-dir test-dashboard And then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
Now after the stage0 redesign, we can actually start ccaching the build of the compiler itself. We can also cache the bootstrap tools, since these are also built with the stage0 compiler.
Stage0 compiler builds are now being cached: https://github.com/rust-lang/rust/actions/runs/15397246267#summary-43321151192 (
..bootstrap::core::build_steps::compile::Rustc 483.10s 40.41s -91.6%
). It's not a gigantic win everywhere, but it should help. It seems to make the Linux jobs ~10 minute faster. It should be especially useful on PR builds after #141948.r? @jieyouxu
try-job:
x86_64-gnu-llvm-19*
try-job:
x86_64-msvc*
try-job:
x86_64-apple*
try-job:
dist-x86_64-linux