pgsql: meson: Tie adding C++ support to the llvm Meson option

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: Tie adding C++ support to the llvm Meson option
Date: 2023-07-12 23:27:10
Message-ID: E1qJjEk-0005C7-Lg@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

meson: Tie adding C++ support to the llvm Meson option

In the event the llvm option is defined to be 'auto', it is possible
that the host machine might not have a C++ compiler. If that is the
case, then we shouldn't continue reaching for the llvm dependency.

To make it easier to understand the case where LLVM support is disabled due to
lacking a C++ compiler, add a message noting that fact.

Author: Tristan Partin <tristan(at)neon(dot)tech>
Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://postgr.es/m/CSPIJVUDZFKX.3KHMOAVGF94RV@c3po
Backpatch: 16-, where meson support was added

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7a7f13afee9229fe738c390d39aa44c394400c04

Modified Files
--------------
meson.build | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2023-07-12 23:27:48 Re: pgsql: Integrate pg_bsd_indent into our build/test infrastructure.
Previous Message Daniel Gustafsson 2023-07-12 17:43:14 pgsql: doc: Clarify the errhint example