qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/27] Next batch of Meson cleanups and conversions
@ 2022-02-03 17:33 Paolo Bonzini
  2022-02-03 17:33 ` [PATCH 01/27] meson: use .allowed() method for features Paolo Bonzini
                   ` (26 more replies)
  0 siblings, 27 replies; 46+ messages in thread
From: Paolo Bonzini @ 2022-02-03 17:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: marcandre.lureau

The main news here are the usage of .allowed() and .require() methods for
features.  These simplify a lot the generation of errors when features
depend on the results of compile or OS tests.  The reduction in LoC is
smaller than past conversions, but still not bad.

There aren't many tests left in configure; the most complicated ones
are for Xen and sanitizers.  The plan for configure is to host detection
logic for cross compilers, which would enable cross-compilation of pc-bios
etc. just like we do for TCG tests.

Paolo

Based-on: <20220121154134.315047-1-f4bug@amsat.org>

Marc-André Lureau (9):
  qga/vss-win32: fix midl arguments
  meson: drop --with-win-sdk
  qga/vss-win32: use widl if available
  qga/vss: use standard windows headers location
  configure, meson: replace VSS SDK checks and options with
    --enable-vss-sdk
  meson: do not make qga/vss-win32/meson.build conditional on C++
    presence
  qga/vss-win32: require widl/midl, remove pre-built TLB file
  meson: require dynamic linking for VSS support
  meson, configure: move ntddscsi API check to meson

Paolo Bonzini (18):
  meson: use .allowed() method for features
  meson: use .require() and .disable_auto_if() method for features
  configure, meson: move AVX tests to meson
  configure, meson: move membarrier test to meson
  configure, meson: move AF_ALG test to meson
  configure, meson: move libnuma detection to meson
  configure, meson: move TPM check to meson
  configure, meson: cleanup qemu-ga libraries
  configure, meson: move image format options to meson_options.txt
  configure, meson: move block layer options to meson_options.txt
  meson: define qemu_cflags/qemu_ldflags
  configure, meson: move some default-disabled options to
    meson_options.txt
  configure, meson: move coroutine options to meson_options.txt
  configure, meson: move smbd options to meson_options.txt
  configure, meson: move guest-agent, tools to meson
  meson: refine check for whether to look for virglrenderer
  configure, meson: move OpenGL check to meson
  configure, meson: move CONFIG_IASL to a Meson option

 backends/tpm/meson.build           |  14 +-
 block/meson.build                  |  51 ++-
 configure                          | 638 +----------------------------
 contrib/vhost-user-gpu/meson.build |   3 +-
 crypto/meson.build                 |   6 +-
 docs/devel/kconfig.rst             |   2 +-
 docs/meson.build                   |   2 -
 hw/acpi/meson.build                |   4 +-
 meson.build                        | 445 +++++++++++++-------
 meson_options.txt                  |  66 +++
 migration/meson.build              |   4 +-
 net/slirp.c                        |  16 +-
 qga/commands-win32.c               |   6 +-
 qga/meson.build                    |  55 ++-
 qga/vss-win32/install.cpp          |   2 +-
 qga/vss-win32/meson.build          |  52 +--
 qga/vss-win32/provider.cpp         |   4 +-
 qga/vss-win32/qga-vss.tlb          | Bin 1528 -> 0 bytes
 qga/vss-win32/requester.cpp        |   4 +-
 qga/vss-win32/vss-common.h         |   6 +-
 scripts/meson-buildoptions.py      |   2 +
 scripts/meson-buildoptions.sh      |  92 +++++
 softmmu/meson.build                |   5 +-
 tests/Makefile.include             |   2 +-
 tests/check-block.sh               |   4 -
 tests/meson.build                  |   2 +-
 tests/qemu-iotests/meson.build     |   2 +-
 tests/unit/meson.build             |   6 +-
 tools/meson.build                  |  31 +-
 ui/meson.build                     |  16 +-
 util/meson.build                   |   4 +-
 31 files changed, 637 insertions(+), 909 deletions(-)
 delete mode 100644 qga/vss-win32/qga-vss.tlb

-- 
2.34.1



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

