>>>>> "Brian" == Brian Bechtel <[EMAIL PROTECTED]> writes:

Brian> Sure, look at the concept of job slots in the developer documentation
Brian> <http://developer.apple.com/techpubs/macosx/DeveloperTools/gnumake/
make_5.html> I find that adding -j 3 speeds up builds considerably.
Brian> Some people find increasing this up to -j 8 helps, but it depends upon
Brian> what you're building.

Beware.  You can't do this blindly.  Just because you have a working
makefile for a single thread, doesn't mean you can use it for two.

For example, any build rule that uses a fixed output filename that is
eventually renamed to the target will not process properly in parallel
if two instances of the rule are triggered, since the one output file
will be overwritten.

You can probably always get it to work *eventually*, but it's a fine
art and requires much attention to detail, and isn't completely
testable since the conflicts would happen randomly.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to