DescriptionAdd MB configs for ClangToTLinux* bots on FYI
The tip-of-tree Clang bots rely on an environment variable
called LLVM_FORCE_HEAD_REVISION to be set in order to know
to fetch the tip-of-tree Clang and use its version in the compile
time defines, rather than the checked-in version.
We don't want GN to use or depend on environment variables,
so this patch modifies the clang update script to also look at
a new command line arg, and adds a GN arg called 'llvm_force_head_revision' to cause the same effect.
However, we need to keep the env var around for `gclient runhooks`
and to keep the existing bots (and devs) working while on GYP,
and, perhaps more importantly, adding a new GYP_DEFINE that
does what we need to build/common.gypi is proving intractable,
so we hack MB to rewrite what the GYP_DEFINE would be if life
made sense back into the env var.
BUG=481692, 582737
R=thakis@chromium.org, brettw@chromium.org
Committed: https://crrev.com/909bad6afa7124f67c4890f3c1bc244179141978
Cr-Commit-Position: refs/heads/master@{#389408}
Patch Set 1 #
Total comments: 2
Patch Set 2 : use clang_revision, rename configs and ubsan_hack #Patch Set 3 : s/clang_revision/llvm_force_head_revision #Patch Set 4 : add llvm_force_head_revision MB/GYP hack #
Total comments: 4
Patch Set 5 : attempt to update w/ review feedback #Patch Set 6 : fix var name #
Total comments: 1
Messages
Total messages: 29 (13 generated)
|