anchor.diff:  goto:eof
   
   :cmake_error
  -call paddle_winci\Scripts\deactivate.bat
  +call paddle_winci\Scripts\deactivate.bat 2>NUL
   echo Cmake failed, will exit!
  -exit /b 1
  +exit /b 7
   
   rem ---------------------------------------------------------------------------------------------
   :build
  
positive.code: 
  set build_times=1
  :build_paddle
  echo Build Paddle the %build_times% time:
  msbuild /m /p:Configuration=Release /verbosity:minimal paddle.sln
  if %ERRORLEVEL% NEQ 0 (
      set /a build_times=%build_times%+1
      if %build_times% GTR 2 (
          exit /b 1
      ) else (
          echo Build Paddle failed, will retry!
          goto :build_paddle
  
negative.code: dir /s /b python\dist\*.whl > whl_file.txt
  set /p PADDLE_WHL_FILE_WIN=< whl_file.txt
  
  pip uninstall -y paddlepaddle
  pip uninstall -y paddlepaddle-gpu
  pip install -U %PADDLE_WHL_FILE_WIN% --user
  if %ERRORLEVEL% NEQ 0 (
      call paddle_winci\Scripts\deactivate.bat 2>NUL
      echo pip install whl package failed!
      exit /b 3
  )
  
  python %work_dir%\paddle\scripts\installation_validate.py
  goto:eof
  
  :test_whl_pacakage_error
  call paddle_winci\Scripts\deactivate.bat 2>NUL
  echo Test import paddle failed, will exit!
  exit /b 3
  
  rem ---------------------------------------------------------------------------------------------
  