From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Decouple C++ support in Meson's PGXS from LLVM enablement
Date: Fri, 09 Jan 2026 09:25:25 +0000
Message-ID: <E1ve8kG-005Si4-0n@gemulon.postgresql.org> (raw)
Decouple C++ support in Meson's PGXS from LLVM enablement
This is important for Postgres extensions that are written in C++,
such as pg_duckdb, which uses PGXS as the build system currently. In
the autotools build, C++ is not coupled to LLVM. If the autotools
build is configured without --with-llvm, the C++ compiler and the
various flags get persisted into the Makefile.global.
Author: Tristan Partin <tristan@partin.io>
Author: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion: https://www.postgresql.org/message-id/flat/D98JHQF7H2A8.VSE3I4CJBTAB%40partin.io
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/69d76fb2ab788d1715c82aece7b1dff10f483882
Modified Files
--------------
meson.build | 29 ++++++++++++++++++-----------
src/include/meson.build | 8 +++++++-
src/makefiles/meson.build | 3 +--
3 files changed, 26 insertions(+), 14 deletions(-)
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 using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Decouple C++ support in Meson's PGXS from LLVM enablement
In-Reply-To: <E1ve8kG-005Si4-0n@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