aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rwxr-xr-xextra/spirv-tools/build10
-rw-r--r--extra/spirv-tools/checksums2
-rw-r--r--extra/spirv-tools/depends3
-rw-r--r--extra/spirv-tools/meta3
-rw-r--r--extra/spirv-tools/sources1
-rw-r--r--extra/spirv-tools/version1
6 files changed, 20 insertions, 0 deletions
diff --git a/extra/spirv-tools/build b/extra/spirv-tools/build
new file mode 100755
index 00000000..49e7dd3d
--- /dev/null
+++ b/extra/spirv-tools/build
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSPIRV-Headers_SOURCE_DIR=/usr
+
+cmake --build build
+cmake --install build
diff --git a/extra/spirv-tools/checksums b/extra/spirv-tools/checksums
new file mode 100644
index 00000000..d707d92f
--- /dev/null
+++ b/extra/spirv-tools/checksums
@@ -0,0 +1,2 @@
+%BLAKE3
+b200fffedab377150696c6d7962ba0a98c452155d1e83966570f1f62c3ae29b1 v2024.3.tar.gz
diff --git a/extra/spirv-tools/depends b/extra/spirv-tools/depends
new file mode 100644
index 00000000..3be6cd3a
--- /dev/null
+++ b/extra/spirv-tools/depends
@@ -0,0 +1,3 @@
+cmake make
+python make
+spirv-headers make
diff --git a/extra/spirv-tools/meta b/extra/spirv-tools/meta
new file mode 100644
index 00000000..9d1c4718
--- /dev/null
+++ b/extra/spirv-tools/meta
@@ -0,0 +1,3 @@
+description: API and commands for processing SPIR-V modules
+license: Apache-2.0
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/extra/spirv-tools/sources b/extra/spirv-tools/sources
new file mode 100644
index 00000000..32d0ac09
--- /dev/null
+++ b/extra/spirv-tools/sources
@@ -0,0 +1 @@
+https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/v2024.3.tar.gz
diff --git a/extra/spirv-tools/version b/extra/spirv-tools/version
new file mode 100644
index 00000000..bafc0d55
--- /dev/null
+++ b/extra/spirv-tools/version
@@ -0,0 +1 @@
+2024.3 1