[Top][All Lists]

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

Re: Parallel builds and SUBDIRS

From: Harlan Stenn
Subject: Re: Parallel builds and SUBDIRS
Date: Sat, 18 May 2002 02:14:59 -0400
User-agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd)

I agree with you, and I agree with you.

This project has several hundred subdirs and folks want to be able to go to
any subdir and "make".

Getting there from here will be Interesting, and will take a while.

I'm looking for interim solutions.

> The Right Way to do this is to include all the
> subdir makefile fragments into one big happy
> make; then no special locking is needed.
> (A la "recursive make considered harmful".)
> Boy, that's a big change, though.
> - Dan
> -----Original Message-----
> From: Harlan Stenn
> To: address@hidden
> Sent: 5/17/2002 5:41 PM
> Subject: Parallel builds and SUBDIRS
> First, I'm not saying this is a good idea.
> I'm working on a project where Somebody decided it would be a feature to
> hack the automake templates to permit subdirs to be built in parallel.
> They implemented an additional level of locking to prevent, for example,
> a
> library that is needed by multiple subdirs from being built
> simultaneously.
> I'm wondering if there is benefit to allowing SUBDIRS to be build in
> parallel by option (or default), and wondering if it's possible,
> reasonable,
> and not too difficult to use dependency lines in the "parent"
> to
> control serialization, ie:
>  SUBDIRS = include lib bar baz foo
>  lib: include
>  bar baz foo: lib
> so that in a parallel build situation, we'd build include first, then
> lib,
> then bar, baz and foo in parallel.
> Comments?
> H

reply via email to

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