| Index: docs/updating_clang_format_binaries.md
|
| diff --git a/docs/updating_clang_format_binaries.md b/docs/updating_clang_format_binaries.md
|
| index 1915152799cdd00fbc01ab4f852d1136673e214b..c030518d01b592d09060b9a969b265938600ee13 100644
|
| --- a/docs/updating_clang_format_binaries.md
|
| +++ b/docs/updating_clang_format_binaries.md
|
| @@ -28,7 +28,7 @@ Windows step-by-step:
|
| # [double check you have the tools you need]
|
| where cmake.exe # You need to install this.
|
| where svn.exe # Maybe fix with: set PATH=%PATH%;D:\src\depot_tools\svn_bin
|
| -"c:\Program Files (x86)\Microsoft Visual Studio 12.0\vc\vcvarsall.bat" amd64_x86
|
| +"c:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\vcvarsall.bat" amd64_x86
|
|
|
| set CLANG_REV=198831 # You must change this value (see above)
|
|
|
| @@ -43,8 +43,8 @@ svn co http://llvm.org/svn/llvm-project/cfe/trunk@%CLANG_REV% clang
|
| cd ..\..\llvm-build
|
| set CC=cl
|
| set CXX=cl
|
| -cmake -G Ninja ..\llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_CRT_RELEASE=MT \
|
| - -DLLVM_ENABLE_ASSERTIONS=NO -DLLVM_ENABLE_THREADS=NO \
|
| +cmake -G Ninja ..\llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_CRT_RELEASE=MT ^
|
| + -DLLVM_ENABLE_ASSERTIONS=NO -DLLVM_ENABLE_THREADS=NO ^
|
| -DPYTHON_EXECUTABLE=d:\src\depot_tools\python276_bin\python.exe
|
| ninja clang-format
|
| bin\clang-format.exe --version
|
| @@ -65,7 +65,7 @@ svn co http://llvm.org/svn/llvm-project/cfe/trunk@$CLANG_REV clang
|
| cd ../../llvm-build
|
|
|
| # Option 1: with cmake
|
| -MACOSX_DEPLOYMENT_TARGET=10.9 cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
|
| +MACOSX_DEPLOYMENT_TARGET=10.9 cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
|
| -DLLVM_ENABLE_ASSERTIONS=NO -DLLVM_ENABLE_THREADS=NO ../llvm/
|
| time caffeinate ninja clang-format
|
| strip bin/clang-format
|
|
|