Lines Matching +full:clang +full:- +full:format
9 # http://www.apache.org/licenses/LICENSE-2.0
18 """Update the prebuilt clang from the build server."""
32 BRANCH = 'aosp-llvm'
49 '-b', '--bug', type=int,
53 '--use-current-branch', action='store_true',
88 return 'manifest_{}.xml'.format(build_number)
95 'clang-1234-linux-x86.tar.bz2'
97 return 'clang-{}-{}-x86.tar.bz2'.format(build_number, host)
111 url_base = 'https://android-build-uber.corp.google.com'
112 path = 'builds/{branch}-{build_host}-{build_name}/{build_num}'.format(
118 url = '{}/{}/{}'.format(url_base, path, pkg_name)
123 print('Downloading {} to {}'.format(url, out_file_path))
125 ['sso_client', '--location', '--request_timeout', TIMEOUT, url],
131 cmd = ['tar', 'xf', package, '-C', install_dir]
132 print('Extracting {}...'.format(package))
137 host_tag = host + '-x86'
138 prebuilt_dir = android_path('prebuilts/clang/host', host_tag)
143 ['repo', 'start', 'update-clang-{}'.format(build_number), '.'])
148 install_subdir = 'clang-' + build_number
161 'Update prebuilt Clang to build {}.'.format(build_number),
163 'Built from version {}.'.format(version),
167 message_lines.append('Bug: http://b/{}'.format(bug))
169 subprocess.check_call(['git', 'commit', '-m', message])