Skip to content

Commit

Permalink
Merge pull request #8 from stutiredboy/fix_build_oom
Browse files Browse the repository at this point in the history
fix(build.sh): CPU_CORES is null and makes compile oom
  • Loading branch information
wgs13579 authored Jun 25, 2021
2 parents 0ce091d + 46db801 commit 03c9fa0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TOPDIR="$(dirname $(readlink -f "$0"))"
DEP_DIR=${TOPDIR}/deps/3rd/usr/local/oceanbase/deps/devel
TOOLS_DIR=${TOPDIR}/deps/3rd/usr/local/oceanbase/devtools
RUNTIME_DIR=${TOPDIR}/deps/3rd/home/admin/oceanbase
CPU_CORES=`grep -c ^processor /proc/cpuinfo`
MAKE_ARGS=(-j $CPU_CORES)

function sw()
Expand Down

0 comments on commit 03c9fa0

Please sign in to comment.