Re: Add information about command path and version of flex in meson output

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Michael Paquier <michael(at)paquier(dot)xyz>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add information about command path and version of flex in meson output
Date: 2023-07-03 06:34:39
Message-ID: c3e80803-2382-0420-4f4d-624b95145f37@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11.04.23 07:58, Michael Paquier wrote:
> While doing a few things on Windows with meson, I have noticed that,
> while we output some information related to bison after a setup step,
> there is nothing about flex.
>
> I think that adding something about flex in the "Programs" section
> would be pretty useful, particularly for Windows as the command used
> could be "flex" as much as "win_flex.exe".

I think this would be useful.

> + flex_version = run_command(flex, '--version', check: true)
> + flex_version = flex_version.stdout().split(' ')[1].split('\n')[0]

Maybe this could be combined into one command?

Looks good otherwise.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2023-07-03 06:46:00 Re: Should heapam_estimate_rel_size consider fillfactor?
Previous Message Thomas Munro 2023-07-03 06:24:02 Re: Make uselocale protection more consistent