Can the port command take advantage of multiple cores?

Ryan Schmidt ryandesign at macports.org
Sat Feb 2 17:09:46 PST 2008


On Feb 2, 2008, at 18:37, Rainer Müller wrote:

> Yves de Champlain wrote:
>
>> However, macports will not use it unless the Portfile says it'S OK  
>> to do so with each specific port.  Now, very few (almost none)  
>> Portfiles have this flag defined.  It's just too bad because most  
>> ports will build fine with -j > 1 (I have tried over 150 ports  
>> with -j 8 and 5 have failed because of that, mostly in the  
>> destroot phase).
>
> Why is this opt-in and not opt-out? We could add a flag to ports that
> they should be built with -j1 instead of what was specified in  
> macports.conf. Is there a reason or some problem I don't know of?


Changes in base should not break existing ports, if at all possible.  
Ports may fail with this option enabled. Therefore it's opt-in on a  
port-by-port basis.



More information about the macports-users mailing list