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

Unified Diff: tools/clang/scripts/update.py

Issue 1546323004: Force clang/tot bots to do clobber builds of clang for a bit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: tools/clang/scripts/update.py
diff --git a/tools/clang/scripts/update.py b/tools/clang/scripts/update.py
index 46aa8be998689bdf63d82671f37582e461a24564..6d2a9beff646a8a47ae115506eb7eb0fc49b66c9 100755
--- a/tools/clang/scripts/update.py
+++ b/tools/clang/scripts/update.py
@@ -483,6 +483,10 @@ def UpdateClang(args):
cxxflags = ['--gcc-toolchain=' + args.gcc_toolchain]
print 'Building final compiler'
+ # TODO(thakis): Remove this after a few hours.
+ if os.path.exists(LLVM_BUILD_DIR):
+ RmTree(LLVM_BUILD_DIR)
+
if sys.platform == 'darwin':
# Build libc++.dylib while some bots are still on OS X 10.6.
libcxxbuild = os.path.join(LLVM_BUILD_DIR, 'libcxxbuild')
« 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