parallel destroot problematic
Anders F Björklund
afb at macports.org
Sun May 18 11:20:53 PDT 2008
Rainer Müller wrote:
>>> Should we change MacPorts to only add the -j argument to the make
>>> command in the build phase, and not do so in the destroot phase?
>> Sounds like a good idea to me.
> Yes, this is good. We should also merge it to release_1_6 to get it
> included in the next 1.6.1 release.
I made a partial fix/workaround, that makes destroot.cmd not inherit
build.cmd but instead use the same "make" definition (with make type)
This is not perfect, since it makes the earlier behaviour of making
destroot.cmd inherit build.cmd. That would still be the preferred...
So there should be a better solution, that would separate build.nice
and build.jobs from build.cmd so that it could still be e.g. "make".
The same should probably be applied to test.cmd as well as destroot.cmd,
since probably not every port will run successfully with "make -j2
More information about the macports-dev