diff options
| author | LuuuX <luuux98@163.com> | 2023-10-18 09:55:18 +0800 |
|---|---|---|
| committer | LuuuX <luuux98@163.com> | 2023-11-08 09:22:28 +0800 |
| commit | 1b8dee19e8ddf560498e29a29b1efb62c080fa20 (patch) | |
| tree | 748ab94bee7a716141f3d5dc1d5720403aabd215 /config.example.toml | |
| parent | 4e0fb98a5c41be1227845219b81ab147708fd99a (diff) | |
| download | rust-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 'config.example.toml')
| -rw-r--r-- | config.example.toml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/config.example.toml b/config.example.toml index 4984cf8ba1e..e5df28a49af 100644 --- a/config.example.toml +++ b/config.example.toml @@ -30,7 +30,7 @@ # # If `change-id` does not match the version that is currently running, # `x.py` will prompt you to update it and check the related PR for more details. -change-id = 117435 +change-id = 116881 # ============================================================================= # Tweaking how LLVM is compiled @@ -42,11 +42,15 @@ change-id = 117435 # Unless you're developing for a target where Rust CI doesn't build a compiler # toolchain or changing LLVM locally, you probably want to leave this enabled. # -# All tier 1 targets are currently supported; set this to `"if-available"` if -# you are not sure whether you're on a tier 1 target. +# Set this to `"if-available"` if you are not sure whether you're on a tier 1 +# target. All tier 1 targets are currently supported; # # We also currently only support this when building LLVM for the build triple. # +# Set this to `"if-unchanged"` to only download if the llvm-project have not +# been modified. (If there are no changes or if built from tarball source, +# the logic is the same as "if-available") +# # Note that many of the LLVM options are not currently supported for # downloading. Currently only the "assertions" option can be toggled. #download-ci-llvm = if rust.channel == "dev" { "if-available" } else { false } |
