From 78f44bfc6d2fa6bbbf1b81a935601d40c959187c Mon Sep 17 00:00:00 2001 From: ZHANG Shijin Date: Thu, 12 Mar 2020 16:20:54 +0800 Subject: [PATCH] refactor build_mlu.sh --- lite/tools/build_mlu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lite/tools/build_mlu.sh b/lite/tools/build_mlu.sh index c85110fa9f..e6fb67bd1d 100755 --- a/lite/tools/build_mlu.sh +++ b/lite/tools/build_mlu.sh @@ -2,7 +2,7 @@ set -ex # global variables with default value -NEUWARE_HOME="${NEUWARE_HOME}" # XPU SDK +NEUWARE_HOME="${NEUWARE_HOME}" TARGET_NAME="all" # default target BUILD_EXTRA=OFF # ON(with sequence ops)/OFF WITH_TESTING=OFF # ON/OFF @@ -23,7 +23,7 @@ readonly CMAKE_COMMON_OPTIONS="-DWITH_LITE=ON \ -DWITH_PYTHON=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 workspace=$(pwd) -- GitLab