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

Jelte Fennema-Nio <me@jeltef.nl>

From: Jelte Fennema-Nio <me@jeltef.nl>
To: Tristan Partin <tristan@partin.io>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>, Andres Freund <andres@anarazel.de>
Date: 2025-04-17T07:15:41Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Decouple C++ support in Meson's PGXS from LLVM enablement

  2. ci: Configure g++ with 32-bit for 32-bit build

  3. meson: Rename cpp variable to cxx

  4. Refactor to avoid code duplication in transformPLAssignStmt.

On Thu, 17 Apr 2025 at 03:57, Tristan Partin <tristan@partin.io> wrote:
> I spent some time exploring the Meson build a bit, and I realized that
> C++ support in PGXS is tied to LLVM enablement. Checking the autotools
> build in the configure.ac script indicates that that is not the case for
> it.

Thank you for looking into this. I didn't try the patch, but just
reading it it all looks sensible (although my meson knowledge is quite
limited). I assume you tried to build pg_duckdb with a Meson based PG
build containing this patch and pg_duckdb built correctly?