anchor.diff:  if not defined retry_times set retry_times=1
   if not defined PYTHON_ROOT set PYTHON_ROOT=C:\Python37
   if not defined BUILD_DIR set BUILD_DIR=build
  -if not defined NEW_RELEASE_ALL set NEW_RELEASE_ALL=ON
  -if not defined NEW_RELEASE_PYPI set NEW_RELEASE_PYPI=OFF
  -if not defined NEW_RELEASE_JIT set NEW_RELEASE_JIT=OFF
  +if not defined TEST_INFERENCE set TEST_INFERENCE=ON
   
   set task_name=%1
   set UPLOAD_TP_FILE=OFF
  
positive.code: wmic process where name="lib.exe" call terminate 2>NUL
  wmic process where name="python.exe" call terminate 2>NUL
  
  rem ------initialize common variable------
  if not defined GENERATOR set GENERATOR="Visual Studio 15 2017 Win64"
  if not defined WITH_TENSORRT set WITH_TENSORRT=ON
  if not defined TENSORRT_ROOT set TENSORRT_ROOT=D:/TensorRT
  
negative.code: 
  call :cmake || goto cmake_error
  call :build || goto build_error
  if "%TEST_INFERENCE%"=="ON" call :test_inference
  if %errorlevel% NEQ 0 set error_code=%errorlevel%
  if "%TEST_INFERENCE%"=="ON" call :test_inference_ut
  if %errorlevel% NEQ 0 set error_code=%errorlevel%
  
  call :zip_cc_file || goto zip_cc_file_error
  