1
0
forked from ports/opt

[notify] spirv-tools: -> rebuild using system spirv-headers, new dependency spirv-headers

This commit is contained in:
Danny Rawlins 2019-05-15 00:15:44 +10:00
parent 453912670e
commit 2686ec37e5
2 changed files with 6 additions and 12 deletions

View File

@ -1,6 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/RbLsgDYehb7e03j0h1VsuHrFZCnLG2YJg7ZivPTsJ4UxnZiAOidBPr/MuI0VPDDMZ6EDS4pUyKaLXWBpvyGzA4=
SHA256 (Pkgfile) = bcf01c392a7f8094267a5277205d46b2af64713c5bf7b18ea765aeff3fa79b4c
RWSE3ohX2g5d/e+Jknelcns7QNKVa4YXWG062jDItqdH0oOMcagitbcz8KoSczfeXNsdTih74IqXy8ZC5C+Im0lOFy/2N9Qe/wo=
SHA256 (Pkgfile) = ef3fd3b58da53ab3e0e9bc022f1ab4e02edb0bfdb4ce293733765facd9ca8d6f
SHA256 (.footprint) = 7eedf8b657a2884ff56545bbbd6b3fe09a193d07ed7c65683e6a9f0a8f78e0ce
SHA256 (SPIRV-Tools-v2019.2.tar.gz) = 1fde9d2a0df920a401441cd77253fc7b3b9ab0578eabda8caaaceaa6c7638440
SHA256 (2434b89345a50c018c84f42a310b0fad4f3fd94f.tar.gz) = 9213bc1c80ca176b7bf79e2b138c7708d8babc0b069a06ac4fa9ef467fa9322a

View File

@ -1,19 +1,14 @@
# Description: API and commands for processing SPIR-V modules
# URL: https://www.khronos.org/vulkan/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: cmake python3
# Depends on: python3 spirv-headers
name=spirv-tools
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=lib \
-DCMAKE_BUILD_TYPE=Release \
-DSPIRV_WERROR=Off \
-DSPIRV-Headers_SOURCE_DIR=${SRC}/SPIRV-Headers
-DSPIRV-Headers_SOURCE_DIR=/usr
make
make DESTDIR=$PKG install