parallel builds revisited
[LoN]Kamikaze
LoN_Kamikaze at gmx.de
Sat Apr 14 05:12:29 UTC 2007
Kris Kennaway wrote:
> On Thu, Apr 12, 2007 at 09:31:37PM +0200, [LoN]Kamikaze wrote:
>
>>> Btw, do you think it's possible that a port can only be built with, n
>>> parallel make jobs, but will fail with n+1?
>> No. I do not think this can be the case.
>
> It certainly is the case. If a makefile has incorrectly specified
> dependencies then it may build by accident for certain values of n.
> There are also lots of ports with race conditions which means they may
> sometimes build but not always.
I am aware of the theoretical existence of such problems, but has that ever actually happened? In my experience the port fails whenever something is wrong. I've never had a case where a port that didn't work because of 'make -j' worked when I tried again or with a different number of jobs.
More information about the freebsd-ports
mailing list