Re: buildfarm + meson - Mailing list pgsql-hackers

From Andres Freund
Subject Re: buildfarm + meson
Date
Msg-id 20230308022621.65d4sp7kbbb5s6k3@awork3.anarazel.de
Whole thread Raw
In response to Re: buildfarm + meson  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: buildfarm + meson
List pgsql-hackers
Hi,

On 2023-02-23 06:27:23 -0500, Andrew Dunstan wrote:
> Yeah. For touch I think we can probably just get rid of this line in the
> root meson.build:
> 
> touch = find_program('touch', native: true)

Yep.

> For cp there doesn't seem to be a formal requirement, but there is a recipe
> in src/common/unicode/meson.build that uses it, maybe that's what caused the
> failure. On Windows/msvc we could just use copy instead, I think.

I don't know about using copy, it's very easy to get into trouble due to
interpreting forward slashes as options etc. I propose that for now we just
don't support update-unicode if cp isn't available - just as already not
available when wget isn't available.

Planning to apply something like the attached soon, unless somebody opposes
that plan.


Other unix tools we have a hard requirement on right now:
- sed - would be pretty easy to replace with something else
- tar, gzip - just for tests

I'm not sure it's worth working on not requiring those.


There's also flex, bison, perl, but those will stay a hard requirement for a
while longer... :)

Greetings,

Andres Freund

Attachment

pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: Add LZ4 compression in pg_dump
Next
From: "David G. Johnston"
Date:
Subject: Re: psql: Add role's membership options to the \du+ command