anchor.diff:  set INFERENCE_DEMO_INSTALL_DIR=%cache_dir:\=/%/inference_demo
   
   if not exist %cache_dir%\tools (
  -    git clone https://github.com/zhouwei25/tools %cache_dir%\tools
  +    git clone https://github.com/zhouwei25/tools.git %cache_dir%\tools
       if %ERRORLEVEL% NEQ 0 exit /b %ERRORLEVEL%
   )
   
  
positive.code: echo    Step 2. Buile Paddle ...
  echo    ========================================
  call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
  set build_times=1
  
  :build_tp
  echo BUILD THIRD_PARTY %build_times%
  msbuild /m /p:Configuration=Release /verbosity:quiet third_party.vcxproj
  echo BUILD THIRD_PARTY RESULT %ERRORLEVEL%
  if %ERRORLEVEL% NEQ 0 (
      set /a build_times=%build_times%+1  
      if %build_times% GTR 3 (
          exit /b 1
      ) else (
          goto :build_tp
      )
  )
  
  set build_times=1
  :build_paddle
  echo BUILD PADDLE %build_times%
  msbuild /m /p:Configuration=Release /verbosity:quiet paddle.sln
  echo BUILD PADDLE RESULT %ERRORLEVEL%
  if %ERRORLEVEL% NEQ 0 (
      set /a build_times=%build_times%+1
      if %build_times% GTR 2 (
          exit /b 1
      ) else (
          goto :build_paddle
      )
  )
  goto:eof
  
  :build_error
  call paddle_winci\Scripts\deactivate.bat
  echo build paddle failed!
  exit /b 7
  
  rem ---------------------------------------------------------------------------------------------
  
negative.code: 
  :cmake_error
  call paddle_winci\Scripts\deactivate.bat
  echo Cmake failed, will exit!
  exit /b 1
  
  rem ---------------------------------------------------------------------------------------------
  