Commit d9fd711a authored by machenbach's avatar machenbach Committed by Commit bot

Make gold plugin download more robust.

BUG=chromium:515782
LOG=n

Review URL: https://codereview.chromium.org/1321943004

Cr-Commit-Position: refs/heads/master@{#30583}
parent 3dc9b122
...@@ -57,6 +57,10 @@ def main(): ...@@ -57,6 +57,10 @@ def main():
print 'Skipping gold plugin download. File present and clang up to date.' print 'Skipping gold plugin download. File present and clang up to date.'
return 0 return 0
# Make sure this works on empty checkouts (i.e. clang not downloaded yet).
if not os.path.exists(LLVM_BUILD_PATH):
os.makedirs(LLVM_BUILD_PATH)
targz_name = 'llvmgold-%s.tgz' % CLANG_REVISION targz_name = 'llvmgold-%s.tgz' % CLANG_REVISION
remote_path = '%s/%s' % (CLANG_BUCKET, targz_name) remote_path = '%s/%s' % (CLANG_BUCKET, targz_name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment