问题
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