lkml.org 
[lkml]   [2020]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: I disabled more compiler warnings..
Date
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@aculab.com> 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)
\
 
 \ /
  Last update: 2020-05-11 23:10    [W:0.109 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site