]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
clang: disable all test targets
authorRoss Burton <ross.burton@arm.com>
Wed, 24 Sep 2025 12:08:29 +0000 (13:08 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 Sep 2025 09:57:11 +0000 (10:57 +0100)
We don't install the tests, or run them in the build tree, so tell cmake
not to generate the targets at all. This removes internal dependencies
which means we can turn off more components that we don't want.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/clang/clang_git.bb

index af934b0f6ed23ee1c80d515db2e0266c32d45fc5..aed584003fdd28f97892c1c59dce8e150fa37f38 100644 (file)
@@ -120,6 +120,7 @@ EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \
                   -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD='${LLVM_EXPERIMENTAL_TARGETS_TO_BUILD}' \
                   -DLLVM_NATIVE_TOOL_DIR=${STAGING_BINDIR_NATIVE} \
                   -DLLVM_HEADERS_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-min-tblgen \
+                  -DLLVM_INCLUDE_TESTS=OFF \
 "
 
 EXTRA_OECMAKE:append:class-nativesdk = "\