Browse Source

!468 Fix compile option --verbose

Merge pull request !468 from ZhouFeng/fix-compile-verbose
tags/v0.2.0-alpha
mindspore-ci-bot Gitee 5 years ago
parent
commit
ae7556ffbc
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      build.sh

+ 4
- 1
build.sh 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!"
}



Loading…
Cancel
Save