2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00
repo/extra/spirv-llvm-translator/build

12 lines
232 B
Plaintext
Raw Normal View History

2024-09-07 12:47:21 -06:00
#!/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