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

refactor build_mlu.sh

上级 b5934b71
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
set -ex set -ex
# global variables with default value # global variables with default value
NEUWARE_HOME="${NEUWARE_HOME}" # XPU SDK NEUWARE_HOME="${NEUWARE_HOME}"
TARGET_NAME="all" # default target TARGET_NAME="all" # default target
BUILD_EXTRA=OFF # ON(with sequence ops)/OFF BUILD_EXTRA=OFF # ON(with sequence ops)/OFF
WITH_TESTING=OFF # ON/OFF WITH_TESTING=OFF # ON/OFF
...@@ -23,7 +23,7 @@ readonly CMAKE_COMMON_OPTIONS="-DWITH_LITE=ON \ ...@@ -23,7 +23,7 @@ readonly CMAKE_COMMON_OPTIONS="-DWITH_LITE=ON \
-DWITH_PYTHON=OFF \ -DWITH_PYTHON=OFF \
-DLITE_WITH_ARM=OFF" -DLITE_WITH_ARM=OFF"
readonly NUM_CORES_FOR_COMPILE=${LITE_BUILD_THREADS:-4} readonly NUM_CORES_FOR_COMPILE=${LITE_BUILD_THREADS:-8}
readonly THIRDPARTY_TAR=https://paddle-inference-dist.bj.bcebos.com/PaddleLite/third-party-05b862.tar.gz readonly THIRDPARTY_TAR=https://paddle-inference-dist.bj.bcebos.com/PaddleLite/third-party-05b862.tar.gz
readonly workspace=$(pwd) readonly workspace=$(pwd)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册