Compiling utilizing multiple CPUs
cswiger at mac.com
Tue Jan 15 11:51:25 PST 2008
On Jan 15, 2008, at 11:34 AM, Chuck Robey wrote:
>> The quality of the Makefiles or similar used by individual ports
>> and many of them are not safe to compile in a multithreaded fashion.
>> You can set "MAKEFLAGS=-j3" or similar in your environment, but it's
>> really not recommended.
> I think it's necessary to tell why its not recommend it: because many
> makefiles are insufficiently sedt up to correctly allow multiple
> cpu's to
> work side by side.
Well, didn't I just say that above?
I assure you that "not safe to compile in a multithreaded fashion"
means pretty much the same thing as "not set up to correctly allow
multiple CPU's to work side by side". :-)
More information about the freebsd-ports