pgsql: meson: windows: Determine path to tmp_install + prefix using mes

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: windows: Determine path to tmp_install + prefix using mes
Date: 2022-10-01 19:42:12
Message-ID: E1oeiNI-000TDq-0R@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

meson: windows: Determine path to tmp_install + prefix using meson

Previously some paths (like c:\ or d:/) worked, but plenty others (like
/path/to or //computer/share/path) didn't. As we'd like to change the default
prefix to /usr/local/pgsql, that's a problem.

Instead of trying to do this in meson.build, call out to the implementation
meson install uses. This isn't pretty, but it's more reliable than what we had
before.

Discussion: https://postgr.es/CAEG8a3LGWE-gG6vuddmH91RORhi8gWs0mMB-hcTmP3_NVgM7dg(at)mail(dot)gmail(dot)com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d0366bfb3b211b26a997a4220757392a0c153d8d

Modified Files
--------------
meson.build | 40 ++++++++++++++++------------------------
1 file changed, 16 insertions(+), 24 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-10-01 23:59:33 pgsql: ci: macos: Reduce test concurrency
Previous Message Peter Geoghegan 2022-10-01 16:53:59 Re: pgsql: Avoid improbable PANIC during heap_update.