Re: Fwd: [RFC]serialize the output of parallel make?

2010-08-03 Thread Chiheng Xu
erator on the blog, or here: > > http://www.electric-cloud.com/products/electricaccelerator.php > > Eric Melski > Architect > Electric Cloud, Inc. > http://blog.electric-cloud.com/ > Excellent ! -- Chiheng Xu Wuhan,China ___ B

Re: Fwd: [RFC]serialize the output of parallel make?

2010-08-03 Thread Chiheng Xu
l order" of shells is determined by the dependence DAG, it may be unique for a given dependence DAG. Shells can be issued and completed at random order(only need satisfying the dependence relation). But make can print their outputs strictly in their "s

Re: Fwd: [RFC]serialize the output of parallel make?

2010-08-02 Thread Chiheng Xu
parallelism of CPU is transparent to programmer. What I want is transparent "parallel make". Make can issue multiple shells simultaneously, but print their outputs in the same order as in a serial make. -- Chiheng Xu Wuhan,China ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make

Fwd: [RFC]serialize the output of parallel make?

2010-07-30 Thread Chiheng Xu
-- Forwarded message -- From: Chiheng Xu Date: Fri, Jul 30, 2010 at 6:02 PM Subject: Re: [RFC]serialize the output of parallel make? To: Tim Murphy On Fri, Jul 30, 2010 at 5:54 PM, Tim Murphy wrote: > Hi, > > The cost to the system of even starting a shell to invoke

Re: [RFC]serialize the output of parallel make?

2010-07-30 Thread Chiheng Xu
On Fri, Jul 30, 2010 at 6:01 PM, Howard Chu wrote: > Chiheng Xu wrote: >> >> On Fri, Jul 30, 2010 at 5:35 PM, Eli Zaretskii  wrote: >>> >>> I asked for an example.  Could you please show a "messy" output and >>> the output you'd like to h

Re: [RFC]serialize the output of parallel make?

2010-07-30 Thread Chiheng Xu
Hello, I'm A, I am from Earth. B: The moon is my home. C: Welcome to Mars, It's an amazing planet. parallely make : the output of A, B, C programs interleave : C: Welcome to B: The moon is my A: Hello, I'm A, I am from Earth.home.Ma

Re: [RFC]serialize the output of parallel make?

2010-07-30 Thread Chiheng Xu
On Fri, Jul 30, 2010 at 5:31 PM, Chiheng Xu wrote: > On Fri, Jul 30, 2010 at 5:27 PM, Tim Murphy wrote: > >> No, I understand better than you think as I do huge parallel builds every >> day. >> >> The shell wrapper buffers the recipe output and then grabs a s

Re: [RFC]serialize the output of parallel make?

2010-07-30 Thread Chiheng Xu
completed and is in the process of outputting to the stdout then it > has to wait a few microseconds. The use of semaphore may impair performance. -- Chiheng Xu Wuhan,China ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make

Re: [RFC]serialize the output of parallel make?

2010-07-30 Thread Chiheng Xu
parallel, and the output is produced in the order of their execution > (modulo buffering issues).  What would serialization look like in this > context?  Can someone show a simple example? > Parallelly invoked shells(and commands the shells invoke) may print to output randomly, render the output

Re: [RFC]serialize the output of parallel make?

2010-07-30 Thread Chiheng Xu
; time of every build step so that you can see what affects performance. Sorry, I don't understand this. You probably misunderstand the meaning of "serialization of output" and "parallel make". -- Chiheng Xu Wuhan,China _

Re: [RFC]serialize the output of parallel make?

2010-07-30 Thread Chiheng Xu
On Fri, Jul 30, 2010 at 3:45 PM, Philip Guenther wrote: > On Thu, Jul 29, 2010 at 11:29 PM, Chiheng Xu wrote: > ... >> My suggestion is that you can implement it as an optional command line >> option(like -j), and on one or two primary platforms(Linux/Windows), >> ins

Re: [RFC]serialize the output of parallel make?

2010-07-29 Thread Chiheng Xu
On Fri, Jul 30, 2010 at 1:26 PM, Paul Smith wrote: > On Fri, 2010-07-30 at 09:59 +0800, Chiheng Xu wrote: >> As parallel make are becoming more and more popular,  can make >> serialize the output of parallel make? >> >> Make can redirect every parallelly issued shell&

[RFC]serialize the output of parallel make?

2010-07-29 Thread Chiheng Xu
As parallel make are becoming more and more popular, can make serialize the output of parallel make? Make can redirect every parallelly issued shell's output to an temporary file, and output the stored output serially, as if in a serial make. -- Chiheng Xu Wuhan,