From cf3c69ebe48e736a58678872666eba7efa031f42 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Thu, 7 Jan 2021 17:07:15 +0000 Subject: [PATCH] Bug 1685034 - Add the task-id to the clang version. r=dmajor Differential Revision: https://phabricator.services.mozilla.com/D100875 --- build/build-clang/build-clang.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/build-clang/build-clang.py b/build/build-clang/build-clang.py index 225faa4f1795..c935e3dfc8b6 100755 --- a/build/build-clang/build-clang.py +++ b/build/build-clang/build-clang.py @@ -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: