!22267 [MSLITE][DEVELOP] checkout nnie branch

Merge pull request !22267 from yangruoqi713/nnie
This commit is contained in:
i-robot 2021-08-24 02:48:31 +00:00 committed by Gitee
commit 1e3c7f2cb1
1 changed files with 2 additions and 2 deletions

View File

@ -234,13 +234,13 @@ build_lite() {
compile_nnie_script=${BASEPATH}/mindspore/lite/tools/providers/NNIE/Hi3516D/compile_nnie.sh
cd ${BASEPATH}/../
if [[ "${local_lite_platform}" == "x86_64" ]]; then
sh ${compile_nnie_script} -I x86_64 -b nnie_master_tmp -j $THREAD_NUM
sh ${compile_nnie_script} -I x86_64 -b nnie_master -j $THREAD_NUM
if [[ $? -ne 0 ]]; then
echo "compile x86_64 for nnie failed."
exit 1
fi
elif [[ "${local_lite_platform}" == "arm32" ]]; then
sh ${compile_nnie_script} -I arm32 -b nnie_master_tmp -j $THREAD_NUM
sh ${compile_nnie_script} -I arm32 -b nnie_master -j $THREAD_NUM
if [[ $? -ne 0 ]]; then
echo "compile arm32 for nnie failed."
exit 1