use of cpus in building
Christopher Jones
jonesc at hep.phy.cam.ac.uk
Wed May 25 14:22:52 PDT 2016
> On 25 May 2016, at 10:06 pm, Comer Duncan <comer.duncan at gmail.com> wrote:
>
> Hi Brandon,
>
> So, where to I set 'make -j 4' so I get ports to try with 4 cores?
you don’t. Its automatic for the ports that allow it.
>
> Comer
>
> On Wed, May 25, 2016 at 5:03 PM, Brandon Allbery <allbery.b at gmail.com <mailto:allbery.b at gmail.com>> wrote:
> On Wed, May 25, 2016 at 5:00 PM, Comer Duncan <comer.duncan at gmail.com <mailto: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 <mailto:allbery.b at gmail.com> ballbery at sinenomine.net <mailto:ballbery at sinenomine.net>
> unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net <http://sinenomine.net/>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20160525/aeaf23d3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1910 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20160525/aeaf23d3/attachment.p7s>
More information about the macports-users
mailing list