use precompiled rustc for non-dist builders#122709
Conversation
This comment has been minimized.
This comment has been minimized.
a080419 to
7a798d5
Compare
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #122690) made this pull request unmergeable. Please resolve the merge conflicts. |
7a8706a to
7ca076d
Compare
This comment has been minimized.
This comment has been minimized.
7ca076d to
359b0d8
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
f581ad1 to
6f7cdd6
Compare
This comment has been minimized.
This comment has been minimized.
8306066 to
795d92b
Compare
This comment has been minimized.
This comment has been minimized.
d7edc43 to
7099a13
Compare
|
@bors try |
…default, r=<try> prefer precompiled rustc for x86_64-gnu *-to be filled-* blocker for rust-lang#119899 r? ghost
|
☀️ Try build successful - checks-actions |
7099a13 to
731c8eb
Compare
|
@bors try |
…default, r=<try> prefer precompiled rustc for x86_64-gnu *-to be filled-* blocker for rust-lang#119899 r? ghost
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
|
@bors try |
|
☀️ Try build successful - checks-actions |
|
Nothing changed (in this PR) since the last merge attempt. @bors r=Mark-Simulacrum |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (a49aefc): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 775.795s -> 775.772s (-0.00%) |
|
It may be unrelated, but it seems the test added here is failing on some of PR CI eg #131418 (comment) ? |
|
This test seems to have caused PR CI failure in #131384 (comment) |
It seems to be related. I will look into it today. |
|
#131434 should fix that issue. |
It will save CI time if there is no change in the compiler or the library. Which is to say, hardly ever. Is there some issue with further discussion or so? I am a bit surprised about this change since the trade-off does not seem worth it for me. |
|
There's some discussion hidden away above by github, but sadly I could not find a summary and the PR description is apparently not up-to-date. Anyway, let's move this to an issue: #131658. |
Here are some brief stats of commits for the last year: Total merge/rollup commits: 2825 Total % of commits that contain a change in the given directory I'm too worried about the fragility of this code, but I'd also like to see how much CI time can this save us. |
Makes non-dist builders to use precompiled CI rustc by default if they are available for the target triple.
As we are going to make
rust.download-rustc=if-unchangeddefault option with #119899, we need to make sureif-unchangedlogic never breaks and works as expected.As an addition, this will significantly improve the build times on CI when there's no change on the compiler.
blocker for #119899
try-job: x86_64-gnu-nopt
try-job: aarch64-apple