about summary refs log tree commit diff
path: root/src/bootstrap/defaults
diff options
context:
space:
mode:
authorLuuuX <luuux98@163.com>2023-10-18 09:55:18 +0800
committerLuuuX <luuux98@163.com>2023-11-08 09:22:28 +0800
commit1b8dee19e8ddf560498e29a29b1efb62c080fa20 (patch)
tree748ab94bee7a716141f3d5dc1d5720403aabd215 /src/bootstrap/defaults
parent4e0fb98a5c41be1227845219b81ab147708fd99a (diff)
downloadrust-1b8dee19e8ddf560498e29a29b1efb62c080fa20.tar.gz
rust-1b8dee19e8ddf560498e29a29b1efb62c080fa20.zip
Fix issue #110087
Three tasks have been implemented here.

Add a new `download-ci-llvm = if-unchange` option and enable if by
default for `profile = codegen`.

Include all build artifacts by traversing the llvm-project build output,
Keep the downloadable llvm the same state as if you have just run a full
source build.

After selecting the codegen profile during ./x.py setup, the submodule
will be automatically downloaded.
Diffstat (limited to 'src/bootstrap/defaults')
-rw-r--r--src/bootstrap/defaults/config.codegen.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/defaults/config.codegen.toml b/src/bootstrap/defaults/config.codegen.toml
index 113df88d7c3..7c33ce958c9 100644
--- a/src/bootstrap/defaults/config.codegen.toml
+++ b/src/bootstrap/defaults/config.codegen.toml
@@ -10,7 +10,7 @@ assertions = true
 # enable warnings during the llvm compilation
 enable-warnings = true
 # build llvm from source
-download-ci-llvm = false
+download-ci-llvm = "if-unchanged"
 
 [rust]
 # This enables `RUSTC_LOG=debug`, avoiding confusing situations