Skip to content

Commit e1f0dcd

Browse files
committed
apply spirv patches
1 parent a6bd68a commit e1f0dcd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ addons:
3333

3434
install:
3535
- git clone https://github.com/KhronosGroup/SPIRV-LLVM-Translator.git -b llvm_release_80 spirv-llvm-translator
36-
- mkdir spirv-llvm-translator/build && cd spirv-llvm-translator/build
36+
- cd spirv-llvm-translator
37+
- for patch in `ls ../patches/spirv/*.patch`; do echo $patch; git apply $patch; done
38+
- mkdir build && cd build
3739
- cmake .. -DCMAKE_INSTALL_PREFIX=./install -DBUILD_SHARED_LIBS=ON -DLLVM_BUILD_TOOLS=ON -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
3840
- make -j`nproc` && make install
3941
- cd ../../

0 commit comments

Comments
 (0)