[arch-commits] Commit in spirv-llvm-translator/trunk (PKGBUILD)
Daniel Bermond
dbermond at archlinux.org
Sun Nov 10 18:55:58 UTC 2019
Date: Sunday, November 10, 2019 @ 18:55:57
Author: dbermond
Revision: 526485
upgpkg: spirv-llvm-translator 9.0.0.1-2
Attempt to fix luxmark crashing issue
Modified:
spirv-llvm-translator/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-10 18:44:38 UTC (rev 526484)
+++ PKGBUILD 2019-11-10 18:55:57 UTC (rev 526485)
@@ -4,7 +4,7 @@
pkgname=${_srcname,,}
_build=1
pkgver=9.0.0.${_build}
-pkgrel=1
+pkgrel=2
pkgdesc="Tool and a library for bi-directional translation between SPIR-V and LLVM IR"
arch=(x86_64)
url="https://github.com/KhronosGroup/SPIRV-LLVM-Translator/"
@@ -19,7 +19,12 @@
build() {
cd build
+
+ # workaround to fix luxmark crashing issue: use -O0
+ # https://github.com/intel/compute-runtime/issues/218
cmake ../${_srcname}-${pkgver%.*}-${_build} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_CXX_FLAGS_RELEASE='-O0' \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-Wno-dev
More information about the arch-commits
mailing list