What's our minimum ninja version?

Started by Tom Lanealmost 2 years ago2 messageshackers
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

installation.sgml says our minimum meson version is 0.54, but it's
silent on what the minimum ninja version is. What RHEL8 supplies
doesn't work for me:

$ meson setup build
...
Found ninja-1.8.2 at /usr/bin/ninja
ninja: error: build.ninja:7140: multiple outputs aren't (yet?) supported by depslog; bring this up on the mailing list if it affects you

WARNING: Could not create compilation database.

That's not a huge problem in itself, but I think we should figure
out what's the minimum version that works, and document that.

regards, tom lane

#2Andres Freund
andres@anarazel.de
In reply to: Tom Lane (#1)
Re: What's our minimum ninja version?

Hi,

On 2024-04-15 20:26:49 -0400, Tom Lane wrote:

installation.sgml says our minimum meson version is 0.54, but it's
silent on what the minimum ninja version is. What RHEL8 supplies
doesn't work for me:

Yea. There was some thread where we'd noticed that, think you were on that
too.

We could probably work around the issue, if we needed to, possibly at the
price of a bit more awkward notation. But I'm inclined to just document it.

$ meson setup build
...
Found ninja-1.8.2 at /usr/bin/ninja
ninja: error: build.ninja:7140: multiple outputs aren't (yet?) supported by depslog; bring this up on the mailing list if it affects you

WARNING: Could not create compilation database.

That's not a huge problem in itself, but I think we should figure
out what's the minimum version that works, and document that.

Looks like it's 1.10, released 2020-01-27.

Greetings,

Andres Freund