Re: Improve prep_buildtree - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Improve prep_buildtree
Date
Msg-id 1484034.1753882498@sss.pgh.pa.us
Whole thread Raw
In response to Re: Improve prep_buildtree  (Peter Eisentraut <peter@eisentraut.org>)
Responses Re: Improve prep_buildtree
List pgsql-hackers
Peter Eisentraut <peter@eisentraut.org> writes:
> On 30.07.25 10:28, Nazir Bilal Yavuz wrote:
>> Meson looks for ${builddir}/meson-private/coredata.dat file to
>> understand if the directory is a build directory [1]. I am just
>> wondering if you tried this and found it complicated or did you try
>> something else.

> I tried things along this line, but it's not easy to have a shell "find" 
> command handle that kind of logic.

For this purpose, I think it's better for us to rely on things we
control than things Meson controls.  Adding a new top-level directory
is rare enough that I don't see a problem with needing to update
prep_buildtree.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Dagfinn Ilmari Mannsåker
Date:
Subject: Re: Support getrandom() for pg_strong_random() source
Next
From: Jeff Davis
Date:
Subject: Re: pg_dump --with-* options