anchor.diff:  set PATH=%INSTALL_DIR%\bin;%PATH%
   
   @rem Build and test Arrow C++ libraries
  -mkdir cpp\build
  -pushd cpp\build
  +mkdir %ARROW_SOURCE%\cpp\build
  +pushd %ARROW_SOURCE%\cpp\build
  +
  +@rem This is the path for Visual Studio Community 2017
  +call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" -arch=amd64
   
   cmake -G "%GENERATOR%" ^
         -DCMAKE_INSTALL_PREFIX=%ARROW_HOME% ^
         -DARROW_BOOST_USE_SHARED=OFF ^
         -DCMAKE_BUILD_TYPE=%CONFIGURATION% ^
  -      -DARROW_CXXFLAGS="/WX /MP" ^
  +      -DARROW_CXXFLAGS="/MP" ^
         -DARROW_PYTHON=ON ^
         ..  || exit /B
   cmake --build . --target INSTALL --config %CONFIGURATION%  || exit /B
  
positive.code: @rem Build and import pyarrow
  @rem parquet-cpp has some additional runtime dependencies that we need to figure out
  @rem see PARQUET-1018
  pushd python
  
  set PYARROW_CXXFLAGS=/WX
  python setup.py build_ext --inplace --with-parquet --bundle-arrow-cpp bdist_wheel  || exit /B
  py.test pyarrow -v -s --parquet || exit /B
  
  popd
  
negative.code: @rem specific language governing permissions and limitations
  @rem under the License.
  
  @rem To run the script:
  @rem verify-release-candidate.bat VERSION RC_NUM
  
  @echo on
  
  