parallel build suggestion

Jeremy Lavergne jeremy at lavergne.gotdns.org
Sat Apr 4 06:44:17 PDT 2015


On April 4, 2015 7:29:20 AM EDT, "René J.V. Bertin" <rjvbertin at gmail.com> wrote:
>Hi,
>
>I just noticed my computer becoming quite unresponsive upgrading
>port:glew . I have buildjobs set to 4 (the number of cores in my
>system), and glew installed +universal.
>What happens of course is that clang -arch i386 -arch x86_64 does the 2
>arch builds in parallel, meaning I had 8 processes running in parallel
>on files that apparently required a lot of resources
>
>Would it be possible to adapt buildjobs automatically when a port is
>build +universal but not with the muniversal portgroup, i.e. limit it
>to nCores/2 ?
>
>R.
>_______________________________________________
>macports-dev mailing list
>macports-dev at lists.macosforge.org
>https://lists.macosforge.org/mailman/listinfo/macports-dev

Why specify the number of cores when that is done automatically, and likely would avoid this situation?


More information about the macports-dev mailing list