Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2021 18:51:08 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ef7bf361d777 - main - devel/intel-graphics-compiler: don't build with -g by default
Message-ID:  <202108201851.17KIp8pT063622@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ef7bf361d7778274cb5dbcb40a5ce71cec77d709

commit ef7bf361d7778274cb5dbcb40a5ce71cec77d709
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-08-20 18:27:35 +0000
Commit:     Jan Beich <jbeich@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108201851.17KIp8pT063622>