Speed up build phase with "make -j"

js ebgssth at gmail.com
Sun Oct 28 06:06:39 PDT 2007


On 10/28/07, Anders F Björklund <afb at macports.org> wrote:
> > 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 )

Great. I look forward to it!

> 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.

What causes the build erorr? is it for bad Makefile or problem of "-j"
option itself?


More information about the macports-users mailing list