pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: meson: Add basic PGXS compatibility
Date: Wed, 07 Dec 2022 03:05:56 +0000
Message-ID: <E1p2kkt-002Jdz-IO@gemulon.postgresql.org> (raw)

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.eisentraut@enterprisedb.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(-)



Message-ID: <E1p2kkt-002Jdz-IO@gemulon.postgresql.org>
Permalink:  ../E1p2kkt-002Jdz-IO@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1p2kkt-002Jdz-IO@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: meson: Add basic PGXS compatibility
  In-Reply-To: <E1p2kkt-002Jdz-IO@gemulon.postgresql.org>
  References: <E1p2kkt-002Jdz-IO@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox