Skip to content

Upgrade Meson to 0.57.x

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hexagon: do not specify Python scripts as inputstarget/hexagon/meson.build+10 -203 replies
2/4meson: bump submodule to 0.57.1meson+1 -10 replies
3/4meson: switch minimum meson version to 0.57.0configure docs/meson.build meson.build +5 more+40 -490 replies
4/4hexagon: use env keyword argument to pass PYTHONPATHtarget/hexagon/meson.build+2 -11 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchMarc-André LureauPhilippe Mathieu-DaudéRichard Henderson
1/4R-b
2/4
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] Upgrade Meson to 0.57.x

While Meson 0.57 was already tested with QEMU prior to the release, it had a few regressions so I opted for waiting until a few weeks after 0.57.1. This way, distros that want to avoid the bundled versions of Meson do not have to deal with the bugs in 0.57.

There are some new features and changes that are of interest for QEMU:

- there is a new "env" keyword argument to custom_target, which is nice to have in the hexagon target. This is handled by patches 1 and 4; patch 1 also fixes some Windows portability issues, which currently are masked by not having a softmmu target for hexagon.

- that build.ninja sorting order is stable and rerunning meson will not trigger a full rebuild. Unfortunately this is not enough to avoid full rebuilds in subsequent CI pipeline phases, those seem to be caused by "wrong" timestamps after a checkout (see for example
https://gitlab.com/gitlab-org/gitlab/-/issues/234078).

- with the new version it is possible to use "meson test" to run the QEMU testsuite. This is not yet done by default, and it won't be for 6.0, but you are encouraged to try it out.

- there is an easier method to load a project's version from an external file

Paolo Bonzini (4):
hexagon: do not specify Python scripts as inputs
meson: bump submodule to 0.57.1
meson: switch minimum meson version to 0.57.0
hexagon: use env keyword argument to pass PYTHONPATH

 configure                     |  7 +----
 docs/meson.build              | 12 ++++----
 meson                         |  2 +-
 meson.build                   | 54 ++++++++++++++++-------------------
 plugins/meson.build           |  4 +--
 target/hexagon/meson.build    | 31 +++++++-------------
 tests/meson.build             |  2 +-
 tests/qapi-schema/meson.build |  4 +--
 tests/qtest/meson.build       |  2 +-
 trace/meson.build             |  4 +--
 10 files changed, 52 insertions(+), 70 deletions(-)
Signature · 1 line
2.29.2