Re: Meson build updates

2023-10-20 Thread Andres Freund
Hi, On 2023-07-12 18:53:03 -0500, Tristan Partin wrote: > Did you need anything more from the "Make finding pkg-config(python3) > more robust" patch? That one doesn't seem to have been applied yet. Sorry, was overloaded at the time and then lost track of it. Pushed now! Greetings, Andres Freund

Re: Meson build updates

2023-07-12 Thread Tristan Partin
Did you need anything more from the "Make finding pkg-config(python3) more robust" patch? That one doesn't seem to have been applied yet. Thanks for your reviews thus far. -- Tristan Partin Neon (https://neon.tech)

Re: Meson build updates

2023-07-12 Thread Andres Freund
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: > > Hm. One minor disadvantage of this is that if no c++ compiler was found, you > > can't really see anything about llvm in the the output, nor in > > meson-log.txt, > > making it

Re: Meson build updates

2023-07-12 Thread Tristan Partin
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 we

Re: Meson build updates

2023-07-12 Thread Alvaro Herrera
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 cha

Re: Meson build updates

2023-07-12 Thread Tristan Partin
On Thu Jun 29, 2023 at 2:17 PM CDT, Tristan Partin wrote: > On Thu Jun 29, 2023 at 2:13 PM CDT, Andres Freund wrote: > > Hi, > > > > On 2023-06-29 14:07:19 -0500, Tristan Partin wrote: > > > I still think the overrides are important, at the very least for libpq, > > > but I will defer to your afore

Re: Meson build updates

2023-06-29 Thread Tristan Partin
On Thu Jun 29, 2023 at 2:13 PM CDT, Andres Freund wrote: > Hi, > > On 2023-06-29 14:07:19 -0500, Tristan Partin wrote: > > I still think the overrides are important, at the very least for libpq, > > but I will defer to your aforementioned decision for now. > > libpq makes sense to me, fwiw. Just do

Re: Meson build updates

2023-06-29 Thread Andres Freund
Hi, On 2023-06-29 14:07:19 -0500, Tristan Partin wrote: > I still think the overrides are important, at the very least for libpq, > but I will defer to your aforementioned decision for now. libpq makes sense to me, fwiw. Just doing it for all binaries individually didn't seem as obviously benefic

Re: Meson build updates

2023-06-29 Thread Tristan Partin
On Thu Jun 29, 2023 at 2:02 PM CDT, Andres Freund wrote: > Hi, > > On 2023-06-13 14:56:36 -0500, Tristan Partin wrote: > > I was thinking today. When you initially wrote the build, did you try > > using the src/bin/meson.build file as the place where all the binaries > > were built? As you say, mos

Re: Meson build updates

2023-06-29 Thread Tristan Partin
On Thu Jun 29, 2023 at 1:58 PM CDT, Andres Freund wrote: > 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 outda

Re: Meson build updates

2023-06-29 Thread Andres Freund
Hi, On 2023-06-13 14:56:36 -0500, Tristan Partin wrote: > I was thinking today. When you initially wrote the build, did you try > using the src/bin/meson.build file as the place where all the binaries > were built? As you say, most of the src/bin/xxx/meson.build files are > extrememly reptitive.

Re: Meson build updates

2023-06-29 Thread Andres Freund
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

Re: Meson build updates

2023-06-29 Thread Tristan Partin
On Thu Jun 29, 2023 at 12:35 PM CDT, Andres Freund wrote: > Hi, > > On 2023-06-29 13:18:21 +0200, Peter Eisentraut wrote: > > On 13.06.23 22:47, Tristan Partin wrote: > > > Forgot that I had gotten a review from a Meson maintainer. The last two > > > patches in this set are new. One is just a simpl

Re: Meson build updates

2023-06-29 Thread Andres Freund
Hi, On 2023-06-29 13:18:21 +0200, Peter Eisentraut wrote: > On 13.06.23 22:47, Tristan Partin wrote: > > Forgot that I had gotten a review from a Meson maintainer. The last two > > patches in this set are new. One is just a simple spelling correction. > > I have committed patches 0001-0006, 0008,

Re: Meson build updates

2023-06-29 Thread Tristan Partin
On Thu Jun 29, 2023 at 6:18 AM CDT, Peter Eisentraut wrote: > On 13.06.23 22:47, Tristan Partin wrote: > > Forgot that I had gotten a review from a Meson maintainer. The last two > > patches in this set are new. One is just a simple spelling correction. > > I have committed patches 0001-0006, 0008,

Re: Meson build updates

2023-06-29 Thread Peter Eisentraut
On 13.06.23 22:47, Tristan Partin wrote: Forgot that I had gotten a review from a Meson maintainer. The last two patches in this set are new. One is just a simple spelling correction. I have committed patches 0001-0006, 0008, 0010, 0013, 0014, 0016, which are all pretty much cosmetic. The fo

Re: Meson build updates

