about summary refs log tree commit diff
path: root/src/ci/scripts
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2022-07-31 17:45:15 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2022-08-20 09:47:59 -0400
commit6c7f30114515111c53224e2de1434a324f73c0e8 (patch)
tree08f19bc37043beac017217fde70a2bf7cfa20d30 /src/ci/scripts
parent8ca14aa7ff9d0c4adde9c9058acbb2edf59bb05f (diff)
downloadrust-6c7f30114515111c53224e2de1434a324f73c0e8.tar.gz
rust-6c7f30114515111c53224e2de1434a324f73c0e8.zip
Enable downloading prebuilt LLVM in test builders
See comment added for details on the test builder restriction. This is primarily
intended for macOS CI, but is likely to be a slight win on other builders too.
Diffstat (limited to 'src/ci/scripts')
-rwxr-xr-xsrc/ci/scripts/install-clang.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ci/scripts/install-clang.sh b/src/ci/scripts/install-clang.sh
index 0bc8a0389a8..02b72625d6e 100755
--- a/src/ci/scripts/install-clang.sh
+++ b/src/ci/scripts/install-clang.sh
@@ -61,6 +61,10 @@ elif isWindows && [[ ${CUSTOM_MINGW-0} -ne 1 ]]; then
     7z x -oclang-rust/ "LLVM-${LLVM_VERSION}-win64.exe"
     ciCommandSetEnv RUST_CONFIGURE_ARGS \
         "${RUST_CONFIGURE_ARGS} --set llvm.clang-cl=$(pwd)/clang-rust/bin/clang-cl.exe"
+
+    # Disable downloading CI LLVM on this builder;
+    # setting up clang-cl just above conflicts with the default if-available option.
+    ciCommandSetEnv NO_DOWNLOAD_CI_LLVM 1
 fi
 
 if isWindows; then