coreutils
[Top][All Lists]
Advanced

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

Re: non-recursive make: is there a performance gain?


From: Stefano Lattarini
Subject: Re: non-recursive make: is there a performance gain?
Date: Sat, 08 Sep 2012 18:57:32 +0200

Hi Jim.

On 09/08/2012 03:29 PM, Jim Meyering wrote:
>
> But, ... surprise!  So far there is *no* improvement, and in fact a small
> penalty in this very worst case:
> 
My wild guess is that the culprit for this might be the Automake-generated
recursive make invocation in the handling of $(BUILT_SOURCES):

    all: $(BUILT_SOURCES)
            $(MAKE) $(AM_MAKEFLAGS) all-am

What happens if, after the first build, you substitute the rule above in
your Makefile with simply:

    all: all-am

? Is there any improvement?

Thanks,
  Stefano



reply via email to

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