Can the port command take advantage of multiple cores?

James Sumners james.sumners at gmail.com
Sun Feb 3 08:17:15 PST 2008


It looks to me like all you have to do is set "buildmakejobs" to the
number of jobs you want make to use. I assume port will then use that
many jobs when a portfile allows it.

On Feb 3, 2008 11:03 AM, Ryan Schmidt <ryandesign at macports.org> wrote:
>
> On Feb 2, 2008, at 18:08, skip at pobox.com wrote:
>
> >
> >     Ryan> As ports are tested, "use_parallel_build yes" is added to
> > the
> >     Ryan> portfile. Then MacPorts will build those ports using -j$jobs
> >     Ryan> (where $jobs is the number of CPU cores in your
> > computer). This
> >     Ryan> was added for MacPorts 1.6.
> >
> > Excellent, thanks.  That makes it transparent even. ;-)
>
>
> Well, that's what I thought happened. But now others are saying
> there's an option in macports.conf that needs to be set. Can someone
> please clarify? Is there an option, and if so, what does it need to
> be set to?



-- 
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59


More information about the macports-users mailing list