Bug 1685034 - Add the task-id to the clang version. r=dmajor

Differential Revision: https://phabricator.services.mozilla.com/D100875
This commit is contained in:
Mike Hommey 2021-01-07 17:07:15 +00:00
parent 93e412f7d4
commit cf3c69ebe4

View File

@ -308,6 +308,10 @@ def build_one_stage(
"-DLLVM_TOOL_LIBCXX_BUILD=%s" % ("ON" if build_libcxx else "OFF"),
"-DLLVM_ENABLE_BINDINGS=OFF",
]
if "TASK_ID" in os.environ:
cmake_args += [
"-DCLANG_REPOSITORY_STRING=taskcluster-%s" % os.environ["TASK_ID"],
]
if not is_final_stage:
cmake_args += ["-DLLVM_ENABLE_PROJECTS=clang;compiler-rt"]
if build_wasm: