提交 97c73cae 编写于 作者: Y Yan Chunwei 提交者: GitHub

change num proc; test=develop (#1889)

上级 1ca6bf92
......@@ -9,6 +9,8 @@ readonly CMAKE_COMMON_OPTIONS="-DWITH_GPU=OFF \
-DLITE_WITH_ARM=ON \
-DLITE_WITH_LIGHT_WEIGHT_FRAMEWORK=ON"
readonly NUM_PROC=${LITE_BUILD_THREADS:-4}
# global variables
BUILD_EXTRA=OFF
......@@ -70,7 +72,7 @@ function make_tiny_publish_so {
-DLITE_BUILD_EXTRA=$BUILD_EXTRA \
-DARM_TARGET_OS=${os} -DARM_TARGET_ARCH_ABI=${abi} -DARM_TARGET_LANG=${lang}
make publish_inference -j4
make publish_inference -j$NUM_PROC
cd - > /dev/null
}
......
......@@ -11,7 +11,7 @@ readonly common_flags="-DWITH_LITE=ON -DLITE_WITH_LIGHT_WEIGHT_FRAMEWORK=OFF -DW
readonly THIRDPARTY_TAR=https://paddle-inference-dist.bj.bcebos.com/PaddleLite/third-party-05b862.tar.gz
readonly workspace=$PWD
NUM_CORES_FOR_COMPILE=8
NUM_CORES_FOR_COMPILE=${LITE_BUILD_THREADS:-8}
function prepare_thirdparty {
if [ ! -d $workspace/third-party -o -f $workspace/third-party-05b862.tar.gz ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册