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') |