anchor.diff:  :: ===== start step 5: CUDA 10 =====
   :cuda10
   echo ">>>>>>>> step [5/7]: CUDA 10.2"
  -nvcc --version | findstr /C:"10.2" > nul 2> nul || call :install_cuda
  +cmd /C nvcc --version 2> nul | findstr /C:"10.2" > nul 2> nul || call :install_cuda
   goto java-jre
   
   :install_cuda
  
positive.code: :: ===== start step 6: java jre =====
  :java-jre
  echo ">>>>>>>> step [6/7]: java jre"
  java > nul 2> nul || call :install_java
  goto xly-agent
  
  :install_java
  
negative.code: echo Download cudnn from "https://paddle-ci.gz.bcebos.com/window_requirement/cudnn-10.2-windows10-x64-v7.6.5.32.zip"
  wget -O cudnn-10.2-windows10-x64-v7.6.5.32.zip "https://paddle-ci.gz.bcebos.com/window_requirement/cudnn-10.2-windows10-x64-v7.6.5.32.zip"
  tar xf cudnn-10.2-windows10-x64-v7.6.5.32.zip
  xcopy /E /Y /R "cuda\bin\*" "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin"
  xcopy /E /Y /R "cuda\include\*" "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include"
  xcopy /E /Y /R "cuda\lib\*" "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\lib"
  rd /s /q cuda
  del cudnn-10.2-windows10-x64-v7.6.5.32.zip
  goto :eof
  