Browse Source

!603 solve master compile

From: @taoxudonghaha
Reviewed-by: @xchu42,@wqtshg
Signed-off-by: @wqtshg
pull/603/MERGE
mindspore-ci-bot Gitee 4 years ago
parent
commit
4e7301f926
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      build.sh

+ 4
- 4
build.sh View File

@@ -162,10 +162,10 @@ build_graphengine()
TARGET=${COMMON_TARGET} TARGET=${COMMON_TARGET}
if [ "x${PLATFORM}" = "xtrain" ] if [ "x${PLATFORM}" = "xtrain" ]
then then
TARGET="ge_runner ge_local_engine host_cpu_engine ${TARGET}"
TARGET="ge_runner ge_local_engine host_cpu_engine ge_compiler atc_ge_local_engine atc_host_cpu_engine atc ${TARGET}"
elif [ "x${PLATFORM}" = "xinference" ] elif [ "x${PLATFORM}" = "xinference" ]
then then
TARGET="ge_compiler atc_ge_local_engine atc_host_cpu_engine atc opensrc_ascendcl ${TARGET}"
TARGET="opensrc_ascendcl ${TARGET}"
elif [ "x${PLATFORM}" = "xall" ] elif [ "x${PLATFORM}" = "xall" ]
then then
# build all the target # build all the target
@@ -301,10 +301,10 @@ generate_package()
if [ "x${PLATFORM}" = "xtrain" ] if [ "x${PLATFORM}" = "xtrain" ]
then then
tar -cf graphengine_lib.tar fwkacllib
tar -cf graphengine_lib.tar fwkacllib atc
elif [ "x${PLATFORM}" = "xinference" ] elif [ "x${PLATFORM}" = "xinference" ]
then then
tar -cf graphengine_lib.tar acllib atc
tar -cf graphengine_lib.tar acllib
elif [ "x${PLATFORM}" = "xall" ] elif [ "x${PLATFORM}" = "xall" ]
then then
tar -cf graphengine_lib.tar fwkacllib acllib atc tar -cf graphengine_lib.tar fwkacllib acllib atc


Loading…
Cancel
Save