Can the port command take advantage of multiple cores?
Ryan Schmidt
ryandesign at macports.org
Sun Feb 3 08:36:37 PST 2008
On Feb 3, 2008, at 10:26, Anders F Björklund wrote:
> James Sumners wrote:
>
>> 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.
>
> The number of build jobs is ignored, until the port says that it
> works.
> (otherwise the above is right, you can also say "0" to mean "# of
> cores")
>
> Setting of "makefile_isnt_buggy" was renamed to
> "use_parallel_build"...
Thanks, everyone. I also checked out the code to confirm that it does
work this way.
http://trac.macosforge.org/projects/macports/browser/trunk/base/src/
port1.0/portbuild.tcl
I filed a ticket to request it be documented in the guide.
http://trac.macosforge.org/projects/macports/ticket/14164
More information about the macports-users
mailing list