summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Coffin2019-09-05 16:28:14 -0600
committerMatt Coffin2019-09-05 16:28:14 -0600
commit02ba4fb98a6ea249d3b0d96918a1036b43cc01c4 (patch)
treeab28e0168c93191663a8919c2b0037eaa4448a6a
parentc45557e7a5f31c9c6afec02b12730a69716e1c04 (diff)
downloadaur-02ba4fb98a6ea249d3b0d96918a1036b43cc01c4.tar.gz
Add spvgen
-rw-r--r--PKGBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d67903b6f13..16bbfb29efe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=amdvlk-git
pkgver=v.v.2019.Q3.5.r1.a14d42d
-pkgrel=1
+pkgrel=2
pkgdesc="AMD's standalone Vulkan driver"
arch=(x86_64)
url="https://github.com/GPUOpen-Drivers"
@@ -79,6 +79,13 @@ build() {
cd builds/Release64
ninja
msg "building xgl finished!"
+
+ msg "building spvgen"
+ pushd ../../../spvgen/external > /dev/null
+ python2 fetch_external_sources.py
+ popd > /dev/null
+ ninja spvgen
+ msg "building spvgen finished!"
popd > /dev/null
#msg "building spvgen"
@@ -98,7 +105,7 @@ package() {
install -m755 -d "${pkgdir}"/usr/share/licenses/amdvlk-git
install -m755 -d "${pkgdir}"/etc/amd
- install -D -t "$pkgdir/usr/lib" drivers/xgl/builds/Release64/icd/amdvlk64.so
+ install -D -t "$pkgdir/usr/lib" drivers/xgl/builds/Release64/icd/amdvlk64.so drivers/xgl/builds/Release64/spvgen/spvgen.so
install -D -m644 -t "${pkgdir}/usr/share/vulkan/icd.d" drivers/AMDVLK/json/Redhat/amd_icd64.json
install -D -m644 -t "${pkgdir}/usr/share/licenses/amdvlk-git" drivers/AMDVLK/LICENSE.txt