git: ef7bf361d777 - main - devel/intel-graphics-compiler: don't build with -g by default
Jan Beich
jbeich at FreeBSD.org
Fri Aug 20 18:51:09 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ef7bf361d7778274cb5dbcb40a5ce71cec77d709
commit ef7bf361d7778274cb5dbcb40a5ce71cec77d709
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:50:41 +0000
devel/intel-graphics-compiler: don't build with -g by default
Reduces disk usage during build and install size for profiling.
---
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 f1dfd1805a1d..fa498c47df01 100644
--- a/devel/intel-graphics-compiler/Makefile
+++ b/devel/intel-graphics-compiler/Makefile
@@ -44,7 +44,9 @@ post-patch:
${WRKSRC}/IGC/cmake/igc_find_liblldELF.cmake \
${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
.include <bsd.port.mk>
More information about the dev-commits-ports-all
mailing list