Re: meson oddities - Mailing list pgsql-hackers

From Robert Haas
Subject Re: meson oddities
Date
Msg-id CA+TgmoaO8Jxgn+gCTZf43jbnmpDRyGARd8LJnEC20n1SPNNgnQ@mail.gmail.com
Whole thread Raw
In response to Re: meson oddities  (Andres Freund <andres@anarazel.de>)
Responses Re: meson oddities
List pgsql-hackers
On Wed, Jan 4, 2023 at 2:35 PM Andres Freund <andres@anarazel.de> wrote:
> > I think we should get the two build systems to produce the same installation
> > layout when given equivalent options.
>
> I'm not convinced that that's the right thing to do. Distributions have
> helper infrastructure for buildsystems - why should we make it harder for them
> by deviating further from the buildsystem defaults?

If we don't do as Peter suggests, then any difference between the
results of one build system and the other could either be a bug or an
intentional deviation. There will be no easy way to know which it is.
And if or when people switch build systems, stuff will be randomly
different, and they won't understand why.

I hear your point too. It's unpleasant for you to spend a lot of
effort overriding meson's behavior if the result is arguably worse
than the default, and it has the effect of carrying forward in
perpetuity hacks that may not have been a good idea in the first
place, or may not be a good idea any more. Those seem like valid
concerns, too.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: pgsql: Delay commit status checks until freezing executes.
Next
From: Andres Freund
Date:
Subject: Re: Getting an error if we provide --enable-tap-tests switch on SLES 12