Re: Meson build updates
Andres Freund <andres@anarazel.de>
Hi, On 2023-06-29 13:34:42 -0500, Tristan Partin wrote: > On Thu Jun 29, 2023 at 12:35 PM CDT, Andres Freund wrote: > > > v5-0012-Make-finding-pkg-config-python3-more-robust.patch > > > > The commit message here is clearly outdated (still talking about Python.h > > check not being required). Does the remainder actually add any robustness? > > > > I'm on board with removing unnecessary .enabled(), but from what I understand > > we don't gain anything from adding the if python3_inst.found() branch? > > Attached is a more up to date patch, which removes the old part of the > commit message. I guess robust is in the eye of the beholder. It is > definitely possible for the installation to not be found (Python.h not > existing in newer versions of Meson as an example). All my patch would > do is keep the build from crashing if and only if the installation > wasn't found. Ah - I somehow thought .find_installation().dependency() would return a not-found dependency when the install wasn't located. > > Attached my version of 0007 and 0011 (with some changes from 0012 and > > 0015). I'm running a test of those with the extended CI I have in a branch... > > Thanks for the further review. Did you by chance see my other email in > another branch of this thread[0]? > > [0]: https://www.postgresql.org/message-id/CTBSCT2V1TVP.2AUJVJLNWQVG3@gonk I had planned to, but somehow forgot. Will reply. Greetings, Andres Freund
Commits
-
meson: Make detection of python more robust
- c79ca0485a62 16.1 landed
- 41da94fd5c74 17.0 landed
-
meson: Pass more feature option through to required kwargs
- 5a7280d9880f 16.0 landed
- 47caa710cebe 17.0 landed
-
meson: Tie adding C++ support to the llvm Meson option
- 7fc064d9b70f 16.0 landed
- 7a7f13afee92 17.0 landed
-
meson: Fix intl misspelling
- b750e74e6ec3 16.0 landed
-
meson: Use a better error message in an impossible case
- 99e57663518b 16.0 landed
-
meson: Make some Meson style more consistent with surrounding code
- af492eb6d6c9 16.0 landed
-
meson: Fix some grammar usage in Meson comments
- 74668cbf0fcc 16.0 landed
-
meson: Mention the correct way to disable readline support
- f5159c734fe4 16.0 landed
-
meson: Remove old comment
- 45c88eecb4a6 16.0 landed
-
meson: Use the not_found_dep constant
- 38977dd2bdac 16.0 landed
-
meson: Attach colon to keyword argument
- c55d31e59c89 16.0 landed
-
meson: Use consistent Meson option description formats
- b2ec7f543f9e 16.0 landed
-
meson: Use consistent casing in Meson option descriptions
- 529449c379b9 16.0 landed
-
meson: Remove triple-quoted strings
- 559bdd58eb71 16.0 landed