Re: Patch for Makefile race against current cvs

From: Klaus Naumann <knaumann(at)gmx-ag(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Patch for Makefile race against current cvs
Date: 2001-11-09 17:15:12
Message-ID: Pine.LNX.4.40.0111091810470.8340-100000@kn.technik.gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Fri, 9 Nov 2001, Tom Lane wrote:

> Klaus Naumann <knaumann(at)gmx-ag(dot)de> writes:
> > It is ... the problem is that with the current Makefile there
> > are always two files which need the .y files
> > (i.e. preproc.c and preproc.h). If you now do a make -j3,
> > make will start things in parallel.
>
> But they're generated by the *same action*. If make runs the same
> action twice in parallel, it's make that is broken. I think your
> gripe is directed to the wrong place.

I don't have any gripe ! I just wanted to help a good (at least
as I thought) project ...

About the other thing:
This is GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
On Debian/Woody Linux. So well, this make runs these things in
parallel.
Also even if it would be make's fault I don't see what my patch makes
worse. But if you don't want to apply it, you don't apply it.

Later, Klaus

--
Klaus Naumann
Systems Administration
GMX Aktiengesellschaft
Riesstrasse 17, 80992 München
Telefon +49.89.143 39-0
Telefax +49.89.143 39-100
mailto:knaumann(at)gmx-ag(dot)de
http://www.gmx.net/

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2001-11-09 17:46:16 Re: Enhanced index details using \d in psql
Previous Message Tom Lane 2001-11-09 17:09:22 Re: Patch for Makefile race against current cvs