Can the port command take advantage of multiple cores?

Ryan Schmidt ryandesign at macports.org
Tue Feb 5 18:14:38 PST 2008


On Feb 5, 2008, at 16:41, Yves de Champlain wrote:

> Le 08-02-03 à 19:48, Vincent Lefevre a écrit :
>
>> On 2008-02-02 17:45:35 -0600, Ryan Schmidt wrote:
>>
>>> Not exactly. Not all software supports parallel building. Each  
>>> port must
>>> be tested to ensure that it works. As ports are tested,
>>> "use_parallel_build yes" is added to the portfile. Then MacPorts  
>>> will
>>> build those ports using -j$jobs (where $jobs is the number of CPU  
>>> cores
>>> in your computer). This was added for MacPorts 1.6.
>>
>> Is there any reason why this option isn't documented in the
>> portfile(7) man page?
>
> BTW, gcc42 which is flagged as parrallel safe breaks for me at  
> destroot.  So it might happen that stuff that works on 2 cores fail  
> with more cores.

Well, how many cores do you have, and what error are you getting?





More information about the macports-users mailing list