anchor.diff:  cd ..
   
   
  +set "VSCMD_START_DIR=%CD%"
   call "%vsdevcmd%" -arch=amd64
   set CC=
   set CXX=
   mkdir build64_stage0
   cd build64_stage0
  -cmake -GNinja %cmake_flags% -DPYTHON_HOME=%python64_dir% ..\llvm || exit /b
  +REM Work around VS2017 bug by using MinSizeRel.
  +cmake -GNinja %cmake_flags% -DPYTHON_HOME=%python64_dir% -DCMAKE_BUILD_TYPE=MinSizeRel ..\llvm || exit /b
   ninja all || exit /b
   ninja check || ninja check || ninja check || exit /b
   ninja check-clang || ninja check-clang || ninja check-clang ||  exit /b
  
positive.code: REM You need to modify the paths below:
  set vsdevcmd=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\Tools\VsDevCmd.bat
  
  set python32_dir=C:\Users\%USER%\AppData\Local\Programs\Python\Python35-32
  set python64_dir=C:\Users\%USER%\AppData\Local\Programs\Python\Python35
  
  set revision=%1
  set branch=trunk
  
negative.code: svn.exe export -r %revision% http://llvm.org/svn/llvm-project/clang-tools-extra/%branch% llvm/tools/clang/tools/extra || exit /b
  svn.exe export -r %revision% http://llvm.org/svn/llvm-project/lld/%branch% llvm/tools/lld || exit /b
  svn.exe export -r %revision% http://llvm.org/svn/llvm-project/compiler-rt/%branch% llvm/projects/compiler-rt || exit /b
  REM svn.exe export -r %revision% http://llvm.org/svn/llvm-project/openmp/%branch% llvm/projects/openmp || exit /b
  svn.exe export -r %revision% http://llvm.org/svn/llvm-project/lldb/%branch% llvm/tools/lldb || exit /b
  
  
  