Re: [TEST] make -j patch [take 2]

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Fri, 12 Nov 2004 15:55:23 +0100
In message <1100269107.4194c6330d578_at_netchild.homeip.net>, Alexander_at_Leidinger.
net writes:
>Zitat von Poul-Henning Kamp <phk_at_phk.freebsd.dk>:
>
>> At the very least, do not commit your patch until you have managed
>> to come up with at least one instance of real world data where it
>> is a good idea.
>
>I followed the discussion so far, but I may have failed to see the obvious...
>
>What happens if "make -j X" runs in a situation where portupgrade gets
>called (e.g. a Makefile which runs some portupgrades in parallel for
>a set of ports (without overlapping in the dependency graph))?
>
>I assume from the discussion that the make which gets invoked by
>portupgrade (without -j) will connect to the FIFO and attempt to build
>some targets in parallel. Is this correct?
>
>If yes: we have some ports which aren't -j safe, so this would violate
>POLA.

That is what "make -B" is for.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Fri Nov 12 2004 - 13:55:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:22 UTC