projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dc9b12
)
Make gold plugin download more robust.
author
machenbach
<machenbach@chromium.org>
Fri, 4 Sep 2015 08:52:12 +0000
(
01:52
-0700)
committer
Commit bot
<commit-bot@chromium.org>
Fri, 4 Sep 2015 08:52:30 +0000
(08:52 +0000)
BUG=chromium:515782
LOG=n
Review URL: https://codereview.chromium.org/
1321943004
Cr-Commit-Position: refs/heads/master@{#30583}
build/download_gold_plugin.py
patch
|
blob
|
history
diff --git
a/build/download_gold_plugin.py
b/build/download_gold_plugin.py
index
ba9ae5c
..
b8131fd
100755
(executable)
--- 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)