use of cpus in building

Comer Duncan comer.duncan at gmail.com
Wed May 25 14:06:12 PDT 2016


Hi Brandon,

So, where to I set 'make -j 4' so I get ports to try with 4 cores?

Comer

On Wed, May 25, 2016 at 5:03 PM, Brandon Allbery <allbery.b at gmail.com>
wrote:

> On Wed, May 25, 2016 at 5:00 PM, Comer Duncan <comer.duncan at gmail.com>
> wrote:
>
>> I am wondering whether the macports build system automatically uses as
>> many cpus as are installed?  I have a macbook pro with 4 cores and would
>> hope I can help speed up builds by making all four cores be used.  Am I
>> dreaming?
>
>
> MacPorts does builds with "make -j" (defaulting to one job per core)
> except where ports specifically override it because they are known to not
> build correctly in parallel.
>
> --
> brandon s allbery kf8nh                               sine nomine
> associates
> allbery.b at gmail.com
> ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20160525/2427c50a/attachment.html>


More information about the macports-users mailing list