forked from ports/compat-32
spirv-tools-32: use system spirv-headers
This commit is contained in:
parent
d6eef48db3
commit
ab383d226b
@ -1,6 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/compat-32.pub
|
||||
RWSwxGo/zH7eXVJmQFBa4OHxAkXo/bYv0mHDZ6wKrXYYTJhH1qzOL1OoFUdAZqeCyHg6gU1a1J+U8C8FzcQob9ikf9HbbhjKUg4=
|
||||
SHA256 (Pkgfile) = 9cab11a3c3a37e5fba063d150ace2e18f6914233868baeb82a0b102581ffe81a
|
||||
RWSwxGo/zH7eXb0jqpS/1nLZ1umF1RQPQbJ1oJ4f2+oJKFsuzaABIgj8KsXb/vwIr0Z9xcmDVKxtHJrtezBE9yt5EtdhTIfkVgc=
|
||||
SHA256 (Pkgfile) = 1e7d64add2a21c307fe7b50691f3685195f2d83442c608ac3ffd05bc87186754
|
||||
SHA256 (.footprint) = 18875d5e13ef976316368e5988ca8109818607102812599965f9dbfd4675b9ca
|
||||
SHA256 (SPIRV-Tools-v2019.2.tar.gz) = 1fde9d2a0df920a401441cd77253fc7b3b9ab0578eabda8caaaceaa6c7638440
|
||||
SHA256 (2434b89345a50c018c84f42a310b0fad4f3fd94f.tar.gz) = 9213bc1c80ca176b7bf79e2b138c7708d8babc0b069a06ac4fa9ef467fa9322a
|
||||
|
@ -5,15 +5,10 @@
|
||||
|
||||
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
|
||||
)
|
||||
release=2
|
||||
source=(https://github.com/KhronosGroup/SPIRV-Tools/archive//v$version/SPIRV-Tools-v$version.tar.gz)
|
||||
|
||||
build() {
|
||||
mv SPIRV-Headers-$_commit SPIRV-Headers
|
||||
cd SPIRV-Tools-$version
|
||||
|
||||
mkdir build
|
||||
@ -24,7 +19,7 @@ build() {
|
||||
-DCMAKE_INSTALL_LIBDIR=lib32 \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DSPIRV_WERROR=Off \
|
||||
-DSPIRV-Headers_SOURCE_DIR=${SRC}/SPIRV-Headers
|
||||
-DSPIRV-Headers_SOURCE_DIR=/usr
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
Loading…
x
Reference in New Issue
Block a user