qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paolo Bonzini
Subject: [PATCH 0/4] Upgrade Meson to 0.57.x
Date: Wed, 10 Mar 2021 11:49:33 +0100

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(-)

-- 
2.29.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]