Install LLVM for macOS from lumen/llvm-project
@@ -37,10 +37,16 @@ task:
osx_instance:
image: mojave-base
env:
+ LLVM_SYS_90_PREFIX: ${HOME}/clang+llvm-10.0.0-x86_64-apple-darwin19.3.0
PATH: ${HOME}/.cargo/bin:${PATH}
macos_x86_64_cargo_cache:
folder: $CARGO_HOME/registry
fingerprint_script: cat Cargo.lock
+ install_llvm_script: |
+ pushd $HOME
+ wget https://github.com/lumen/llvm-project/releases/download/lumen-10.0.0-dev_2020-03-04/clang+llvm-10.0.0-x86_64-apple-darwin19.3.0.tar.gz
+ tar xvfz clang+llvm-10.0.0-x86_64-apple-darwin19.3.0.tar.gz
+ popd
install_rustup_script: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=nightly-2019-12-19
<<: *x86_64_TASK_TEMPLATE
@@ -128,10 +134,16 @@ task:
osx_instance:
image: mojave-base
env:
+ LLVM_SYS_90_PREFIX: ${HOME}/clang+llvm-10.0.0-x86_64-apple-darwin19.3.0
PATH: ${HOME}/.cargo/bin:${PATH}
macos_wasm32_cargo_cache:
folder: $CARGO_HOME/registry
fingerprint_script: cat Cargo.lock
+ install_llvm_script: |
+ pushd $HOME
+ wget https://github.com/lumen/llvm-project/releases/download/lumen-10.0.0-dev_2020-03-04/clang+llvm-10.0.0-x86_64-apple-darwin19.3.0.tar.gz
+ tar xvfz clang+llvm-10.0.0-x86_64-apple-darwin19.3.0.tar.gz
+ popd
install_rustup_script: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=nightly-2019-12-19
install_wasm32_target_script: rustup target add wasm32-unknown-unknown --toolchain nightly
