Re: Documentation for building with meson
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Jacob Champion <jchampion@timescale.com>
Cc: John Naylor <john.naylor@enterprisedb.com>, samay sharma <smilingsamay@gmail.com>, Justin Pryzby <pryzby@telsasoft.com>, pgsql-hackers@postgresql.org, Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Date: 2022-10-27T23:03:31Z
Lists: pgsql-hackers
Hi, On 2022-10-27 14:15:32 -0700, Jacob Champion wrote: > On Thu, Oct 27, 2022 at 1:04 AM John Naylor > <john.naylor@enterprisedb.com> wrote: > > This does not work for me in a fresh install until running > > > > meson test --suite setup > > > > In fact, we see in > > > > https://wiki.postgresql.org/wiki/Meson > > > > meson test --suite setup --suite main > > (Is there a way to declare a dependency on the setup suite in Meson, > so that we don't have to specify it manually? I was bitten by this > recently; if you make a code change and forget to run setup, it'll > recompile locally but then skip reinstallation, giving false test > results.) Tests can have dependencies, and they're correctly built. The problem however is that, for historical reasons if I understand correctly, dependencies of tests are automatically included in the default 'all' target. Which means if you just type in 'ninja', it'd automatically create the test installation - which is probably not what we want, given that that's not a fast step on some platforms. Greetings, Andres Freund
Commits
-
doc: Add installation instructions for building with meson
- 4c72102e1d45 16.0 landed
-
doc: Remove note about disk space from installation instructions
- de867c9c5379 16.0 landed
-
doc: Add missing comma
- 148e0bd4d617 16.0 landed