-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
change download-ci-llvm
default from if-unchanged
to true
#130529
Conversation
rustbot has assigned @Mark-Simulacrum. Use |
This PR modifies If appropriate, please update This PR modifies If appropriate, please update |
Why does the default behave differently than setting true explicitly? |
The default is "if-unchanged" which fetches the LLVM submodule, but setting it to |
I meant after this PR. I thought that when you don't set download-ci-llvm, it will behave as if you set it to true. But the code paths for "unset" and "true" look different. |
Hmm. Yeah, that makes sense. Should we set it |
Making it behave differently would introduce essentially another mode and would be unintuitive. When it's not set, it should IMO behave exactly the same as if the user used "true". We can just unify the logic by restructuring the pattern matching, I suppose? |
025352b
to
b11ec6b
Compare
I expressed myself badly 😆 What I meant was that the code executed if That being said, just using true as the actual default value simplifies things, so if it's working, that's even better. I don't suppose that beta or stable contains local modifications to LLVM, so it should be fine, hopefully. You can r=me once CI is green. |
AFAIK building it from scratch is truly necessary only for distribution runners and the "dist" profile already overrides the default with |
This comment has been minimized.
This comment has been minimized.
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
b11ec6b
to
05f10f4
Compare
@bors r=Kobzol |
☀️ Test successful - checks-actions |
Finished benchmarking commit (13a5097): 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. CyclesResults (secondary -5.1%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 769.526s -> 769.055s (-0.06%) |
Since #129473 and #130202, using
download-ci-llvm=true
is now the better default and it also fixes #130515.