Browse Source

Update mindspore commit && update build.sh help

tags/v1.2.0
xuyongfei 5 years ago
parent
commit
99bcde5309
2 changed files with 8 additions and 7 deletions
  1. +7
    -6
      build.sh
  2. +1
    -1
      third_party/mindspore

+ 7
- 6
build.sh View File

@@ -7,15 +7,16 @@ export BUILD_PATH="${PROJECTPATH}/build/"
usage()
{
echo "Usage:"
echo "bash build.sh [-d] [-v] [-c on|off] [-a on|off] [-j[n]] [-p]"
echo " bash build.sh [-p {mindspore_shared_lib}] [-j[n]] [-d]"
echo " bash build.sh [-e gpu|ascend|cpu|npu] [-V 9.2|10.1|310|910] [-j[n]] [-d] "
echo " bash build.sh [-t on|off] [-j[n]] [-d]"
echo ""
echo "Options:"
echo " -d Debug model"
echo " -p MindSpore lib {mindspore_shared_lib} path."
echo " -e Use cpu, gpu, npu or ascend"
echo " -V Specify the device version, if -e gpu, default CUDA 10.1, if -e ascend, default Ascend 910"
echo " -j[n] Set the threads when building (Default: -j8)"
echo " -v Display build command. Run cpack with verbose output."
echo " -c Enable code coverage, default off"
echo " -a Enable ASAN, default off. Memory error detection tool."
echo " -p MindSpore lib [mindspore_shared_lib] path."
echo " -d Debug model"
echo " -t Run testcases, default off."

}


+ 1
- 1
third_party/mindspore

@@ -1 +1 @@
Subproject commit 5f01223ca43387cf1fe4beb4ad59a331b14ffa35
Subproject commit 7e21427a2ac2adf7477c380896091fe282f4a318

Loading…
Cancel
Save