pgsql: Decouple C++ support in Meson's PGXS from LLVM enablement - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Decouple C++ support in Meson's PGXS from LLVM enablement
Date
Msg-id E1ve8kG-005Si4-0n@gemulon.postgresql.org
Whole thread Raw
List 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@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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: ci: Configure g++ with 32-bit for 32-bit build
Next
From: Fujii Masao
Date:
Subject: pgsql: Use IsA() macro in define.c, for sake of consistency.