Boost logo

Boost-Build :

Subject: Re: [Boost-build] output the action before not after
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2013-07-09 11:36:49


On Tue, Jul 9, 2013 at 10:30 AM, George Georgiev <
george.georgiev.sf_at_[hidden]> wrote:

> Hi,
>
> I find outputting the action after it is done instead before it starts a
> little bit confusing and in some cases dysfunctional. For example if a
> unittest hang you do not know what is going on.
>
> Is there option or a simple way to change this behavior?
>

I don't remember an option to control that.

Another related question: can b2 start flushing the output from
> subprocesses immediately - instead of waiting they to completely finish.
>

Unfortunately both of those behaviors are intentional and required to get
coherent output in the face of the parallel action execution. Without this
behavior the output from multiple actions would be interleaved and be
painfully hard for humans and impossible for computers to interpret the
output.

About the only change I can think of is to switch to immediate flushing
when we are using "-j1".

-- 
-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk