parallel build suggestion

René J.V. Bertin rjvbertin at gmail.com
Sat Apr 4 04:29:20 PDT 2015


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.


More information about the macports-dev mailing list