bug-make
[Top][All Lists]
Advanced

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

Re: new feature idea: ingesting processed rulesets


From: Henrik Carlqvist
Subject: Re: new feature idea: ingesting processed rulesets
Date: Tue, 23 May 2023 19:16:49 +0200

> > On May 23, 2023, at 5:13 AM, Zoltán Turányi
> > <zoltan.turanyi@ericsson.com> wrote:
> > I use make with autotools in multiple directories and have observed that
> > parallel builds are limited to each directory, as autotools invoked make
> > separately for each directory.

In my experience, if make is called recursively correctly with "$(MAKE)"
rather than with a  new non-parallell invocation of "make" this is a
non-problem as all parallell jobs will be put in the recursive call of make
which needs it.

On Tue, 23 May 2023 12:07:51 -0400
"David A. Wheeler" <dwheeler@dwheeler.com> wrote: 
> The solution is to *NOT* use recursive make. Have *ONE* process run the
> makefile, with the correct data. Now you can enable parallel jobs, and have
> it run really quickly, because the make process has the correct information.
> Using this approach you can routinely run large make jobs in a fraction of a
> second.

If you prefer to do it that way, you can have your top Makefile include all
sub.mk files in the directory structure that it is able to find.

regards Henrik



reply via email to

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