[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch to support output synchronization under -j

From: Eli Zaretskii
Subject: Re: patch to support output synchronization under -j
Date: Fri, 15 Apr 2011 23:58:59 +0300

> From: Paul Smith <address@hidden>
> CC: David Boyce <address@hidden>, address@hidden
> Date: Fri, 15 Apr 2011 14:53:52 -0400
> On Fri, 2011-04-15 at 19:54 +0300, Eli Zaretskii wrote:
> > What about the other issue: with the fact that output from a recipe is
> > only shown when the entire recipe is done.  I think this is a serious
> > drawback, at least in some use cases.  Can anything be done about
> > that?
> I don't see how.  The entire point of this feature is that all the
> output for each job is shown "together" as one group, rather than
> intermixed with the output of other jobs.
> I can't see how you can see the output from all jobs immediately and
> still keep the output from being mixed together; that seems akin to
> squaring a circle :-).

How about if we introduce a variable that can be set for specific
targets (using the target-specific variable mechanism).  Targets that
set this variable to some predefined value will not have their output
redirected, so their output will go to the screen.  Make will hold the
semaphore for the entire time the job for one of these targets runs,
so that no other target can show its output until the last of the jobs
for those targets exits.

Would something like that work?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]