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 +++++++++++ extra/spirv-llvm-translator/checksums | 2 ++ extra/spirv-llvm-translator/depends | 3 +++ extra/spirv-llvm-translator/meta | 3 +++ extra/spirv-llvm-translator/sources | 1 + extra/spirv-llvm-translator/version | 1 + 6 files changed, 21 insertions(+) create mode 100755 extra/spirv-llvm-translator/build create mode 100644 extra/spirv-llvm-translator/checksums create mode 100644 extra/spirv-llvm-translator/depends create mode 100644 extra/spirv-llvm-translator/meta create mode 100644 extra/spirv-llvm-translator/sources create mode 100644 extra/spirv-llvm-translator/version (limited to 'extra/spirv-llvm-translator') 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 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 -- cgit v1.2.3