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

TOM TANNER (BLOOMBERG/ LONDON) ttanner2 at bloomberg.net
Fri Jun 22 06:39:36 EDT 2012


I'd love to but our systems are very locked down.

I'll see how far I can get.

(and as you can see our email client is top-reply)

----- Original Message -----
From: scons-dev at scons.org
To: scons-dev at scons.org
At: 6/21 17:02:49

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
_______________________________________________
Scons-dev mailing list
Scons-dev at scons.org
http://two.pairlist.net/mailman/listinfo/scons-dev



More information about the Scons-dev mailing list