Reviewers: Benedikt Meurer,

Message:
PTAL

Description:
Make gold plugin download more robust.

BUG=chromium:515782
LOG=n

Please review this at https://codereview.chromium.org/1321943004/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+4, -0 lines):
  M build/download_gold_plugin.py


Index: build/download_gold_plugin.py
diff --git a/build/download_gold_plugin.py b/build/download_gold_plugin.py
index ba9ae5ca7f78cc0e8c55893a0be8b6a43d491c68..8c7aac741695c158cff040c29a306afaa69a69ba 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)



--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to