[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Staging broken.
From: |
David Kastrup |
Subject: |
Re: Staging broken. |
Date: |
Wed, 19 Feb 2020 11:59:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Han-Wen Nienhuys <address@hidden> writes:
>> > I think it's easier if we give up on intelligence here, and just
>> > recommend ccache.
>>
>> That does not seem like much of a help for the problem case at hand.
>
>
> Autoconf tries to leave the config.h alone, using content based checks.
>
> I assume it does this because touching config.h triggers an expensive
> global recompile in timestamp-based build systems, like make.
>
> Our GNUmakefile tries to detect changes to config.h.in using timestamps,
> but autconf (see above) won't overwrite the file unless it really changed,
> so the default doesn't do the right thing.
>
> Our comment says:
>
> # this is to prevent people from getting
> # undefined symbols when we add them to config.h.in,
> # and they blindly run "cvs update; make".
>
> the mention of CVS shows you how old this comment is.
>
> My proposal is to have configure always regenerate config.h, because
> ccache makes the full rebuild almost free, so we don't need configure's
> cleverness.
The fix I proposed would be the complicated way to achieve that.
Probably simpler is calling autoconf with the option --force in
autogen.sh.
Maybe that is what we should recommend instead in the Makefile instructions.
--
David Kastrup
- Re: Staging broken., (continued)
- Re: Staging broken., David Kastrup, 2020/02/18
- Re: Staging broken., James, 2020/02/18
- Re: Staging broken., David Kastrup, 2020/02/18
- Re: Staging broken., Jonas Hahnfeld, 2020/02/19
- Re: Staging broken., David Kastrup, 2020/02/19
- Re: Staging broken., Jonas Hahnfeld, 2020/02/19
- Re: Staging broken., David Kastrup, 2020/02/19
- Re: Staging broken., Han-Wen Nienhuys, 2020/02/19
- Re: Staging broken., David Kastrup, 2020/02/19
- Re: Staging broken., Han-Wen Nienhuys, 2020/02/19
- Re: Staging broken.,
David Kastrup <=
- Re: Staging broken., pkx166h, 2020/02/19
- Re: Staging broken., David Kastrup, 2020/02/19
- How to test 'stepmake' patch (was Re: Staging broken), James Lowe, 2020/02/23
Re: Staging broken., Han-Wen Nienhuys, 2020/02/18