[Scons-dev] Partial fix for mixed output with -j

Greg Ward greg at gerg.ca
Thu Jun 21 11:57:02 EDT 2012


On 20 June 2012, TOM TANNER (BLOOMBERG/ LONDON) said:

> OK, this is just a 'possible' at the moment. I'm not sure it's in the right

> place (debug output still gets mixed up), it's possible this should be part of

> the Task object, and it happens even with no -j setting which is silly (but I

> don't know how to check for that), but it works wonderfully for parallel builds.

>

> However, I'd like some comments.

>

> Here's the diff output (a bit split up and mangled because I was having problems with gmane)

>

> 109,112d109

> < from threading import Lock, local

> < import tempfile

> < import sys

> < import os

> 114,145d110

> < class Threaded_Output_Redirector:

> < """ The general idea of this class is to allow redirection of output to a


Please send unified diffs! Easiest way: clone the scons repo from
bitbucket.org (https://bitbucket.org/scons/scons), modify the code,
and use "hg diff" to generate your patch.

It would be great to see less confusing output from parallel builds.
Thanks for starting this work!

Greg


More information about the Scons-dev mailing list