Set make to always do 8 jobs simultaneously

泄露秘密 提交于 2019-12-25 10:55:37

问题


Is there a way to set make to always do 8 jobs simultaneously, akin to 'make -j 8', but in a permanent way, even between restarts of the computer?

Some environment variable, perhaps? I'm using Ubuntu.


回答1:


You can try the $(MAKEFLAGS) variable:

export MAKEFLAGS=j8

But read the caveats and suggestions here.



来源:https://stackoverflow.com/questions/17475511/set-make-to-always-do-8-jobs-simultaneously

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!