meson: pass --no-pager to meson configure command

The `meson configure` command is used in `.gitlab-ci/meson/build.sh` to
show a summary of the build configuration, however when the script is
re-used locally on systems when there is a pager the commands blocks
for user input, which can be annoying.

Pass the `--no-pager` option to `meson configure`, so that it never
blocks for user input.

This does not change the behavior in the CI, it just makes the script run
uninterrupted also on local invocations.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34289>
This commit is contained in:
Antonio Ospite
2025-03-27 16:34:36 +01:00
parent 8b3056343f
commit 864ae91392

View File

@@ -83,7 +83,7 @@ if [ -n "$HOST_BUILD_OPTIONS" ]; then
section_switch meson-host-build "meson: host build"
meson configure
meson configure --no-pager
ninja
ninja install
popd
@@ -186,7 +186,7 @@ meson setup _build \
-D backend_max_links=${MAX_LD} \
${EXTRA_OPTION}
cd _build
meson configure
meson configure --no-pager
uncollapsed_section_switch meson-build "meson: build"