parallel build suggestion

Rainer Müller raimue at macports.org
Sat Apr 4 07:36:14 PDT 2015


On 2015-04-04 13:29, René J.V. Bertin wrote:
> 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 ?

Sounds reasonable. Did clang always do this in parallel or was the
parallelism introduced in a specific release? I never noticed it builds
different architectures in parallel.

Rainer


More information about the macports-dev mailing list