提交 5a67847e 编写于 作者: N NorseGaud

Using $JOBS instead of the $CPU_CORE on make -j, preventing overuse/memory...

Using $JOBS instead of the $CPU_CORE on make -j, preventing overuse/memory exhaustion when CPU is much higher than available memory.
上级 97c85310
......@@ -277,7 +277,8 @@
exit 0
fi
if ! make -j"${CPU_CORE}"
if [ -z ${JOBS} ]; then JOBS=$CPU_CORE; fi # Future proofing: Ensure $JOBS is set (usually set in scripts/eosio_build_*.sh scripts)
if ! make -j"${JOBS}"
then
printf "\\n\\t>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.\\n\\n"
exit -1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册