File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -15,20 +15,21 @@ branches:
1515 - ocl-open-110
1616
1717env :
18+ global :
19+ - LLVM_VERSION=11
1820 matrix :
1921 - BUILD_TYPE=Release
2022 - BUILD_TYPE=Debug
2123
22- addons :
23- apt :
24- sources :
25- - sourceline : ' deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main'
26- key_url : ' https://apt.llvm.org/llvm-snapshot.gpg.key'
27- - ubuntu-toolchain-r-test
28- packages :
29- llvm-11-dev
30- llvm-11-tools
31- libclang-11-dev
24+ before-install :
25+ - curl -L "https://apt.llvm.org/llvm-snapshot.gpg.key" | sudo apt-key add -
26+ - echo "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main" | sudo tee -a ${TRAVIS_ROOT}/etc/apt/sources.list
27+ - sudo apt-get update
28+ - sudo apt-get -yq --no-install-suggests --no-install-recommends install
29+ llvm-${LLVM_VERSION}-dev
30+ llvm-${LLVM_VERSION}-tools
31+ libclang-${LLVM_VERSION}-dev
32+ libclang-cpp${LLVM_VERSION}-dev
3233
3334install :
3435 - git clone https://github.com/KhronosGroup/SPIRV-LLVM-Translator.git spirv-llvm-translator
You can’t perform that action at this time.
0 commit comments