spirv-llvm-translator-32: -> 19.1.2
This commit is contained in:
parent
38db94fdac
commit
351147df88
0
spirv-llvm-translator-32/.32bit
Normal file
0
spirv-llvm-translator-32/.32bit
Normal file
5
spirv-llvm-translator-32/.footprint
Normal file
5
spirv-llvm-translator-32/.footprint
Normal file
@ -0,0 +1,5 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib32/
|
||||
-rw-r--r-- root/root usr/lib32/libLLVMSPIRVLib.a
|
||||
drwxr-xr-x root/root usr/lib32/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib32/pkgconfig/LLVMSPIRVLib.pc
|
5
spirv-llvm-translator-32/.signature
Normal file
5
spirv-llvm-translator-32/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/compat-32.pub
|
||||
RWSwxGo/zH7eXZ/DKd2uQEFFKJQqNK6RTn+fE4TD6LUSgkG2Rn7VDB54fE6YWG/HGzYdabLjW+45e5lFMXc9oH1A4ojQ96QPAgw=
|
||||
SHA256 (Pkgfile) = 3c6e8e367cced7d07ca5bbbda31720b2b7dca8d3f55cb6364dbefa84cb5cc35f
|
||||
SHA256 (.footprint) = 443469f101db243475f988da3d7a09640035c4cd792636a39ff044c3b6641d70
|
||||
SHA256 (spirv-llvm-translator-19.1.2.tar.gz) = 67be5fd119a0a575b82289f870064198484eb41f0591f557166a6c1884c906bf
|
34
spirv-llvm-translator-32/Pkgfile
Normal file
34
spirv-llvm-translator-32/Pkgfile
Normal file
@ -0,0 +1,34 @@
|
||||
# Description: A tool and a library for bi-directional translation between SPIR-V and LLVM IR
|
||||
# URL: https://github.com/KhronosGroup/SPIRV-LLVM-Translator
|
||||
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
||||
# Depends on: llvm-32 spirv-tools-32
|
||||
|
||||
name=spirv-llvm-translator-32
|
||||
version=19.1.2
|
||||
release=1
|
||||
source=(https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/v$version/spirv-llvm-translator-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
prt-get isinst ccache && PATH="$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')"
|
||||
|
||||
cmake -S SPIRV-LLVM-Translator-$version -B build -G Ninja $PKGMK_SLT \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib32 \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||
-D CMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||
-D CMAKE_SKIP_RPATH=ON \
|
||||
-D LLVM_BUILD_TOOLS=ON \
|
||||
-D CCACHE_ALLOWED=OFF \
|
||||
-D LLVM_DIR=/usr/lib32/cmake/llvm \
|
||||
-D LLVM_SPIRV_BUILD_EXTERNAL=YES \
|
||||
-D LLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr/include/spirv \
|
||||
-D FETCHCONTENT_FULLY_DISCONNECTED=ON \
|
||||
-Wno-dev
|
||||
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
|
||||
rm -r $PKG/usr/{bin,include}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user