author | Daniel Bermond
<dbermond@archlinux.org> 2019-11-10 18:55:57 UTC |
committer | Daniel Bermond
<dbermond@archlinux.org> 2019-11-10 18:55:57 UTC |
parent | 5abe1522a6dbfafaa4b389d2f9c7423f89a227e4 |
PKGBUILD | +6 | -1 |
diff --git a/PKGBUILD b/PKGBUILD index 51cbd0b..e5eee23 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ _srcname=SPIRV-LLVM-Translator 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 @@ prepare() { 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