RE: I disabled more compiler warnings..
From: David Laight
Date: Mon May 11 2020 - 17:09:10 EST
From: Paul Smith
> Sent: 11 May 2020 18:59
> On Mon, 2020-05-11 at 10:41 -0700, Linus Torvalds wrote:
> > On Mon, May 11, 2020 at 12:43 AM David Laight <
> > David.Laight@xxxxxxxxxx> wrote:
> > >
> > > I've not looked inside gmake, but I fixed nmake so that it
> > > properly used a single job token pipe for the entire (NetBSD)
> > > build and then flushed and refilled it with 'abort' tokens
> > > when any command failed.
> > > That made the build stop almost immediately.
> >
> > The GNU jobserver doesn't have anything like that, afaik.
> >
> > I think it always writes a '+' character as a token, so I guess it
> > could be extended to write something else for the "abort now"
> > situation (presumably a '-' character).
>
> That was exactly my plan.
ISTR using '*' :-) Was a long time ago.
One problem is ensuring that all the recursive makes actually
use the same token queue.
The Linux kernel build acts as though the sub-makes have their
own queue - I certainly had to fix that as well.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)