use of cpus in building

Adam Dershowitz dersh at alum.mit.edu
Wed May 25 14:42:07 PDT 2016




> On May 25, 2016, at 5:25 PM, Brandon Allbery <allbery.b at gmail.com> wrote:
> 
> On Wed, May 25, 2016 at 5:22 PM, Christopher Jones <jonesc at hep.phy.cam.ac.uk <mailto:jonesc at hep.phy.cam.ac.uk>> wrote:
> you don’t. Its automatic for the ports that allow it.
> 
> And this is also true, if that was not clear. Using multiple cores is *on by default*. You are already getting it, unless you at some point in the past overrode buildmakejobs in macports.conf.
> 
> -- 


You can also manually change it for a single install, for example by using build.jobs.  Such as:
sudo port install port_whatever_name build.jobs=4 
and then, for that specific install it will attempt to use 4 cores.  This can be handy to reduce the number of cores used, from the default, so that you can do other things on the machine while building.    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20160525/2207bd78/attachment.html>


More information about the macports-users mailing list