提交 b5934b71 编写于 作者: Z ZHANG Shijin 提交者: jackzhang235

refactor build_mlu.sh

    delete "git submodule update" when preparing workspace
上级 fdb2595b
...@@ -29,17 +29,13 @@ readonly THIRDPARTY_TAR=https://paddle-inference-dist.bj.bcebos.com/PaddleLite/t ...@@ -29,17 +29,13 @@ readonly THIRDPARTY_TAR=https://paddle-inference-dist.bj.bcebos.com/PaddleLite/t
readonly workspace=$(pwd) readonly workspace=$(pwd)
function prepare_thirdparty { function prepare_thirdparty {
if [ ! -d $workspace/third-party -o -f $workspace/third-party-05b862.tar.gz ]; then if [ ! -d $workspace/third-party ]; then
rm -rf $workspace/third-party rm -rf $workspace/third-party
if [ ! -f $workspace/third-party-05b862.tar.gz ]; then
wget $THIRDPARTY_TAR
fi
tar xvf third-party-05b862.tar.gz
else
# git submodule update --init --recursive
echo "third-party is in ready"
fi fi
if [ ! -f $workspace/third-party-05b862.tar.gz ]; then
wget $THIRDPARTY_TAR
fi
tar xvf third-party-05b862.tar.gz
} }
# for code gen, a source file is generated after a test, but is dependended by some targets in cmake. # for code gen, a source file is generated after a test, but is dependended by some targets in cmake.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册