git: a911f53768fc - 2021Q3 - devel/intel-graphics-compiler: don't build with -g by default
Jan Beich
jbeich at FreeBSD.org
Fri Aug 20 18:52:10 UTC 2021
The branch 2021Q3 has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a911f53768fc7d8e12573cda04ce2612c0c57013
commit a911f53768fc7d8e12573cda04ce2612c0c57013
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-08-20 18:27:35 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-08-20 18:52:07 +0000
devel/intel-graphics-compiler: don't build with -g by default
Reduces disk usage during build and install size for profiling.
(cherry picked from commit ef7bf361d7778274cb5dbcb40a5ce71cec77d709)
---
devel/intel-graphics-compiler/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/devel/intel-graphics-compiler/Makefile b/devel/intel-graphics-compiler/Makefile
index 6a5ee188c8bd..f114c6756ec4 100644
--- a/devel/intel-graphics-compiler/Makefile
+++ b/devel/intel-graphics-compiler/Makefile
@@ -34,7 +34,9 @@ post-patch:
@${REINPLACE_CMD} -e '/clang-\$$/s//clang$$/' \
${WRKSRC}/IGC/cmake/igc_find_opencl_clang.cmake
# No need to abort on every benign warning enabled by default
+# Disable debug symbols unless WITH_DEBUG passed via CXXFLAGS
@${REINPLACE_CMD} -e 's/"-Werror"//; /-Werror/d' \
+ -e 's/"-g"//' \
${WRKSRC}/IGC/CMakeLists.txt
pre-configure:
More information about the dev-commits-ports-all
mailing list