about summary refs log tree commit diff
path: root/src/ci
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2020-09-30 20:56:09 +0200
committerGitHub <noreply@github.com>2020-09-30 20:56:09 +0200
commita4dc8dae02ad78499c0c176227eb39071e1d0dd2 (patch)
tree9564e2df99aacad034983979fca33ade4260f950 /src/ci
parent7ad03dd91df96335551384f7ca220b20922e2f15 (diff)
parent9340ee4380dcc9b81e0afb1ef5518730b064a78a (diff)
downloadrust-a4dc8dae02ad78499c0c176227eb39071e1d0dd2.tar.gz
rust-a4dc8dae02ad78499c0c176227eb39071e1d0dd2.zip
Rollup merge of #77280 - petrochenkov:llvmcomp, r=Mark-Simulacrum
Ensure that all LLVM components requested by tests are available on CI

Addresses https://github.com/rust-lang/rust/pull/75064#issuecomment-667722652

I used an environment variable because passing a command line option all the way from CI to compiletest would be just too much hassle for this task.
I added a new variable, but any of the already existing ones defined by CI could be used instead.
r? @Mark-Simulacrum
Diffstat (limited to 'src/ci')
-rwxr-xr-xsrc/ci/run.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ci/run.sh b/src/ci/run.sh
index 5231aa2e766..181a7fcb732 100755
--- a/src/ci/run.sh
+++ b/src/ci/run.sh
@@ -104,6 +104,8 @@ if [ "$RUST_RELEASE_CHANNEL" = "nightly" ] || [ "$DIST_REQUIRE_ALL_TOOLS" = "" ]
     RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-missing-tools"
 fi
 
+export COMPILETEST_NEEDS_ALL_LLVM_COMPONENTS=1
+
 # Print the date from the local machine and the date from an external source to
 # check for clock drifts. An HTTP URL is used instead of HTTPS since on Azure
 # Pipelines it happened that the certificates were marked as expired.