Index: tools/clang/scripts/update.py |
diff --git a/tools/clang/scripts/update.py b/tools/clang/scripts/update.py |
index 7d0585966d17c3a254b1521604de6cd5b3c83539..8a7b7c7f041498782d94b63b6514c983a9b87177 100755 |
--- a/tools/clang/scripts/update.py |
+++ b/tools/clang/scripts/update.py |
@@ -15,7 +15,7 @@ import sys |
# https://code.google.com/p/chromium/wiki/UpdatingClang |
# Reverting problematic clang rolls is safe, though. |
# Note: this revision is only used for Windows. Other platforms use update.sh. |
-LLVM_WINDOWS_REVISION = '201116' |
+LLVM_WINDOWS_REVISION = '201117' |
# Path constants. (All of these should be absolute paths.) |
THIS_DIR = os.path.abspath(os.path.dirname(__file__)) |
@@ -131,11 +131,12 @@ def UpdateClang(): |
# If CMake is not on the path, try looking in a standard location. |
os.environ['PATH'] += os.pathsep + 'C:\\Program Files (x86)\\CMake 2.8\\bin' |
- RunCommand(GetVSVersion().SetupScript('x64') + |
+ # TODO(hans): Do an amd64 build once that supports building ASan runtime. |
+ RunCommand(GetVSVersion().SetupScript('x86') + |
['&&', 'cmake', '-GNinja', '-DCMAKE_BUILD_TYPE=Release', |
'-DLLVM_ENABLE_ASSERTIONS=ON', LLVM_DIR]) |
- RunCommand(GetVSVersion().SetupScript('x64') + ['&&', 'ninja', 'all']) |
+ RunCommand(GetVSVersion().SetupScript('x86') + ['&&', 'ninja', 'all']) |
WriteStampFile(LLVM_WINDOWS_REVISION) |
print 'Clang update was successful.' |