clang: Space optimize clang recipes

They can consume quite a bit of build space, we don't debug them as often

(From OE-Core rev: 107c344a627c29a2c6a1a47f57d3d63e74bbb112)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2025-05-07 11:58:26 -07:00 committed by Richard Purdie
parent 5844d535e1
commit b741bca929
2 changed files with 3 additions and 3 deletions

View File

@ -3,6 +3,8 @@
# and build speed.
# With -g, llvm workdir is 40GB, llvm-staticdev is 1.3GB, llvm-dbg is 1GB
DEBUG_LEVELFLAG:pn-llvm = ""
DEBUG_LEVELFLAG:pn-clang = ""
DEBUG_LEVELFLAG:pn-clang-native = ""
DEBUG_LEVELFLAG:pn-nativesdk-clang = ""
# With -g, qemu workdir is 10GB, qemu-dbg is 363MB
DEBUG_LEVELFLAG:pn-qemu = ""

View File

@ -153,8 +153,6 @@ EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \
-DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON \
-DCMAKE_SYSTEM_NAME=Linux \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS_RELEASE='${CXXFLAGS} -DNDEBUG -g0' \
-DCMAKE_C_FLAGS_RELEASE='${CFLAGS} -DNDEBUG -g0' \
-DLLVM_ENABLE_PROJECTS='${LLVM_PROJECTS}' \
-DLLVM_BINUTILS_INCDIR=${STAGING_INCDIR} \
-DLLVM_VERSION_SUFFIX='${VER_SUFFIX}' \