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

Unified Diff: build/download_gold_plugin.py

Issue 1321943004: Make gold plugin download more robust. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Meh Created 5 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/download_gold_plugin.py
diff --git a/build/download_gold_plugin.py b/build/download_gold_plugin.py
index ba9ae5ca7f78cc0e8c55893a0be8b6a43d491c68..b8131fd449d7e279fa54185eb68bed42b036e99a 100755
--- a/build/download_gold_plugin.py
+++ b/build/download_gold_plugin.py
@@ -57,6 +57,10 @@ def main():
print 'Skipping gold plugin download. File present and clang up to date.'
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
remote_path = '%s/%s' % (CLANG_BUCKET, targz_name)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698