Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Junwang Zhao <zhjwpku(at)gmail(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql
Date: 2022-09-30 17:17:37
Message-ID: 20220930171737.wiucphwutp32xsly@awork3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2022-09-30 13:13:29 -0400, Tom Lane wrote:
> Andres Freund <andres(at)anarazel(dot)de> writes:
> > On 2022-09-30 08:59:53 -0700, Andres Freund wrote:
> >> On 2022-09-30 11:45:35 -0400, Tom Lane wrote:
> >>> Can we have a platform-dependent default?
>
> >> Not easily in that spot, I think.
>
> > For background: The reason for that is that meson doesn't yet know what the
> > host/build environment is, because those can be influenced by
> > default_options. We can run programs though, so if we really want to set some
> > platform dependent default, we can.
>
> Meh. It's not like the existing MSVC script behavior is so sane
> that we should strive to retain it.

Agreed - I was just trying to give background. I'm inclined to just go for
Junwang Zhao's patch for now.

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2022-09-30 17:43:10 Re: disfavoring unparameterized nested loops
Previous Message Tom Lane 2022-09-30 17:13:29 Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql