From cf22d2b80f4c71546dbef67ad3c4aa207e594b65 Mon Sep 17 00:00:00 2001 From: Peihan Date: Mon, 28 Jun 2021 11:43:27 +0800 Subject: [PATCH] Update paddle_build.bat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加裁剪op脚本的状态判断 --- paddle/scripts/paddle_build.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/paddle/scripts/paddle_build.bat b/paddle/scripts/paddle_build.bat index aea01887db..4c901721fd 100644 --- a/paddle/scripts/paddle_build.bat +++ b/paddle/scripts/paddle_build.bat @@ -218,6 +218,7 @@ set ON_INFER=ON set WITH_PYTHON=OFF set CUDA_ARCH_NAME=All python %work_dir%\tools\remove_grad_op_and_kernel.py +if %errorlevel% NEQ 0 exit /b 1 call :cmake || goto cmake_error call :build || goto build_error -- GitLab