File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ language : cpp
2+
3+ os :
4+ - linux
5+
6+ # Use Ubuntu 16.04 LTS (Xenial) as the Linux testing environment.
7+ dist : xenial
8+ sudo : false
9+
10+ git :
11+ depth : 1
12+
13+ branches :
14+ only :
15+ - master
16+ - ocl-open-70
17+ - ocl-open-80
18+
19+ env :
20+ matrix :
21+ - BUILD_TYPE=Release
22+ - BUILD_TYPE=Debug
23+
24+ addons :
25+ apt :
26+ sources :
27+ - sourceline : ' deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-8 main'
28+ key_url : ' https://apt.llvm.org/llvm-snapshot.gpg.key'
29+ - ubuntu-toolchain-r-test
30+ packages :
31+ - llvm-8-tools
32+ - llvm-8-dev
33+ - libclang-8-dev
34+
35+ install :
36+ - wget https://github.com/KhronosGroup/SPIRV-LLVM-Translator/releases/download/dev-build/SPIRV-LLVM-Translator-dev-build-linux-Release.zip -O /tmp/SPIRV-LLVM-Translator-dev-build-linux-${BUILD_TYPE}.zip
37+ - unzip /tmp/SPIRV-LLVM-Translator-dev-build-linux-${BUILD_TYPE}.zip -d spirv-llvm-translator
38+
39+ compiler :
40+ - gcc
41+ - clang
42+
43+ script :
44+ - mkdir build && cd build
45+ - cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DLLVM_NO_DEAD_STRIP=ON -DLLVMSPIRV_INCLUDED_IN_LLVM=OFF -DSPIRV_TRANSLATOR_DIR=./spirv-llvm-translator -DCMAKE_INSTALL_PREFIX=./install ..
46+ - make install
Original file line number Diff line number Diff line change 1+ [ ![ Build Status] ( https://travis-ci.com/intel/opencl-clang.svg?branch=ocl-open-80 )] ( https://travis-ci.com/intel/opencl-clang )
2+
13Common clang is a thin wrapper library around clang. Common clang has
24OpenCL-oriented API and is capable to compile OpenCL C kernels to SPIR-V
35modules.
You can’t perform that action at this time.
0 commit comments