From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Klaus Naumann <knaumann(at)gmx-ag(dot)de>, <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: Patch for Makefile race against current cvs |
Date: | 2001-11-12 19:23:00 |
Message-ID: | Pine.LNX.4.30.0111121943540.640-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Tom Lane writes:
> Also, I'm still feeling that we are missing something fundamental about
> parallel make. Surely there's got to be *some* interlock in make that
> prevents multiple subjobs from executing the same rule in parallel.
There is, but remember that the two-target rule we're looking at is
actually two separate rules written in abbreviated form. And under that
pretext, the two rules are lying: They don't generate exactly the file
they have as the target. Unfortunately, there isn't a right way to fix
that.
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.
--
Peter Eisentraut peter_e(at)gmx(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-11-12 19:23:23 | Re: [ODBC] MD5 support for ODBC |
Previous Message | Peter Eisentraut | 2001-11-12 19:22:13 | Re: Patch for Makefile race against current cvs |