git » glslang.git » commit b8b2006

glslang 14.1.0

author Urja (ARMLFS builder)
2024-07-12 17:47:51 UTC
committer Urja (ARMLFS builder)
2024-07-12 17:47:51 UTC
parent f7f2864ca62caa2bad26b1379196c35c55afb646

glslang 14.1.0

PKGBUILD +4 -1

diff --git a/PKGBUILD b/PKGBUILD
index dd15e67..a327d4f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,7 @@ pkgname=glslang
 pkgver=14.1.0
 pkgrel=1
 pkgdesc='OpenGL and OpenGL ES shader front end and validator'
-arch=('armv7h')
+arch=('armv7h' 'aarch64')
 url='https://github.com/KhronosGroup/glslang'
 license=('BSD-3-Clause')
 depends=('gcc-libs' 'spirv-tools')
@@ -26,6 +26,9 @@ sha256sums=('b5e4c36d60eda7613f36cfee3489c6f507156829c707e1ecd7f48ca45b435322')
 build() {
   cd ${pkgname}-${pkgver}
 
+  # NEON breakage ("Bus Error" in test suite)
+  [[ $CARCH == "armv7h" ]] && CFLAGS=`echo $CFLAGS | sed -e 's/neon-vfpv4/vfpv3/'` && CXXFLAGS="$CFLAGS"
+
   # we need fat LTO objects to not break consumers during linking
   CXXFLAGS+=" -ffat-lto-objects"
   cmake \