end of thread, other threads:[~2022-02-08 13:08 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-03 17:33 [PATCH 00/27] Next batch of Meson cleanups and conversions Paolo Bonzini
2022-02-03 17:33 ` [PATCH 01/27] meson: use .allowed() method for features Paolo Bonzini
2022-02-04  3:47   ` Richard Henderson
2022-02-03 17:33 ` [PATCH 02/27] meson: use .require() and .disable_auto_if() " Paolo Bonzini
2022-02-03 17:33 ` [PATCH 03/27] configure, meson: move AVX tests to meson Paolo Bonzini
2022-02-04  4:07   ` Richard Henderson
2022-02-03 17:33 ` [PATCH 04/27] configure, meson: move membarrier test " Paolo Bonzini
2022-02-03 17:33 ` [PATCH 05/27] configure, meson: move AF_ALG " Paolo Bonzini
2022-02-03 17:33 ` [PATCH 06/27] configure, meson: move libnuma detection " Paolo Bonzini
2022-02-03 17:33 ` [PATCH 07/27] configure, meson: move TPM check " Paolo Bonzini
2022-02-03 17:33 ` [PATCH 08/27] configure, meson: cleanup qemu-ga libraries Paolo Bonzini
2022-02-03 17:33 ` [PATCH 09/27] configure, meson: move image format options to meson_options.txt Paolo Bonzini
2022-02-03 17:33 ` [PATCH 10/27] configure, meson: move block layer " Paolo Bonzini
2022-02-03 17:33 ` [PATCH 11/27] meson: define qemu_cflags/qemu_ldflags Paolo Bonzini
2022-02-04  5:08   ` Philippe Mathieu-Daudé via
2022-02-03 17:33 ` [PATCH 12/27] configure, meson: move some default-disabled options to meson_options.txt Paolo Bonzini
2022-02-03 17:33 ` [PATCH 13/27] configure, meson: move coroutine " Paolo Bonzini
2022-02-03 17:33 ` [PATCH 14/27] configure, meson: move smbd " Paolo Bonzini
2022-02-03 17:33 ` [PATCH 15/27] configure, meson: move guest-agent, tools to meson Paolo Bonzini
2022-02-03 17:33 ` [PATCH 16/27] meson: refine check for whether to look for virglrenderer Paolo Bonzini
2022-02-03 17:33 ` [PATCH 17/27] configure, meson: move OpenGL check to meson Paolo Bonzini
2022-02-03 17:33 ` [PATCH 18/27] qga/vss-win32: fix midl arguments Paolo Bonzini
2022-02-08 11:13   ` Konstantin Kostiuk
2022-02-08 11:20     ` Konstantin Kostiuk
2022-02-03 17:33 ` [PATCH 19/27] meson: drop --with-win-sdk Paolo Bonzini
2022-02-03 17:33 ` [PATCH 20/27] qga/vss-win32: use widl if available Paolo Bonzini
2022-02-08 11:14   ` Konstantin Kostiuk
2022-02-08 11:20     ` Konstantin Kostiuk
2022-02-03 17:33 ` [PATCH 21/27] qga/vss: use standard windows headers location Paolo Bonzini
2022-02-04  5:16   ` Philippe Mathieu-Daudé via
2022-02-08 11:21     ` Konstantin Kostiuk
2022-02-03 17:33 ` [PATCH 22/27] configure, meson: replace VSS SDK checks and options with --enable-vss-sdk Paolo Bonzini
2022-02-03 18:07   ` Marc-André Lureau
2022-02-03 17:33 ` [PATCH 23/27] meson: do not make qga/vss-win32/meson.build conditional on C++ presence Paolo Bonzini
2022-02-08 11:14   ` Konstantin Kostiuk
2022-02-08 11:20     ` Konstantin Kostiuk
2022-02-03 17:33 ` [PATCH 24/27] qga/vss-win32: require widl/midl, remove pre-built TLB file Paolo Bonzini
2022-02-04  5:18   ` Philippe Mathieu-Daudé via
2022-02-08 11:21     ` Konstantin Kostiuk
2022-02-03 17:33 ` [PATCH 25/27] meson: require dynamic linking for VSS support Paolo Bonzini
2022-02-04  5:19   ` Philippe Mathieu-Daudé via
2022-02-08 11:23     ` Konstantin Kostiuk
2022-02-03 17:33 ` [PATCH 26/27] meson, configure: move ntddscsi API check to meson Paolo Bonzini
2022-02-08 11:15   ` Konstantin Kostiuk
2022-02-08 11:20     ` Konstantin Kostiuk
2022-02-03 17:33 ` [PATCH 27/27] configure, meson: move CONFIG_IASL to a Meson option Paolo Bonzini

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