make -j 4 is really make -j 8 for buildworld?
Garance A Drosihn
drosih at rpi.edu
Wed Jan 14 17:58:01 PST 2004
At 7:57 PM -0200 1/14/04, jason wrote:
>Marc Olzheim wrote:
>>Hmm.. From the manual page:
>> -j max_jobs
>> Specify the maximum number of jobs that make may
>> have running at any one time. Turns compatibility
>> mode off, unless the B flag is also specified.
>>'maximum number of jobs' seems to be quite clear to me...
>>Or is the -j propagated into subdirs ?
>If a make file can specify more than one job in any instance,
>then thats why. You would run -j4 and have 4 jobs working,
>but when job number x is running it spawns 2 or more jobs to
>compile indepndent portions of code in a program faster.
Hmm, I guess we also get into the case where 'make' might
spawn 'cc' as one single job, but 'cc' itself will turn
around and fork into multiple processes to get it's own
work done. That makes sense.
Garance Alistair Drosehn = gad at gilead.netel.rpi.edu
Senior Systems Programmer or gad at freebsd.org
Rensselaer Polytechnic Institute or drosih at rpi.edu
More information about the freebsd-current