[Top][All Lists]

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

Re: Avoid certain spurious `testsuite' rebuilds

From: Stepan Kasal
Subject: Re: Avoid certain spurious `testsuite' rebuilds
Date: Sun, 9 Apr 2006 17:09:59 +0200
User-agent: Mutt/1.4.1i


On Wed, Apr 05, 2006 at 04:26:22PM -0700, Paul Eggert wrote:
> Noah Misch <address@hidden> writes:
> > With this patch, runs for each edit in lib/autoconf/*.m4
> > but only touches output files that have changed.  This eliminates
> > the spurious rebuilds.
> I've written my fair share of patches that do something similar, for
> other programs, and have often lived to regret it.  I'd rather avoid
> this sort of "file X is actually a time stamp for file Y" business
> unless the efficiency issue really is a major one.

I have created a variation of Noah's patch; please find it attached

It doesn't use any stamp files.  The idea is simple: `testsuite' is
generated from handwritten *.at files and from Autoconf sources by and Autom4te.

The generated *.at files are intermediate files, and the (primary)
make no longer uses them.

In order to avoid spurious rebuilds, doesn't touch *.at
files if they haven't changed (Noah's code), and a secondary make
is then called which decides whether an Autom4te run is necessary.

Paul, would you accept this patch?  (Post 2.60, of course.)

Have a nice day,

Attachment: autoconf-20060409-testsuite.patch
Description: Text document

reply via email to

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