11.13 获取 CPU 个数并四则运算后导出环境变量

1 export MAKE_JOBS=$(echo $(nproc)-1|bc)

2 应用:make -j $MAKE_JOBS

Copyright © DOSU community 2020 all right reserved,powered by Gitbook该文章修订时间: 2020-09-12 13:04:39

results matching ""

    No results matching ""