提交 ae7556ff 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!468 Fix compile option --verbose

Merge pull request !468 from ZhouFeng/fix-compile-verbose
...@@ -314,7 +314,10 @@ build_mindspore() ...@@ -314,7 +314,10 @@ build_mindspore()
if [[ "X$INC_BUILD" = "Xoff" ]]; then if [[ "X$INC_BUILD" = "Xoff" ]]; then
cmake ${CMAKE_ARGS} ../.. cmake ${CMAKE_ARGS} ../..
fi 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!" echo "success to build mindspore project!"
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册