Re: Use Postgres as meson wrap subproject

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: Niyaz Hazigaleyev <hazigaleevniaz(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Elliot Haisley <elliot(dot)haisley(at)outlook(dot)com>, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: Use Postgres as meson wrap subproject
Date: 2026-01-03 01:54:59
Message-ID: a3e0f44d-8a0b-4406-accb-5682a6fdcad4@proxel.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/23/25 4:21 PM, Niyaz Hazigaleyev wrote:
> So to use Postgres as wrap subproject u need to change @SOURCE_DIR@ to meson.project_source_root() and check include_directories for all dependencies. Is there any plans to support it?

Thanks for the patch!

There was an earlier patch[1] for this from Elliot Haisley which looks
more complete that Andres seemed a bit interested in but as far as I
know no progress has been made on it recently. You could help out by
testing it out and reviewing it.

Out of curiosity since I am quite new to Meson: what is your personal
use case for wrap subprojects?

References

1.
https://www.postgresql.org/message-id/PH0PR84MB1954C7D61C4882403B8258708605A%40PH0PR84MB1954.NAMPRD84.PROD.OUTLOOK.COM

Andreas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2026-01-03 02:02:37 LLVM 22
Previous Message David Rowley 2026-01-03 01:44:59 Re: Checking join outer relation uniqueness to prevent unnecessary memoization