Re: [PATCH] build: speed up configure for releases
From:
Eric Blake
Subject:
Re: [PATCH] build: speed up configure for releases
Date:
Tue, 20 Mar 2012 10:35:34 -0600
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1
On 03/17/2012 03:34 AM, Jim Meyering wrote:
> Since I rarely configure without using a cache, I suspect
> that the speed difference will be negligible for me.
>
> On the other hand, for most people, even a speed-up of just
> a few seconds would probably be welcome.
>
> How about a compromise: leave the code there, but guard it with
> some new envvar setting that is normally off.
> Then add something to my-distcheck so that for at least one
> ./configure run it is enabled. That will preserve the safety net
> *and* save most people the cost of those added tests.
Cool idea - I'm playing with an m4_syscmd wrapper that conditionally
invokes the macro based on the current environment of the autoconf
process, as well as the counterpart to cfg.mk that sets the envvar.
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc Description: OpenPGP digital signature