anchor.diff: -@rem Specify Visual Studio version in vsver
  -@set vsver=14
  -@set vsvar=vs%vsver%0COMNTOOLS
  -@setlocal enabledelayedexpansion
  -@set vsct=!%vsvar%!
  -@setlocal disabledelayedexpansion
  -@set vstudio=%vsct%\..\..\VC\bin
  +@set x86gcc=6.3.0
  +@set x64gcc=6.3.0
  +@set x86except=dwarf
  +@set x64except=seh
  +@set x86threading=posix
  +@set x64threading=posix
  +@set x86mingwver=5
  +@set x64mingwver=5
  +@set x86mingwrev=1
  +@set x64mingwrev=1
  +
   @set mesa=%cd%\
   @set mesaunix=%mesa:\=/%
   @set abi=x86
  
positive.code: @if /I %x64%==y @set abi=x64
  @set longabi=%abi%
  @if %abi%==x64 @set longabi=x86_64
  @set toolchain=Visual Studio %vsver%
  @if %abi%==x64 @set toolchain=%toolchain% Win64
  @set caller="%vstudio%
  @if %abi%==x86 set caller=%caller%\vcvars32.bat"
  @if %abi%==x64 set caller=%caller%\amd64\vcvars64.bat"
  @call %caller%
  @set PATH=%mesa%flexbison\;%mesa%m4\%abi%\bin\;%mesa%Python\%abi%\;%mesa%Python\%abi%\Scripts\;%mesa%cmake\%abi%\bin\;%PATH%
  
  @pip install -U mako
  @pip freeze > requirements.txt
  
negative.code: @del requirements.txt
  
  @set /p buildllvm=Begin LLVM build. Only needs to run once for each ABI and version. Proceed y/n? 
  @if /I NOT %buildllvm%==y GOTO build_dxtn
  
  :build_llvm
  @cd %mesa%llvm
  