Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: tools/clang/scripts/update.py

Issue 1908293002: Add MB configs for ClangToTLinux* bots on FYI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix var name Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/clang/scripts/update.py
diff --git a/tools/clang/scripts/update.py b/tools/clang/scripts/update.py
index 4b2d8c3b969f47d0ccba317218a9cd6c8ba21a56..3058b50a963ee8fe3c37a2ec8e30d5135c9892cb 100755
--- a/tools/clang/scripts/update.py
+++ b/tools/clang/scripts/update.py
@@ -799,6 +799,9 @@ def main():
'picks /opt/foo/bin/gcc')
parser.add_argument('--lto-gold-plugin', action='store_true',
help='build LLVM Gold plugin with LTO')
+ parser.add_argument('--llvm-force-head-revision', action='store_true',
+ help=('use the revision in the repo when printing '
+ 'the revision'))
parser.add_argument('--print-revision', action='store_true',
help='print current clang revision and exit.')
parser.add_argument('--print-clang-version', action='store_true',
@@ -842,7 +845,7 @@ def main():
global CLANG_REVISION, PACKAGE_VERSION
if args.print_revision:
- if use_head_revision:
+ if use_head_revision or args.llvm_force_head_revision:
print GetSvnRevision(LLVM_DIR)
else:
print PACKAGE_VERSION
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | tools/mb/mb.py » ('j') | tools/mb/mb.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698