Skip to content

Commit

Permalink
Fixup LLVM Env Vars for LLVM 10
Browse files Browse the repository at this point in the history
  • Loading branch information
iwillspeak committed Oct 3, 2020
1 parent 0681d8a commit 98ae32a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ jobs:
LLVM9:
llvm_tag: 'llvm\@9'
features: 'llvm-9'
llvm_ver: '90'
LLVM10:
llvm_tag: 'llvm'
features: 'llvm-10'
llvm_ver: '100'
steps:
- script: 'brew install $(llvm_tag)'
displayName: Brew install LLVM
Expand All @@ -24,8 +26,8 @@ jobs:
- script: |
export PATH=/usr/local/bin:$PATH # Local bin (brew)
source ~/.cargo/env
export LLVM_SYS_90_PREFIX=/usr/local/opt/$(llvm_tag)
export LLVM_CONFIG_PATH=${LLVM_SYS_90_PREFIX}/bin/llvm-config
export LLVM_SYS_$(llvm_ver)_PREFIX=/usr/local/opt/$(llvm_tag)
export LLVM_CONFIG_PATH=${LLVM_SYS_$(llvm_ver)_PREFIX}/bin/llvm-config
cargo install just
./build.sh features=$(features) test
displayName: './build.sh test'
Expand Down

0 comments on commit 98ae32a

Please sign in to comment.