Re: [HACKERS] Required make version

2008-02-27 Thread Peter Eisentraut
Alvaro Herrera wrote: > I think this can be used with a conditional like > > ifneq (,$(findstring order-only,$(.FEATURES))) > ... > endif Yes, that was my thought. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---(end of broadcast)-

Re: [HACKERS] Required make version

2008-02-27 Thread Alvaro Herrera
Alvaro Herrera wrote: > How about we use order-only prerequisite only if present, and use the > ugly or undesirable way as fallback? I see that you can find out if > your Make version supports it by checking .FEATURES. I think this can be used with a conditional like ifneq (,$(findstring order-

Re: [HACKERS] Required make version

2008-02-27 Thread Alvaro Herrera
Peter Eisentraut wrote: > Using the order-only prerequisites feature, which is what is failing with the > old make version, solves item 1). > > The alternative is your suggestion > > If the dependencies > need to stay as they are, maybe we could avoid the annoyance by having > make

Re: [HACKERS] Required make version

2008-02-26 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > ... This was in response to your request > So obviously, there are a few possible solutions. We just have to > pick one we like best. Check. > We could actually query make whether it supports order-only prerequisites and > only use the developer-op

Re: [HACKERS] Required make version

2008-02-26 Thread Peter Eisentraut
Tom Lane wrote: > Andrew Dunstan <[EMAIL PROTECTED]> writes: > > only objfiles.txt uses the somewhat arcane feature that is apparently > > breaking dawn_bat - it is apparently not used anywhere else in our build > > system. > > > > Is that really the only way we can do it? Maybe Peter understands i

Re: [HACKERS] Required make version

2008-02-26 Thread Tom Lane
Andrew Dunstan <[EMAIL PROTECTED]> writes: > only objfiles.txt uses the somewhat arcane feature that is apparently > breaking dawn_bat - it is apparently not used anywhere else in our build > system. > Is that really the only way we can do it? Maybe Peter understands it but > I don't, and I'm n

Re: [HACKERS] Required make version

2008-02-26 Thread Andrew Dunstan
Tom Lane wrote: Peter Eisentraut <[EMAIL PROTECTED]> writes: There is a build farm failure now because (apparently) an old make version: http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=dawn_bat&dt=2008-02-26%2019:00:01 The new amended backend linking code needs GNU make 3.8

Re: [HACKERS] Required make version

2008-02-26 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > There is a build farm failure now because (apparently) an old make version: > http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=dawn_bat&dt=2008-02-26%2019:00:01 > The new amended backend linking code needs GNU make 3.80, released > 2002-10-03.

[HACKERS] Required make version

2008-02-26 Thread Peter Eisentraut
There is a build farm failure now because (apparently) an old make version: http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=dawn_bat&dt=2008-02-26%2019:00:01 The new amended backend linking code needs GNU make 3.80, released 2002-10-03. Should we just require that? I think the PARTIAL_L