about summary refs log tree commit diff
path: root/src/bootstrap/defaults
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2024-08-23 16:53:21 +0200
committerUrgau <urgau@numericable.fr>2024-09-06 17:49:45 +0200
commit5f367bbbd251b8cfb898f4d5711c9244888b1852 (patch)
treea1f1ab9e2e4d31d3dd01bb268aeab933ec09ed08 /src/bootstrap/defaults
parent17b322fa69eed7216dccc9f097eb68237cf62234 (diff)
downloadrust-5f367bbbd251b8cfb898f4d5711c9244888b1852.tar.gz
rust-5f367bbbd251b8cfb898f4d5711c9244888b1852.zip
Make `download-ci-llvm = true` check if CI llvm is available
and make it the default for the compiler profile, as to prevent
unnecessarily checking out `src/llvm-project` with `"if-unchanged"`.
Diffstat (limited to 'src/bootstrap/defaults')
-rw-r--r--src/bootstrap/defaults/config.compiler.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/defaults/config.compiler.toml b/src/bootstrap/defaults/config.compiler.toml
index 789586b58f7..147939d2047 100644
--- a/src/bootstrap/defaults/config.compiler.toml
+++ b/src/bootstrap/defaults/config.compiler.toml
@@ -27,4 +27,5 @@ assertions = false
 # Enable warnings during the LLVM compilation (when LLVM is changed, causing a compilation)
 enable-warnings = true
 # Will download LLVM from CI if available on your platform.
-download-ci-llvm = "if-unchanged"
+# If you intend to modify `src/llvm-project`, use `"if-unchanged"` or `false` instead.
+download-ci-llvm = true