Files
poky/meta/conf/distro/include/yocto-space-optimize.inc
Khem Raj b741bca929 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>
2025-05-09 07:10:11 +01:00

11 lines
454 B
C++

# Some components have debug data and workdirs that are simply too large to be useful
# in general builds. Disable or reduce debugging for these cases to improve disk usage
# and build speed.
# With -g, llvm workdir is 40GB, llvm-staticdev is 1.3GB, llvm-dbg is 1GB
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 = ""