fix cmake verbose

This commit is contained in:
zhoufeng 2020-04-19 12:14:46 +08:00
parent 3ad73b7d71
commit c889320f4e
1 changed files with 4 additions and 1 deletions

View File

@ -314,7 +314,10 @@ build_mindspore()
if [[ "X$INC_BUILD" = "Xoff" ]]; then
cmake ${CMAKE_ARGS} ../..
fi
cmake --build . --target package ${VERBOSE} -j$THREAD_NUM
if [[ -n "$VERBOSE" ]]; then
CMAKE_VERBOSE="--verbose"
fi
cmake --build . --target package ${CMAKE_VERBOSE} -j$THREAD_NUM
echo "success to build mindspore project!"
}