Re: Patch for Makefile race against current cvs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Klaus Naumann <knaumann(at)gmx-ag(dot)de>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Patch for Makefile race against current cvs
Date: 2001-11-09 04:07:05
Message-ID: 18882.1005278825@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Klaus Naumann <knaumann(at)gmx-ag(dot)de> writes:
> attached is a patch which kills a race condition in the current Makefile
> system. The Problem occurs if you compile with make -j3 (as many ppl
> with Dual CPU Systems will do).
> Removing the y.tab.X file is not a good idea as this will trigger
> a second compile in the make install stage ...

Why? y.tab.X are not make targets, only intermediate files, so I don't
see why removing them will create any problem. And I don't see why
turning them into make targets as your patch does is a good idea.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2001-11-09 04:08:17 Re: Small FK patch to deal with tables without oids
Previous Message Bruce Momjian 2001-11-09 04:04:17 Re: Call for objections: revision of keyword classification