@@ -9,10 +9,10 @@ IFS=$'\n\t'
9
9
source " $( cd " $( dirname " $0 " ) " && pwd) /../shared.sh"
10
10
11
11
if isMacOS; then
12
- curl -f " ${MIRRORS_BASE} /clang%2Bllvm-7 .0.0-x86_64-apple- darwin.tar.xz" | tar xJf -
12
+ curl -f " ${MIRRORS_BASE} /clang%2Bllvm-9 .0.0-x86_64-darwin-apple .tar.xz" | tar xJf -
13
13
14
- ciCommandSetEnv CC " $( pwd) /clang+llvm-7 .0.0-x86_64-apple- darwin/bin/clang"
15
- ciCommandSetEnv CXX " $( pwd) /clang+llvm-7 .0.0-x86_64-apple- darwin/bin/clang++"
14
+ ciCommandSetEnv CC " $( pwd) /clang+llvm-9 .0.0-x86_64-darwin-apple /bin/clang"
15
+ ciCommandSetEnv CXX " $( pwd) /clang+llvm-9 .0.0-x86_64-darwin-apple /bin/clang++"
16
16
17
17
# Configure `AR` specifically so rustbuild doesn't try to infer it as
18
18
# `clang-ar` by accident.
@@ -27,17 +27,18 @@ elif isWindows && [[ -z ${MINGW_URL+x} ]]; then
27
27
# Note that the LLVM installer is an NSIS installer
28
28
#
29
29
# Original downloaded here came from
30
- # http://releases.llvm.org/7.0.0/LLVM-7.0.0-win64.exe
31
- # That installer was run through `wine` on Linux and then the resulting
32
- # installation directory (found in `$HOME/.wine/drive_c/Program Files/LLVM`) was
33
- # packaged up into a tarball. We've had issues otherwise that the installer will
34
- # randomly hang, provide not a lot of useful information, pollute global state,
35
- # etc. In general the tarball is just more confined and easier to deal with when
36
- # working with various CI environments.
30
+ # http://releases.llvm.org/9.0.0/LLVM-9.0.0-win64.exe
31
+ # That installer was run through `wine ./installer.exe /S /NCRC` on Linux
32
+ # and then the resulting installation directory (found in
33
+ # `$HOME/.wine/drive_c/Program Files/LLVM`) was packaged up into a tarball.
34
+ # We've had issues otherwise that the installer will randomly hang, provide
35
+ # not a lot of useful information, pollute global state, etc. In general the
36
+ # tarball is just more confined and easier to deal with when working with
37
+ # various CI environments.
37
38
38
39
mkdir -p citools
39
40
cd citools
40
- curl -f " ${MIRRORS_BASE} /LLVM-7 .0.0-win64.tar.gz" | tar xzf -
41
+ curl -f " ${MIRRORS_BASE} /LLVM-9 .0.0-win64.tar.gz" | tar xzf -
41
42
ciCommandSetEnv RUST_CONFIGURE_ARGS \
42
43
" ${RUST_CONFIGURE_ARGS} --set llvm.clang-cl=$( pwd) /clang-rust/bin/clang-cl.exe"
43
44
fi
0 commit comments