pgsql: Fallback to clang in PATH with meson

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fallback to clang in PATH with meson
Date: 2024-07-27 11:17:46
Message-ID: E1sXfQo-001Rdi-M9@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fallback to clang in PATH with meson

Some distributions put clang into a different path than the llvm
binary path.

For example, this is the case on NixOS / nixpkgs, which failed to find
clang with meson before this patch.

Author: Wolfgang Walther
Reviewed-by: Nazir Bilal Yavuz, Alvaro Herrera, Peter Eisentraut
Reviewed-by: Tristan Partin
Discussion: https://www.postgresql.org/message-id/ca8f37e1-a2c3-40e2-91f6-59c3d3652ad4@technowledgy.de
Backpatch: 16-, where meson support was added

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a32ffeebfa63dd3e6ee8f9498a7e59ebd8abba8d

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

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2024-07-27 11:46:57 pgsql: Optimize escaping of JSON strings
Previous Message Michael Paquier 2024-07-26 22:24:22 pgsql: Fix more holes with SLRU code in need of int64 for segment numbe