discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Make -j<N> should now be working


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Make -j<N> should now be working
Date: Fri, 11 Aug 2006 12:51:38 -0700
User-agent: Mutt/1.5.9i

On Fri, Aug 11, 2006 at 10:03:49AM -0700, Jan Schiefer wrote:
>
> I know I might be starting a holy war here, but  I believe that a better 
> way to do this reliably is for the top-level Makefile to include the 
> lower-level ones, which just state the dependencies for the particular 
> module. All the actual work is controlled by a single instance of make, 
> which has the whole picture of the dependencies and can schedule 
> accordingly. That doesn't preclude building individual modules, as they 
> can be stated as sub-targets and built individually.
> 
> A reference to the landmark paper "Recursive make considered harmful" 
> may be in order 
> (http://www.pcug.org.au/~millerp/rmch/recu-make-cons-harm.html). This is 
> almost 10 years old, but still well worth reading.
> 
> I just wondered whether this was on anybody else's radar.

No holy war here.  Johnathan and I were talking about this a couple of
weeks ago.  I agree that a non-recursive-make-solution is probably the
right path.  If you're game, I'd be delighted to accept a patch which
"does the right thing".  Automake is supposed to have (some) support for
doing this.  We thought that doing the conversion in the midst of the
migration was a bit more than we wanted to bite off.

> Cheers,
>    Jan

Eric




reply via email to

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