Browse Source

move libge_local_engine to subdirectory in output package

tags/v0.6.0-beta
yanghaoran 4 years ago
parent
commit
bccb1b1117
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      build.sh

+ 2
- 0
build.sh View File

@@ -174,9 +174,11 @@ echo "---------------- GraphEngine output generated ----------------"
# generate output package in tar form, including ut/st libraries/executables
cd ${BASEPATH}
mkdir -p output/plugin/nnengine/ge_config/
mkdir -p output/plugin/opskernel/
find output/ -name graphengine_lib.tar -exec rm {} \;
cp src/ge/engine_manager/engine_conf.json output/plugin/nnengine/ge_config/
find output/ -maxdepth 1 -name libengine.so -exec mv -f {} output/plugin/nnengine/ \;
find output/ -maxdepth 1 -name libge_local_engine.so -exec mv -f {} output/plugin/opskernel/ \;
tar -cf graphengine_lib.tar output/*
mv -f graphengine_lib.tar output
echo "---------------- GraphEngine package archive generated ----------------"

Loading…
Cancel
Save