Date: Saturday, January 7, 2023 @ 21:50:48
  Author: tpkessler
Revision: 1381846

hsa-rocr: Add -DNDEBUG to silence warnings on optional libraries

Modified:
  hsa-rocr/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-07 21:50:13 UTC (rev 1381845)
+++ PKGBUILD    2023-01-07 21:50:48 UTC (rev 1381846)
@@ -7,7 +7,7 @@
 
 pkgname=hsa-rocr
 pkgver=5.4.1
-pkgrel=2
+pkgrel=3
 pkgdesc='HSA Runtime API and runtime for ROCm'
 arch=('x86_64')
 url='https://rocmdocs.amd.com/en/latest/Installation_Guide/ROCR-Runtime.html'
@@ -21,6 +21,9 @@
 options=(!lto)
 
 build() {
+  # Silence warnings on optional libraries,
+  # 
https://github.com/RadeonOpenCompute/ROCR-Runtime/issues/89#issuecomment-613788944
+  CXXFLAGS="$CXXFLAGS -DNDEBUG" \
   cmake \
     -Wno-dev \
     -B build \

Reply via email to