pgsql: Decouple C++ support in Meson's PGXS from LLVM enablement

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Decouple C++ support in Meson's PGXS from LLVM enablement
Date: 2026-01-09 09:25:25
Message-ID: E1ve8kG-005Si4-0n@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)partin(dot)io>
Author: Jelte Fennema-Nio <postgres(at)jeltef(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2026-01-09 11:24:58 pgsql: Use IsA() macro in define.c, for sake of consistency.
Previous Message Peter Eisentraut 2026-01-09 08:08:42 pgsql: meson: Rename cpp variable to cxx