未验证 提交 9f09cf8e 编写于 作者: Y Yuan Shuai 提交者: GitHub

fix build miscs. test=develop (#3094)

上级 d9180c72
......@@ -204,7 +204,7 @@ function make_full_publish_so {
-DLITE_OPTMODEL_DIR=$OPTMODEL_DIR \
-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
}
......@@ -268,7 +268,7 @@ function make_ios {
-DLITE_WITH_CV=$BUILD_CV \
-DARM_TARGET_OS=$os
make -j4 publish_inference
make publish_inference -j$NUM_PROC
cd -
}
......@@ -299,7 +299,7 @@ function make_cuda {
-DLITE_WITH_PYTHON=${BUILD_PYTHON} \
-DLITE_BUILD_EXTRA=ON
make publish_inference -j4
make publish_inference -j$NUM_PROC
cd -
}
......@@ -328,7 +328,7 @@ function make_x86 {
-DWITH_GPU=OFF \
-DLITE_BUILD_EXTRA=ON
make publish_inference -j4
make publish_inference -j$NUM_PROC
cd -
}
......
......@@ -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_THRLITE_BUILD_THREADSEADS:-1}
readonly NUM_CORES_FOR_COMPILE=${LITE_BUILD_THREADS:-1}
readonly THIRDPARTY_TAR=https://paddle-inference-dist.bj.bcebos.com/PaddleLite/third-party-05b862.tar.gz
readonly workspace=$(pwd)
......
......@@ -660,7 +660,7 @@ function build_ios {
-DLITE_WITH_CV=$BUILD_CV \
-DARM_TARGET_OS=$os
make -j4 publish_inference
make publish_inference -j$NUM_PROC
cd -
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册