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: Peter Eisentraut <peter@eisentraut.org>
Cc: Tristan Partin <tristan@partin.io>, pgsql-hackers <pgsql-hackers@postgresql.org>, Andres Freund <andres@anarazel.de>
Date: 2025-11-07T16:19:56Z
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 Fri, 7 Nov 2025 at 16:39, Peter Eisentraut <peter@eisentraut.org> wrote:
> The AC_PROG_CXX macro sets CXX to g++ if no C++ compiler is found.  Then
> a PGXS user would at least get an error message about g++ not found and
> they can fix it by installing it.  Maybe we should do that under Meson too.

I think that sounds reasonable.

(although I think using c++ instead of g++ would make more sense
though, but that seems like a separate thread as it would also apply
to that autoconf code)