forked from ports/compat-32
spirv-tools-32: initial import
This commit is contained in:
parent
90f436a7bd
commit
068cfaec35
0
spirv-tools-32/.32bit
Normal file
0
spirv-tools-32/.32bit
Normal file
10
spirv-tools-32/.footprint
Normal file
10
spirv-tools-32/.footprint
Normal file
@ -0,0 +1,10 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib32/
|
||||
-rw-r--r-- root/root usr/lib32/libSPIRV-Tools-link.a
|
||||
-rw-r--r-- root/root usr/lib32/libSPIRV-Tools-opt.a
|
||||
-rw-r--r-- root/root usr/lib32/libSPIRV-Tools-reduce.a
|
||||
-rwxr-xr-x root/root usr/lib32/libSPIRV-Tools-shared.so
|
||||
-rw-r--r-- root/root usr/lib32/libSPIRV-Tools.a
|
||||
drwxr-xr-x root/root usr/lib32/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib32/pkgconfig/SPIRV-Tools-shared.pc
|
||||
-rw-r--r-- root/root usr/lib32/pkgconfig/SPIRV-Tools.pc
|
6
spirv-tools-32/.signature
Normal file
6
spirv-tools-32/.signature
Normal file
@ -0,0 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/compat-32.pub
|
||||
RWSwxGo/zH7eXVJmQFBa4OHxAkXo/bYv0mHDZ6wKrXYYTJhH1qzOL1OoFUdAZqeCyHg6gU1a1J+U8C8FzcQob9ikf9HbbhjKUg4=
|
||||
SHA256 (Pkgfile) = 9cab11a3c3a37e5fba063d150ace2e18f6914233868baeb82a0b102581ffe81a
|
||||
SHA256 (.footprint) = 18875d5e13ef976316368e5988ca8109818607102812599965f9dbfd4675b9ca
|
||||
SHA256 (SPIRV-Tools-v2019.2.tar.gz) = 1fde9d2a0df920a401441cd77253fc7b3b9ab0578eabda8caaaceaa6c7638440
|
||||
SHA256 (2434b89345a50c018c84f42a310b0fad4f3fd94f.tar.gz) = 9213bc1c80ca176b7bf79e2b138c7708d8babc0b069a06ac4fa9ef467fa9322a
|
33
spirv-tools-32/Pkgfile
Normal file
33
spirv-tools-32/Pkgfile
Normal file
@ -0,0 +1,33 @@
|
||||
# Description: API and commands for processing SPIR-V modules
|
||||
# URL: https://www.khronos.org/vulkan/
|
||||
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
||||
# Depends on: spirv-tools
|
||||
|
||||
name=spirv-tools-32
|
||||
version=2019.2
|
||||
_commit=2434b89345a50c018c84f42a310b0fad4f3fd94f
|
||||
release=1
|
||||
source=(
|
||||
https://github.com/KhronosGroup/SPIRV-Tools/archive//v$version/SPIRV-Tools-v$version.tar.gz
|
||||
https://github.com/KhronosGroup/SPIRV-Headers/archive/$_commit.tar.gz
|
||||
)
|
||||
|
||||
build() {
|
||||
mv SPIRV-Headers-$_commit SPIRV-Headers
|
||||
cd SPIRV-Tools-$version
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib32 \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DSPIRV_WERROR=Off \
|
||||
-DSPIRV-Headers_SOURCE_DIR=${SRC}/SPIRV-Headers
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
rm -r $PKG/usr/{bin,include}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user