diff options
author | Cem Keylan <cem@ckyln.com> | 2024-10-05 01:24:20 +0200 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2024-10-05 01:24:20 +0200 |
commit | a47b88f665bceb058ab835f896dd0645d6c559df (patch) | |
tree | 53957e8436c4546b239621ea1c6b6ebc72c13d78 /extra/spirv-llvm-translator/build | |
parent | beec04402ad3b6cbe1aa09bdb6c9442a836f1ec9 (diff) | |
download | repository-a47b88f665bceb058ab835f896dd0645d6c559df.tar.gz |
spirv-llvm-translator: add new package at 19.1.0
Diffstat (limited to 'extra/spirv-llvm-translator/build')
-rwxr-xr-x | extra/spirv-llvm-translator/build | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/spirv-llvm-translator/build b/extra/spirv-llvm-translator/build new file mode 100755 index 00000000..43122323 --- /dev/null +++ b/extra/spirv-llvm-translator/build @@ -0,0 +1,11 @@ +#!/bin/sh -e + +export DESTDIR="$1" + +cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr/include/spirv \ + -DLLVM_SPIRV_INCLUDE_TESTS=OFF + +cmake --build build +cmake --install build |