[PATCH v2 00/24] configure->meson queue for 6.2

Paolo Bonzini posted 24 patches 2 years, 6 months ago
Test checkpatch failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20211012111302.246627-1-pbonzini@redhat.com
Maintainers: Bandan Das <bsd@redhat.com>, Qiuhao Li <Qiuhao.Li@outlook.com>, Hanna Reitz <hreitz@redhat.com>, Alexander Bulekov <alxndr@bu.edu>, Kevin Wolf <kwolf@redhat.com>, Jason Wang <jasowang@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Cleber Rosa <crosa@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Darren Kenny <darren.kenny@oracle.com>, Stefan Hajnoczi <stefanha@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>, Thomas Huth <thuth@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>
Kconfig.host                  |    4 +
Makefile                      |    8 +-
audio/meson.build             |   23 +-
block/meson.build             |    2 +-
chardev/meson.build           |    2 +-
configure                     | 1263 ++-------------------------------
docs/devel/build-system.rst   |  132 ++--
docs/meson.build              |    2 +-
hw/mem/Kconfig                |    3 +
hw/mem/meson.build            |    2 +-
meson.build                   |  421 +++++++++--
meson_options.txt             |   46 +-
net/meson.build               |    6 +-
scripts/meson-buildoptions.py |  156 ++++
scripts/meson-buildoptions.sh |  269 +++++++
scripts/meson.build           |    2 +-
stubs/meson.build             |    4 +-
tests/qtest/fuzz/meson.build  |    6 +-
trace/meson.build             |   15 +-
trace/simple.c                |    2 +-
ui/meson.build                |    4 +-
util/meson.build              |    4 +-
util/qemu-thread-posix.c      |    5 +-
23 files changed, 1023 insertions(+), 1358 deletions(-)
create mode 100755 scripts/meson-buildoptions.py
create mode 100644 scripts/meson-buildoptions.sh
[PATCH v2 00/24] configure->meson queue for 6.2
Posted by Paolo Bonzini 2 years, 6 months ago
Here is my queue of test conversions to meson for 6.2.  This includes
especially:

- patches 1-5: converting audio driver detection; also adds
  --enable-* options for all audio drivers, so that they are more
  similar to other drivers

- patches 6-7: converting fuzzing configuration

- patches 8-9: converting trace backend configuration

- patches 23-24: automatically generated command line parsing
  for options in meson_options.txt

Most of these patches are months old, and I only included them now
because I had already enough issues with the version update...

v1->v2: enable netmap on non-FreeBSD [Thomas]
        fixed issue with ATOMIC64 patch ("cat" line snuck in)
        added backwards compatibility options [Marc-André]
        added "This file is generated" header [Thomas]

Marc-André Lureau (1):
  configure, meson: move Spice configure handling to meson

Paolo Bonzini (23):
  configure: remove --oss-lib
  audio: remove CONFIG_AUDIO_WIN_INT
  configure, meson: move audio driver detection to Meson
  meson: define symbols for all available audio drivers
  configure: add command line options for audio drivers
  kconfig: split CONFIG_SPARSE_MEM from fuzzing
  configure, meson: move fuzzing configuration to Meson
  trace: simple: pass trace_file unmodified to config-host.h
  trace: move configuration from configure to Meson
  configure, meson: move CONFIG_HOST_DSOSUF to Meson
  configure, meson: get HOST_WORDS_BIGENDIAN via the machine object
  configure, meson: remove CONFIG_GCOV from config-host.mak
  configure, meson: move remaining HAVE_* compiler tests to Meson
  configure, meson: move pthread_setname_np checks to Meson
  configure, meson: move libaio check to meson.build
  configure, meson: move vde detection to meson
  configure, meson: move netmap detection to meson
  configure: remove obsolete Solaris ar check
  configure, meson: move more compiler checks to Meson
  configure: remove deprecated --{enable, disable}-git-update
  configure: accept "internal" for --enable-capstone/slirp/fdt
  configure: prepare for auto-generated option parsing
  configure: automatically parse command line for meson -D options

 Kconfig.host                  |    4 +
 Makefile                      |    8 +-
 audio/meson.build             |   23 +-
 block/meson.build             |    2 +-
 chardev/meson.build           |    2 +-
 configure                     | 1263 ++-------------------------------
 docs/devel/build-system.rst   |  132 ++--
 docs/meson.build              |    2 +-
 hw/mem/Kconfig                |    3 +
 hw/mem/meson.build            |    2 +-
 meson.build                   |  421 +++++++++--
 meson_options.txt             |   46 +-
 net/meson.build               |    6 +-
 scripts/meson-buildoptions.py |  156 ++++
 scripts/meson-buildoptions.sh |  269 +++++++
 scripts/meson.build           |    2 +-
 stubs/meson.build             |    4 +-
 tests/qtest/fuzz/meson.build  |    6 +-
 trace/meson.build             |   15 +-
 trace/simple.c                |    2 +-
 ui/meson.build                |    4 +-
 util/meson.build              |    4 +-
 util/qemu-thread-posix.c      |    5 +-
 23 files changed, 1023 insertions(+), 1358 deletions(-)
 create mode 100755 scripts/meson-buildoptions.py
 create mode 100644 scripts/meson-buildoptions.sh

-- 
2.31.1