File tree 4 files changed +13
-3
lines changed
4 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 42
42
# Unless you're developing for a target where Rust CI doesn't build a compiler
43
43
# toolchain or changing LLVM locally, you probably want to leave this enabled.
44
44
#
45
+ # Set this to `true` to download if CI llvm available otherwise it builds
46
+ # from `src/llvm-project`.
47
+ #
45
48
# Set this to `"if-unchanged"` to download only if the llvm-project has not
46
49
# been modified. You can also use this if you are unsure whether you're on a
47
50
# tier 1 target. All tier 1 targets are currently supported.
236
239
# Instead of downloading the src/stage0 version of cargo-clippy specified,
237
240
# use this cargo-clippy binary instead as the stage0 snapshot cargo-clippy.
238
241
#
239
- # Note that this option should be used with the same toolchain as the `rustc` option above.
242
+ # Note that this option should be used with the same toolchain as the `rustc` option above.
240
243
# Otherwise, clippy is likely to fail due to a toolchain conflict.
241
244
# cargo-clippy = "/path/to/cargo-clippy"
242
245
Original file line number Diff line number Diff line change @@ -27,4 +27,5 @@ assertions = false
27
27
# Enable warnings during the LLVM compilation (when LLVM is changed, causing a compilation)
28
28
enable-warnings = true
29
29
# Will download LLVM from CI if available on your platform.
30
- download-ci-llvm = " if-unchanged"
30
+ # If you intend to modify `src/llvm-project`, use `"if-unchanged"` or `false` instead.
31
+ download-ci-llvm = true
Original file line number Diff line number Diff line change @@ -2781,7 +2781,8 @@ impl Config {
2781
2781
) ;
2782
2782
}
2783
2783
2784
- b
2784
+ // If download-ci-llvm=true we also want to check that CI llvm is available
2785
+ b && llvm:: is_ci_llvm_available ( self , asserts)
2785
2786
}
2786
2787
Some ( StringOrBool :: String ( s) ) if s == "if-unchanged" => if_unchanged ( ) ,
2787
2788
Some ( StringOrBool :: String ( other) ) => {
Original file line number Diff line number Diff line change @@ -250,4 +250,9 @@ pub const CONFIG_CHANGE_HISTORY: &[ChangeInfo] = &[
250
250
severity : ChangeSeverity :: Info ,
251
251
summary : "New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built." ,
252
252
} ,
253
+ ChangeInfo {
254
+ change_id : 129473 ,
255
+ severity : ChangeSeverity :: Warning ,
256
+ summary : "`download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile" ,
257
+ } ,
253
258
] ;
You can’t perform that action at this time.
0 commit comments