This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Serialization dependencies muck up configure-on-demand
- From: Nathanael Nerode <neroden at twcny dot rr dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 23 Dec 2002 15:37:51 -0500
- Subject: Re: Serialization dependencies muck up configure-on-demand
Daniel mentioned:
>However, GNU make has the answer. We'd probably have to autoconf for
>this feature, it's quite new:
> * A new feature exists: order-only prerequisites. These
>prerequisites
> affect the order in which targets are built, but they do not
>impact
> the rebuild/no-rebuild decision of their dependents. That is to
>say,
> they allow you to require target B be built before target A,
>without
> requiring that target A will always be rebuilt if target B is
>updated.
> Patch for this feature provided by Greg McGary <greg@mcgary.org>.
>
>The syntax is:
>TARGETS : NORMAL-PREREQUISITES | ORDER-ONLY-PREREQUISITES
>
>So if that works in a test at autoconf time, we could use it.
Quite right; if configure detects that this is available, we should use
this in the Makefile rather than the existing scheme.
Unfortuntately, I'm not feeling up to coding this for a while. :-(
Would there be interest in temporarily disabling the serialization
dependencies (since .NOTPARALLEL is still there) until we can get a
better solution for all this? I'm just thinking of
"if (0)"ing them out in 'configure.in' for the time being.
--Nathanael