aboutsummaryrefslogtreecommitdiff
path: root/extra/spirv-llvm-translator
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2024-10-05 01:24:20 +0200
committerCem Keylan <cem@ckyln.com>2024-10-05 01:24:20 +0200
commita47b88f665bceb058ab835f896dd0645d6c559df (patch)
tree53957e8436c4546b239621ea1c6b6ebc72c13d78 /extra/spirv-llvm-translator
parentbeec04402ad3b6cbe1aa09bdb6c9442a836f1ec9 (diff)
downloadrepository-a47b88f665bceb058ab835f896dd0645d6c559df.tar.gz
spirv-llvm-translator: add new package at 19.1.0
Diffstat (limited to 'extra/spirv-llvm-translator')
-rwxr-xr-xextra/spirv-llvm-translator/build11
-rw-r--r--extra/spirv-llvm-translator/checksums2
-rw-r--r--extra/spirv-llvm-translator/depends3
-rw-r--r--extra/spirv-llvm-translator/meta3
-rw-r--r--extra/spirv-llvm-translator/sources1
-rw-r--r--extra/spirv-llvm-translator/version1
6 files changed, 21 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
diff --git a/extra/spirv-llvm-translator/checksums b/extra/spirv-llvm-translator/checksums
new file mode 100644
index 00000000..e272a3b8
--- /dev/null
+++ b/extra/spirv-llvm-translator/checksums
@@ -0,0 +1,2 @@
+%BLAKE3
+e87a2de2d7bb94d1f538094507bf8dfc1ca23ac48e6894f9ba7f5252655d868e SPIRV-LLVM-Translator-19.1.0.tar.gz
diff --git a/extra/spirv-llvm-translator/depends b/extra/spirv-llvm-translator/depends
new file mode 100644
index 00000000..bf5fd1b4
--- /dev/null
+++ b/extra/spirv-llvm-translator/depends
@@ -0,0 +1,3 @@
+cmake make
+llvm
+spirv-tools
diff --git a/extra/spirv-llvm-translator/meta b/extra/spirv-llvm-translator/meta
new file mode 100644
index 00000000..5b15021e
--- /dev/null
+++ b/extra/spirv-llvm-translator/meta
@@ -0,0 +1,3 @@
+description: API and commands for processing SPIR-V modules
+license: NCSA
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/extra/spirv-llvm-translator/sources b/extra/spirv-llvm-translator/sources
new file mode 100644
index 00000000..a726779b
--- /dev/null
+++ b/extra/spirv-llvm-translator/sources
@@ -0,0 +1 @@
+https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/v19.1.0/SPIRV-LLVM-Translator-19.1.0.tar.gz
diff --git a/extra/spirv-llvm-translator/version b/extra/spirv-llvm-translator/version
new file mode 100644
index 00000000..119d7b4b
--- /dev/null
+++ b/extra/spirv-llvm-translator/version
@@ -0,0 +1 @@
+19.1.0 1