Lines Matching +full:clang +full:- +full:format
3 # Use of this source code is governed by a BSD-style license that can be
6 """This script takes a Clang revision as an argument, it then
8 a CL, triggers Clang Upload try bots, and tells what to do next"""
29 m = re.search("CLANG_REVISION = '([0-9]+)'", content)
31 content = re.sub("CLANG_REVISION = '[0-9]+'",
32 "CLANG_REVISION = '{}'".format(clang_revision),
34 content = re.sub("CLANG_SUB_REVISION=[0-9]+",
35 "CLANG_SUB_REVISION={}".format(clang_sub_revision),
47 parser = argparse.ArgumentParser(description='upload new clang revision')
50 help='Clang revision to build the toolchain for.')
53 help='Clang sub-revision to build the toolchain for.')
61 ["git", "rev-parse", "origin/master"], shell=is_win).strip()
62 print "Making a patch for Clang revision r{}-{}".format(
64 print "Chrome revision: {}".format(git_revision)
67 Git(["checkout", "-b", "clang-{}-{}".format(
71 commit_message = 'Ran `{}`.'.format(' '.join(sys.argv))
72 Git(["commit", "-m", "Roll clang {}:{}.\n\n{}".format(
75 Git(["cl", "upload", "-f"])
76 Git(["cl", "try", "-b", "linux_upload_clang", "-r", git_revision])
77 Git(["cl", "try", "-b", "mac_upload_clang", "-r", git_revision])
78 Git(["cl", "try", "-b", "win_upload_clang", "-r", git_revision])