!15516 [CI][Lite][master] Error message in cpu windows compiled verison

From: @sunsuodong
Reviewed-by: @zhanghaibo5,@jpc_chenjianping
Signed-off-by: @zhanghaibo5
This commit is contained in:
mindspore-ci-bot 2021-04-22 19:45:15 +08:00 committed by Gitee
commit 9753a91fc1
1 changed files with 1 additions and 2 deletions

View File

@ -33,8 +33,6 @@ set VERSION_MINOR=%y:~1,1%
for /f "delims=\= tokens=2" %%c in ('findstr /C:"const int ms_version_revision = " mindspore\lite\include\version.h') do (set z=%%c)
set VERSION_REVISION=%z:~1,1%
echo "======Start building MindSpore Lite %VERSION_MAJOR%.%VERSION_MINOR%.%VERSION_REVISION%======"
ECHO %2%|FINDSTR "^[0-9][0-9]*$"
IF %errorlevel% == 0 (
SET threads=%2%
@ -74,6 +72,7 @@ IF NOT EXIST "%BUILD_PATH%/mindspore" (
cd %BUILD_PATH%/mindspore
IF "%1%" == "lite" (
echo "======Start building MindSpore Lite %VERSION_MAJOR%.%VERSION_MINOR%.%VERSION_REVISION%======"
cmake --build "%BUILD_PATH%\mindspore" --target clean
rd /s /q "%BASE_PATH%\output"
(git log -1 | findstr "^commit") > %BUILD_PATH%\.commit_id