Speed up build phase with "make -j"
Anders F Björklund
afb at macports.org
Sun Oct 28 01:52:59 PDT 2007
js wrote:
> http://www.macosxhints.com/article.php?story=20070524074057479
>> From this article, I learned how we can easily speed up build phase
>> of MacPorts.
>
> Can I make this behavior (-j) default for all ports using make?
In MacPorts 1.6, you can set the -j parameter with "build.jobs".
( see http://trac.macports.org/projects/macports/ticket/12280 )
However, you probably *don't* want to set it to "infinite" but
instead to a reasonable number for your machine like 2 or 4...
Note that some ports will fail to build, when using "make -j 2"
And using a very large number will cause the build to go slower.
--anders
More information about the macports-users
mailing list