From 5c9bd0bf7ca277f7ca151a3f59519827c66cbaf9 Mon Sep 17 00:00:00 2001 From: Zhou Wei <52485244+zhouwei25@users.noreply.github.com> Date: Mon, 7 Dec 2020 11:20:09 +0800 Subject: [PATCH] print whether has build cache (#29035) --- paddle/scripts/paddle_build.bat | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/paddle/scripts/paddle_build.bat b/paddle/scripts/paddle_build.bat index 6eef64e8b85..19891902aab 100644 --- a/paddle/scripts/paddle_build.bat +++ b/paddle/scripts/paddle_build.bat @@ -92,7 +92,10 @@ if %ERRORLEVEL% EQU 0 ( :mkbuild if not exist build ( + echo Windows build cache FALSE mkdir build +) else ( + echo Windows build cache TRUE ) cd /d build dir . @@ -282,6 +285,8 @@ if %ERRORLEVEL% NEQ 0 ( ) echo Build Paddle successfully! +echo 0 > %cache_dir%\error_code.txt +type %cache_dir%\error_code.txt goto:eof @@ -624,8 +629,6 @@ taskkill /f /im cvtres.exe 2>NUL taskkill /f /im rc.exe 2>NUL wmic process where name="op_function_generator.exe" call terminate 2>NUL taskkill /f /im python.exe 2>NUL -echo 0 > %cache_dir%\error_code.txt -type %cache_dir%\error_code.txt echo Windows CI run successfully! exit /b 0 -- GitLab