pgsql: meson: Add basic PGXS compatibility

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: Add basic PGXS compatibility
Date: 2022-12-07 03:05:56
Message-ID: E1p2kkt-002Jdz-IO@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

meson: Add basic PGXS compatibility

Generate a Makefile.global that's complete enough for PGXS to work for some
extensions. It is likely that this compatibility layer will not suffice for
every extension and not all platforms - we can expand it over time.

This allows extensions to use a single buildsystem across all the supported
postgres versions. Once all supported PG versions support meson, we can remove
the compatibility layer.

Reviewed-by: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Discussion: https://postgr.es/m/20221005200710.luvw5evhwf6clig6@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5bdd0cfb91036b396935fad289c627602a00130c

Modified Files
--------------
meson.build | 8 +-
meson_options.txt | 3 +
src/common/meson.build | 4 +-
src/include/meson.build | 10 +-
src/makefiles/meson.build | 260 ++++++++++++++++++++++++++++++++++++++++++++++
src/meson.build | 37 +++++++
6 files changed, 311 insertions(+), 11 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2022-12-07 11:43:55 pgsql: Update outdated comment in ApplyRetrieveRule
Previous Message Michael Paquier 2022-12-07 00:12:12 pgsql: Generate pg_stat_get*() functions for databases using macros