Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/69942 )
Change subject: util/crossgcc/buildgcc: Disable LLVM_INCLUDE_{TESTS,EXAMPLES} ......................................................................
util/crossgcc/buildgcc: Disable LLVM_INCLUDE_{TESTS,EXAMPLES}
Building of LLVM tests and examples is enabled by default, but they are not necessary. Thus disable them.
Change-Id: I58b09e276967e97856da65e5876b27f0bae3f0cc Signed-off-by: Felix Singer felixsinger@posteo.net Reviewed-on: https://review.coreboot.org/c/coreboot/+/69942 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Angel Pons th3fanbus@gmail.com Reviewed-by: Elyes Haouas ehaouas@noos.fr --- M util/crossgcc/buildgcc 1 file changed, 19 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Elyes Haouas: Looks good to me, approved Angel Pons: Looks good to me, but someone else must approve
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 4662742..6eeb6e7 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -849,6 +849,8 @@ -DCLANG_VENDOR="coreboot toolchain v$CROSSGCC_VERSION - " \ -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt" \ -DLLVM_INCLUDE_BENCHMARKS="OFF" \ + -DLLVM_INCLUDE_TESTS="OFF" \ + -DLLVM_INCLUDE_EXAMPLES="OFF" \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_TARGETS_TO_BUILD="AArch64;ARM;PowerPC;RISCV;X86" \ ../llvm || touch .failed