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

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

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

commit a911f53768fc7d8e12573cda04ce2612c0c57013
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: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:



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