diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /libs/spirv-llvm-translator | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'libs/spirv-llvm-translator')
| -rw-r--r-- | libs/spirv-llvm-translator/.footprint | 12 | ||||
| -rw-r--r-- | libs/spirv-llvm-translator/.signature | 6 | ||||
| -rw-r--r-- | libs/spirv-llvm-translator/MAKEPKG | 45 |
3 files changed, 63 insertions, 0 deletions
diff --git a/libs/spirv-llvm-translator/.footprint b/libs/spirv-llvm-translator/.footprint new file mode 100644 index 0000000..283b13e --- /dev/null +++ b/libs/spirv-llvm-translator/.footprint @@ -0,0 +1,12 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/llvm-spirv +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/LLVMSPIRVLib/ +-rw-r--r-- root/root usr/include/LLVMSPIRVLib/LLVMSPIRVExtensions.inc +-rw-r--r-- root/root usr/include/LLVMSPIRVLib/LLVMSPIRVLib.h +-rw-r--r-- root/root usr/include/LLVMSPIRVLib/LLVMSPIRVOpts.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libLLVMSPIRVLib.a +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/LLVMSPIRVLib.pc diff --git a/libs/spirv-llvm-translator/.signature b/libs/spirv-llvm-translator/.signature new file mode 100644 index 0000000..afa74b1 --- /dev/null +++ b/libs/spirv-llvm-translator/.signature @@ -0,0 +1,6 @@ +RWTZ9IduCSQ/mNvFJXQ6brk7vLWMm+wwQxbO74YTtxvISMF76KZltNz4xglPGHfjUgPzd8WNagfOBQjy5R4U+d9HtKuRZI1hJAg= + +SHA256 (MAKEPKG) = 676773c2868566ed385731c76b63443b9c46ac6955b4a9f4cc945ce9788736ac +SHA256 (.footprint) = cd463b26973c4d27d3224f5f0cc026b48489191c2610d91098c10c033d914000 +SHA256 (spirv-llvm-translator-23.1.1.tar.gz) = 9e0bf1beb0ab7edca6cd8c17fd9bbb7ce3dcd520f3e969e0485ff5b00931f929 +SHA256 (spirv-llvm-translator#23.1.1-1.pkg.tar.gz) = 4594d46ec2f4e8e0a063130fdca3599c32aa3b7283905bb4b34e71c7c39687bc diff --git a/libs/spirv-llvm-translator/MAKEPKG b/libs/spirv-llvm-translator/MAKEPKG new file mode 100644 index 0000000..2cec7f8 --- /dev/null +++ b/libs/spirv-llvm-translator/MAKEPKG @@ -0,0 +1,45 @@ +#!/bin/mkpkg +# description: SPIR-V to LLVM IR bi-directional translator +# url: https://github.com/KhronosGroup/SPIRV-LLVM-Translator + +name=spirv-llvm-translator +_name=SPIRV-LLVM-Translator +version=23.1.1 +release=1 +depends=(llvm spirv-tools spirv-headers) +makedeps=(cmake ninja) + +source=( + https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/refs/tags/v${version}.tar.gz +) +renames=( + ${name}-${version}.tar.gz +) +sha256sums=( + "9e0bf1beb0ab7edca6cd8c17fd9bbb7ce3dcd520f3e969e0485ff5b00931f929" +) + +build() { + cd ${_name}-${version} + cmake -B build -G Ninja \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_POSITION_INDEPENDENT_CODE=ON \ + -D CMAKE_SKIP_RPATH=ON \ + -D LLVM_BUILD_TOOLS=ON \ + -D LLVM_DIR=/usr/lib/cmake/llvm \ + -D LLVM_SPIRV_BUILD_EXTERNAL=YES \ + -D LLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr \ + -Wno-dev + + cmake --build build + DESTDIR=$PKG cmake --install build +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
