提交 d624b417 编写于 作者: T tianshuo78520a 提交者: Tao Luo

change make nproc on Cloud Integration (#21350)

上级 8293f21a
......@@ -280,7 +280,11 @@ function check_style() {
function build_base() {
if [ "$SYSTEM" == "Linux" ];then
parallel_number=`nproc`
if [ `nproc` -gt 16 ];then
parallel_number=$(expr `nproc` - 4)
else
parallel_number=`nproc`
fi
else
parallel_number=8
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册