Installing ports in parallel

Chris Jones jonesc at hep.phy.cam.ac.uk
Tue Sep 11 11:17:46 PDT 2012


Hi,

On 11 Sep 2012, at 06:20 PM, Jeremy Lavergne <jeremy at lavergne.gotdns.org> wrote:

>>> I don't find a way to let port install multiple independent ports in
>>> parallel to maximally use the cores on a machine. Is there a way to do
>>> so? Thanks!
>> 
>> No need. Ports (that can) automatically build in parallel themselves.
> 
> He means two separate ports, rather than building a single port with multiple threads.

Yes, I did appreciate that.

> 
> We aim to take advantage of building a single port in parallel, not several ports in parallel, as there is just one lock mechanism in MacPorts.

That's just what I tried to say. My point was the build phase already parallelise things as much as it can, so will fully utilise all the cores in your machine. Running multiple instances of port side by side won't gain you so much after that.

Chris


More information about the macports-users mailing list