File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Expand file tree Collapse file tree 2 files changed +46
-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+ - llvm-toolchain-xenial-7
28+ packages :
29+ - llvm-7-tools
30+ - llvm-7-dev
31+ - libclang-7-dev
32+
33+ install :
34+ - wget https://github.com/KhronosGroup/SPIRV-LLVM-Translator/releases/download/7.0.1-1/SPIRV-LLVM-Translator-7.0.1-1-linux-Release.zip -O /tmp/SPIRV-LLVM-Translator-70-build-linux-${BUILD_TYPE}.zip
35+ - unzip /tmp/SPIRV-LLVM-Translator-70-build-linux-${BUILD_TYPE}.zip -d spirv-llvm-translator
36+
37+ compiler :
38+ - gcc
39+ - clang
40+
41+ script :
42+ - mkdir build && cd build
43+ - 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 ..
44+ - 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-70 )] ( 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