Re: Patch for Makefile race against current cvs - Mailing list pgsql-patches

From Tom Lane
Subject Re: Patch for Makefile race against current cvs
Date
Msg-id 19442.1005600036@sss.pgh.pa.us
Whole thread Raw
In response to Re: Patch for Makefile race against current cvs  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
Peter Eisentraut <peter_e@gmx.net> writes:
> Keep in mind that parallel make only executes the rule commands in
> parallel, it does not cause the dependency analysis to be distributed.
> In order to satisfy a dependency graph you only need to process each node
> once, and parallelism doesn't change that.

Well, the proposed patch eliminates the issue for a single sub-make,
by artificially serializing the execution of these rules.  But I'm still
concerned about what happens when a sub-make running in a different
directory sees a dependency on parse.h.  There *is* distributed
dependency analysis when you think about that scenario.

            regards, tom lane

pgsql-patches by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: ALTER TABLE RENAME fix
Next
From: Tom Lane
Date:
Subject: Re: Patch for Makefile race against current cvs