summary refs log tree commit diff
path: root/src/bootstrap/defaults
diff options
context:
space:
mode:
authorAntoine Martin <antoine97.martin@gmail.com>2020-10-13 16:57:58 +0200
committerAntoine Martin <antoine97.martin@gmail.com>2020-10-13 18:00:25 +0200
commitab614b0f010e68b74b8f8a6ce26d53302fb4f14a (patch)
tree9786d9ed190b6c02daa5110b3c7c108d1f6cae62 /src/bootstrap/defaults
parentd772879df35b8ce28e9533676b277ec43a73e6eb (diff)
downloadrust-ab614b0f010e68b74b8f8a6ce26d53302fb4f14a.tar.gz
rust-ab614b0f010e68b74b8f8a6ce26d53302fb4f14a.zip
Implement "if-available" option for download-ci-llvm
Diffstat (limited to 'src/bootstrap/defaults')
-rw-r--r--src/bootstrap/defaults/config.compiler.toml5
-rw-r--r--src/bootstrap/defaults/config.library.toml5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/bootstrap/defaults/config.compiler.toml b/src/bootstrap/defaults/config.compiler.toml
index 4772de8a2cb..0ca928843d5 100644
--- a/src/bootstrap/defaults/config.compiler.toml
+++ b/src/bootstrap/defaults/config.compiler.toml
@@ -6,3 +6,8 @@
 debug-logging = true
 # This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower.
 incremental = true
+
+[llvm]
+# Will download LLVM from CI if available on your platform (Linux only for now)
+# https://github.com/rust-lang/rust/issues/77084 tracks support for more platforms
+download-ci-llvm = "if-available"
diff --git a/src/bootstrap/defaults/config.library.toml b/src/bootstrap/defaults/config.library.toml
index e4316f4d864..9874fdb767f 100644
--- a/src/bootstrap/defaults/config.library.toml
+++ b/src/bootstrap/defaults/config.library.toml
@@ -8,3 +8,8 @@ bench-stage = 0
 [rust]
 # This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower.
 incremental = true
+
+[llvm]
+# Will download LLVM from CI if available on your platform (Linux only for now)
+# https://github.com/rust-lang/rust/issues/77084 tracks support for more platforms
+download-ci-llvm = "if-available"