sashoalm
sashoalm

Reputation: 79457

Set make to always do 8 jobs simultaneously

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.

Upvotes: 0

Views: 232

Answers (1)

Keith Flower
Keith Flower

Reputation: 4152

You can try the $(MAKEFLAGS) variable:

export MAKEFLAGS=j8

But read the caveats and suggestions here.

Upvotes: 2

Related Questions