提交 46db8018 编写于 作者: A Adun Chan

fix(build.sh): CPU_CORES is null and makes compile oom

上级 b5f98a6e
...@@ -3,6 +3,7 @@ TOPDIR="$(dirname $(readlink -f "$0"))" ...@@ -3,6 +3,7 @@ TOPDIR="$(dirname $(readlink -f "$0"))"
DEP_DIR=${TOPDIR}/deps/3rd/usr/local/oceanbase/deps/devel DEP_DIR=${TOPDIR}/deps/3rd/usr/local/oceanbase/deps/devel
TOOLS_DIR=${TOPDIR}/deps/3rd/usr/local/oceanbase/devtools TOOLS_DIR=${TOPDIR}/deps/3rd/usr/local/oceanbase/devtools
RUNTIME_DIR=${TOPDIR}/deps/3rd/home/admin/oceanbase RUNTIME_DIR=${TOPDIR}/deps/3rd/home/admin/oceanbase
CPU_CORES=`grep -c ^processor /proc/cpuinfo`
MAKE_ARGS=(-j $CPU_CORES) MAKE_ARGS=(-j $CPU_CORES)
function sw() function sw()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册