From 0bcb4f855d2a3a817cc030e50a6c9b03742ff4ef Mon Sep 17 00:00:00 2001 From: Sing_chan <51314274+betterpig@users.noreply.github.com> Date: Thu, 24 Mar 2022 13:39:01 +0800 Subject: [PATCH] smaller the retry_times since random failure in windows is rare (#40857) --- paddle/scripts/paddle_build.bat | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/paddle/scripts/paddle_build.bat b/paddle/scripts/paddle_build.bat index 78a863040a..b3500c5724 100644 --- a/paddle/scripts/paddle_build.bat +++ b/paddle/scripts/paddle_build.bat @@ -76,7 +76,7 @@ if not defined INFERENCE_DEMO_INSTALL_DIR set INFERENCE_DEMO_INSTALL_DIR=%cache_ if not defined LOG_LEVEL set LOG_LEVEL=normal if not defined PRECISION_TEST set PRECISION_TEST=OFF if not defined NIGHTLY_MODE set PRECISION_TEST=OFF -if not defined retry_times set retry_times=3 +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 set task_name=%1 @@ -234,7 +234,6 @@ set WITH_MKL=OFF set WITH_GPU=OFF set WITH_AVX=OFF set MSVC_STATIC_CRT=ON -set retry_times=1 set ON_INFER=OFF call :cmake || goto cmake_error @@ -267,7 +266,6 @@ rem ------Build windows avx whl package------ set WITH_AVX=ON set ON_INFER=OFF set CUDA_ARCH_NAME=All -set retry_times=4 call :cmake || goto cmake_error call :build || goto build_error @@ -279,7 +277,6 @@ rem ------Build windows no-avx whl package------ set WITH_AVX=OFF set ON_INFER=OFF set CUDA_ARCH_NAME=All -set retry_times=4 call :cmake || goto cmake_error call :build || goto build_error -- GitLab