Re: minimum Meson version

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: minimum Meson version
Дата
Msg-id pcihqkxymuwf7bgggbwnejkbvvhd3cvtaz2lmxcjah7tsato47@rwenrbrhbfxm
обсуждение исходный текст
Ответ на Re: minimum Meson version  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,


On 2025-06-17 14:33:39 -0400, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > On 2025-06-17 13:48:33 -0400, Tom Lane wrote:
> >> RHEL 8 does include meson 0.58.2.  However, it also ships ninja 1.8.2
> >> which is too old:
> 
> > IIRC we discussed this before, in some other thread. We could make that work,
> > but at the time we didn't consider it worth working on.
> 
> Yeah, we've definitely been over that before.  I think at the time
> we were still in the mode of "get meson to work at all", and so it
> didn't seem high priority.  But it's the sort of cleanup we need
> to start thinking about if we want meson to be our only build system.

I just went over the relevant cases:

1) older ninja complains about doc/src/sgml target having multiple outputs
   (man1, man3, man7)

   I wonder if we could just make that easier by changing our scripts to
   create those directories within one man/ directory?

   Alternatively we could just use less accurate dependencies for older
   versions.


2) older ninja complains about dependency loop for snowball_create.sql

   That's easily addressed by combining the dependency output lines


3) older ninja complains about sql_help.h/.c

   Not sure what the best way is here, one way would be to create the two
   files in separate invocations.


After hacking up those three cases it seems to work here.

Greetings,

Andres Freund



В списке pgsql-hackers по дате отправления: