From a47b88f665bceb058ab835f896dd0645d6c559df Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 5 Oct 2024 01:24:20 +0200 Subject: spirv-llvm-translator: add new package at 19.1.0 --- extra/spirv-llvm-translator/build | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 extra/spirv-llvm-translator/build (limited to 'extra/spirv-llvm-translator/build') 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 -- cgit v1.2.3