2023-06-13 Thread Tristan Partin
Forgot that I had gotten a review from a Meson maintainer. The last two patches in this set are new. One is just a simple spelling correction. -- Tristan Partin Neon (https://neon.tech) From c20ece79c625c8ca33fee26791ab40c311a5c97e Mon Sep 17 00:00:00 2001 From: Tristan Partin Date: Tue, 16 May

Re: Meson build updates

2023-06-13 Thread Tristan Partin
Wow. I didn't attach them... -- Tristan Partin Neon (https://neon.tech) From c20ece79c625c8ca33fee26791ab40c311a5c97e Mon Sep 17 00:00:00 2001 From: Tristan Partin Date: Tue, 16 May 2023 07:55:03 -0500 Subject: [PATCH v4 01/14] Remove triple-quoted strings Triple-quoted strings are for multilin

Re: Meson build updates

2023-06-13 Thread Tristan Partin
On Mon Jun 12, 2023 at 4:43 PM CDT, Tristan Partin wrote: > On Mon Jun 12, 2023 at 4:24 PM CDT, Peter Eisentraut wrote: > > On 12.06.23 20:48, Tristan Partin wrote: > > > Attached you will find a v3 with the offending commits removed. I did > > > leave the overrides in since you didn't mention it i

Re: Meson build updates

2023-06-13 Thread Tristan Partin
On Fri Jun 9, 2023 at 1:36 PM CDT, Andres Freund wrote: > On 2023-06-09 13:15:27 -0500, Tristan Partin wrote: > > On Fri Jun 9, 2023 at 11:41 AM CDT, Andres Freund wrote: > > > > From 189d3ac3d5593ce3e475813e4830a29bb4e96f70 Mon Sep 17 00:00:00 2001 > > > > From: Tristan Partin > > > > Date: Wed,

Re: Meson build updates

2023-06-12 Thread Tristan Partin
On Mon Jun 12, 2023 at 4:24 PM CDT, Peter Eisentraut wrote: > On 12.06.23 20:48, Tristan Partin wrote: > > Attached you will find a v3 with the offending commits removed. I did > > leave the overrides in since you didn't mention it in your last email. > > Patches 1-14 look ok to me. (But I didn't

Re: Meson build updates

2023-06-12 Thread Peter Eisentraut
On 12.06.23 20:48, Tristan Partin wrote: Attached you will find a v3 with the offending commits removed. I did leave the overrides in since you didn't mention it in your last email. Patches 1-14 look ok to me. (But I didn't test anything, so some caveats about whether the non-cosmetic patches

Re: Meson build updates

2023-06-12 Thread Tristan Partin
On Mon Jun 12, 2023 at 12:20 PM CDT, Andres Freund wrote: > Hi, > > On 2023-06-12 11:54:42 -0500, Tristan Partin wrote: > > On Fri Jun 9, 2023 at 1:36 PM CDT, Andres Freund wrote: > > > The biggest change to make them more usable would be to properly > > > reconfigure > > > when the contents of ma

Re: Meson build updates

2023-06-12 Thread Andres Freund
Hi, On 2023-06-12 11:54:42 -0500, Tristan Partin wrote: > On Fri Jun 9, 2023 at 1:36 PM CDT, Andres Freund wrote: > > The biggest change to make them more usable would be to properly reconfigure > > when the contents of machine file change. IIRC configure is rerun, but the > > changes aren't taken

Re: Meson build updates

2023-06-12 Thread Tristan Partin
On Fri Jun 9, 2023 at 1:36 PM CDT, Andres Freund wrote: > Hi, > > On 2023-06-09 13:15:27 -0500, Tristan Partin wrote: > > On Fri Jun 9, 2023 at 11:41 AM CDT, Andres Freund wrote: > > > I like the current version better - depending on the meson version makes > > > it > > > easy to find what needs t

Re: Meson build updates

2023-06-09 Thread Andres Freund
Hi, On 2023-06-09 13:15:27 -0500, Tristan Partin wrote: > On Fri Jun 9, 2023 at 11:41 AM CDT, Andres Freund wrote: > > I like the current version better - depending on the meson version makes it > > easy to find what needs to be removed when we upgrade the meson minimum > > version. > > I think t

Re: Meson build updates

2023-06-09 Thread Tristan Partin
On Fri Jun 9, 2023 at 11:41 AM CDT, Andres Freund wrote: > Hi, > > On 2023-05-18 10:36:59 -0500, Tristan Partin wrote: > > From b35ecb2c8dcd71608f98af1e0ec19d965099ceab Mon Sep 17 00:00:00 2001 > > From: Tristan Partin > > Date: Wed, 17 May 2023 09:40:02 -0500 > > Subject: [PATCH postgres v1 12/17

Re: Meson build updates

2023-06-09 Thread Andres Freund
Hi, On 2023-05-18 10:36:59 -0500, Tristan Partin wrote: > I took some time to look at the Meson build for Postgres. I contribute > some of the time to Meson, itself. Within this patchset you will find > pretty small changes. Most of the commits are attempting to create more > consistency with the

Re: Meson build updates

2023-06-09 Thread Tristan Partin
Received a review from a Meson maintainer. Here is a v2. -- Tristan Partin Neon (https://neon.tech) From 1ebd8acb56eb0227b09bd7536e1c88ba0059c7ad Mon Sep 17 00:00:00 2001 From: Tristan Partin Date: Tue, 16 May 2023 07:55:03 -0500 Subject: [PATCH v2 01/17] Remove triple-quoted strings Triple-quo

Meson build updates

2023-05-18 Thread Tristan Partin
Hi, I took some time to look at the Meson build for Postgres. I contribute some of the time to Meson, itself. Within this patchset you will find pretty small changes. Most of the commits are attempting to create more consistency with the surrounding code. I think there is more that can be done to