forked from mindspore-Ecosystem/mindspore
!22267 [MSLITE][DEVELOP] checkout nnie branch
Merge pull request !22267 from yangruoqi713/nnie
This commit is contained in:
commit
1e3c7f2cb1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue