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

From Andres Freund
Subject Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql
Date
Msg-id 20220930170114.onfh4c54tgdeuzol@awork3.anarazel.de
Whole thread Raw
In response to Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql  (Andres Freund <andres@anarazel.de>)
Responses Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql
List pgsql-hackers
Hi,

On 2022-09-30 08:59:53 -0700, Andres Freund wrote:
> On 2022-09-30 11:45:35 -0400, Tom Lane wrote:
> > Andres Freund <andres@anarazel.de> writes:
> > > One concern with that is that default would also apply to windows - autoconf
> > > didn't have to care about that. I just tried it, and it "just" ends up
> > > installing it into c:/usr/local/pgsql (assuming the build dir is in
> > > c:/<something>).  I think that's something we could live with, but it's worth
> > > thinking about.
> > 
> > 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.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Question: test "aggregates" failed in 32-bit machine
Next
From: Tom Lane
Date:
Subject: Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql