Solved make -j

Hello,

Sometimes it happens, that I use ports for installing stuff. I know that it is possible to make make faster with option -j. I've a machine with a fast quadcore Intel cpu, so I want to optimize speed of compiling.

Where can I set an option like -j 8 for make? I don't want to edit each Makefile for that.

Kind regards,
Holger
 
You can set MAKE_JOBS_NUMBER=%n in make.conf but most ports that can, already use max CPU cores. I don't see a need to set it globally myself.
 
Hello,

Referring to your comments a manual modification in /etc/make.conf is not necessary.

Thanks for your hints.

Kind regards,
Holger
 
Back
Top