Bug 1758780 - Don't build tests when building clang. r=firefox-build-system-reviewers,mhentges

We never run them, so there's no point building them.

Differential Revision: https://phabricator.services.mozilla.com/D143131
This commit is contained in:
Mike Hommey
2022-04-12 01:30:54 +00:00
parent 471fb4e2fb
commit 841a3cb7f0

View File

@@ -234,6 +234,7 @@ def build_one_stage(
"-DLLVM_ENABLE_ASSERTIONS=%s" % ("ON" if assertions else "OFF"),
"-DLLVM_ENABLE_BINDINGS=OFF",
"-DLLVM_ENABLE_CURL=OFF",
"-DLLVM_INCLUDE_TESTS=OFF",
]
if "TASK_ID" in os.environ:
cmake_args += [
@@ -252,7 +253,6 @@ def build_one_stage(
if not is_final_stage:
cmake_args += [
"-DLLVM_ENABLE_PROJECTS=clang",
"-DLLVM_INCLUDE_TESTS=OFF",
"-DLLVM_TOOL_LLI_BUILD=OFF",
]