qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Upgrade Meson to 0.57.x
@ 2021-03-10 10:49 Paolo Bonzini
  2021-03-10 10:49 ` [PATCH 1/4] hexagon: do not specify Python scripts as inputs Paolo Bonzini
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Paolo Bonzini @ 2021-03-10 10:49 UTC (permalink / raw)
  To: qemu-devel

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-03-11 17:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-10 10:49 [PATCH 0/4] Upgrade Meson to 0.57.x Paolo Bonzini
2021-03-10 10:49 ` [PATCH 1/4] hexagon: do not specify Python scripts as inputs Paolo Bonzini
2021-03-10 10:56   ` Philippe Mathieu-Daudé
2021-03-11 13:11   ` Richard Henderson
2021-03-11 17:47     ` Paolo Bonzini
2021-03-10 10:49 ` [PATCH 2/4] meson: bump submodule to 0.57.1 Paolo Bonzini
2021-03-10 10:49 ` [PATCH 3/4] meson: switch minimum meson version to 0.57.0 Paolo Bonzini
2021-03-10 10:49 ` [PATCH 4/4] hexagon: use env keyword argument to pass PYTHONPATH Paolo Bonzini
2021-03-11 13:14   ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).