Date: Wednesday, March 8, 2023 @ 12:46:49
  Author: svenstaro
Revision: 1416831

upgpkg: intel-graphics-compiler 1:1.0.12812.26-2: Fix assertions

Modified:
  intel-graphics-compiler/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-08 12:24:21 UTC (rev 1416830)
+++ PKGBUILD    2023-03-08 12:46:49 UTC (rev 1416831)
@@ -4,7 +4,7 @@
 pkgname=intel-graphics-compiler
 epoch=1
 pkgver=1.0.12812.26
-pkgrel=1
+pkgrel=2
 pkgdesc="Intel Graphics Compiler for OpenCL"
 arch=(x86_64)
 url="https://github.com/intel/intel-graphics-compiler";
@@ -31,6 +31,8 @@
 }
 
 build() {
+  export CXXFLAGS="${CXXFLAGS/-Wp,-D_GLIBCXX_ASSERTIONS}"
+
   cmake -B build -S ${pkgname}-igc-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \

Reply via email to