From 52191f21237c52ced62daaa61f7e0aa252bf7e07 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Wed, 23 Nov 2022 10:20:11 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69942 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Elyes Haouas --- util/crossgcc/buildgcc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util/crossgcc/buildgcc') diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 4662742bb2..6eeb6e791b 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -849,6 +849,8 @@ build_LLVM() { -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 -- cgit v1.2.3