Re: Meson build updates

Tristan Partin <tristan@neon.tech>

From: "Tristan Partin" <tristan@neon.tech>
To: "Alvaro Herrera" <alvherre@alvh.no-ip.org>
Cc: "Andres Freund" <andres@anarazel.de>, <pgsql-hackers@postgresql.org>
Date: 2023-07-12T16:55:50Z
Lists: pgsql-hackers
On Wed Jul 12, 2023 at 11:39 AM CDT, Alvaro Herrera wrote:
> On 2023-Jul-12, Tristan Partin wrote:
>
> > Attached is a patch which does just that without overriding the
> > binaries. I investigated the bin_targets stuff, but some test
> > executables get added there, so it wouldn't work out that well.
>
> This seems useful.  Maybe we should have some documentation changes to
> go with it, because otherwise it seems a bit too obscure.

Do you have a place in mind on where to document it?

> Maybe there are other subdirs where this would be useful.  ecpg maybe?
> (Much less widely used, but if it's this simple, it shouldn't be much of
> a burden)

A previous version of this patch[0] did it to all public facing
binaries. Andres wasn't super interested in that.

[0]: https://www.postgresql.org/message-id/CSPIJVUDZFKX.3KHMOAVGF94RV%40c3po

-- 
Tristan Partin
Neon (https://neon.tech)



Commits

  1. meson: Make detection of python more robust

  2. meson: Pass more feature option through to required kwargs

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

  4. meson: Fix intl misspelling

  5. meson: Use a better error message in an impossible case

  6. meson: Make some Meson style more consistent with surrounding code

  7. meson: Fix some grammar usage in Meson comments

  8. meson: Mention the correct way to disable readline support

  9. meson: Remove old comment

  10. meson: Use the not_found_dep constant

  11. meson: Attach colon to keyword argument

  12. meson: Use consistent Meson option description formats

  13. meson: Use consistent casing in Meson option descriptions

  14. meson: Remove triple-quoted strings