Skip to content

configure cleanups for QEMU 8.2

Paolo Bonzini qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest15 patches 4 repliesIn review
  2. v110 patches 22 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15meson: do not unnecessarily use cmake for dependenciestests/migration/meson.build tests/qtest/meson.build+2 -20 replies
2/15meson: update unsupported host/CPU messagesmeson.build+26 -191 reply
3/15configure: remove HOST_CCconfigure tests/tcg/tricore/Makefile.softmmu-target+1 -20 replies
4/15configure: create native file with contents of $host_ccconfigure+11 -40 replies
5/15meson: compile bundled device treespc-bios/Makefile pc-bios/meson.build+21 -230 replies
6/15configure: remove boolean variables for targetsconfigure+13 -423 replies
7/15configure: move --enable-debug-tcg to mesonconfigure meson.build meson_options.txt +1 more+8 -110 replies
8/15meson: test for CONFIG_TCG in config_alltests/qtest/meson.build+2 -20 replies
9/15contrib/plugins: use an independent makefileconfigure contrib/plugins/Makefile+18 -120 replies
10/15configure: unify recursion into sub-MakefilesMakefile configure+20 -200 replies
11/15configure, meson: move --enable-plugins to mesonaccel/tcg/meson.build configure meson.build +5 more+23 -180 replies
12/15configure, meson: remove CONFIG_SOLARIS from config-host.makconfigure meson.build net/meson.build+11 -110 replies
13/15configure, meson: remove target OS symbols from config-host.makMakefile chardev/meson.build configure +9 more+46 -500 replies
14/15meson: list leftover CONFIG_* symbolsdocs/devel/build-system.rst meson.build+6 -140 replies
15/15configure: remove dead codeconfigure+0 -80 replies

Reviews trailers per patch

10 of 15 patches have a Reviewed-by or Acked-by.

PatchRichard HendersonPeter MaydellPhilippe Mathieu-DaudéDaniel P. BerrangéThomas Huth
1/15R-b
2/15R-b
3/15R-b R-b
4/15R-b R-b
5/15R-b
6/15R-b R-b
7/15R-b R-b
8/15R-b
9/15R-b
10/15
11/15
12/15R-b
13/15
14/15
15/15

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

Read the v2 thread

Cover letter [PATCH v2 00/15] configure cleanups for QEMU 8.2

This includes a few more patches cleaning up the configure/meson separation. The highlights are fixing --host-cc, removing the last traces of compiler detection from config-host.mak, and dropping the useless pc-bios/Makefile.

Compared to v1, I have also removed the loop that takes random CONFIG_* lines of config-host.mak and shoves them into config-host.h. These were the last remains of the old scripts/create_config logic, but they are not needed anymore because all config-host.h tests are done in meson.build or come from meson-level options. We're definitely getting into diminishing returns land (which is a good thing), but I believe it's worth having a few extra patches to further reduce the coupling between config-host.mak and meson.build.

To be honest, the plugin code would probably be a lot simpler if contrib/plugins/Makefile was turned into a meson.build file. As things stand, the "are plugins enabled?" logic has to stay in configure, in order to decide whether to build contrib/plugins. However, contrib/plugins was left as a separate build process for demonstration purposes, so I am not going to change that. If desired, this can be changed in the future (together with moving all the $plugins logic from configure to meson.build). Perhaps the "external project" module from Meson could be used too, but right now it is limited to projects with a "configure" phase.

Paolo

Paolo Bonzini (15):
meson: do not unnecessarily use cmake for dependencies
meson: update unsupported host/CPU messages
configure: remove HOST_CC
configure: create native file with contents of $host_cc
meson: compile bundled device trees
configure: remove boolean variables for targets
configure: move --enable-debug-tcg to meson
meson: test for CONFIG_TCG in config_all contrib/plugins: use an independent makefile
configure: unify recursion into sub-Makefiles configure, meson: move --enable-plugins to meson configure, meson: remove CONFIG_SOLARIS from config-host.mak configure, meson: remove target OS symbols from config-host.mak
meson: list leftover CONFIG_* symbols
configure: remove dead code

 Makefile                                  |  29 +++--
 accel/tcg/meson.build                     |   4 +-
 chardev/meson.build                       |   2 +-
 configure                                 | 125 ++++++----------------
 contrib/plugins/Makefile                  |  18 ++--
 docs/devel/build-system.rst               |   8 +-
 docs/devel/kconfig.rst                    |   2 +-
 gdbstub/meson.build                       |   4 +-
 meson.build                               | 106 ++++++++++--------
 meson_options.txt                         |   4 +
 net/meson.build                           |  18 ++--
 pc-bios/Makefile                          |  19 ----
 pc-bios/meson.build                       |  25 ++++-
 plugins/meson.build                       |  12 ++-
 qga/meson.build                           |   4 +-
 scripts/meson-buildoptions.sh             |   6 ++
 storage-daemon/meson.build                |   2 +-
 tcg/meson.build                           |   2 +-
 tests/Makefile.include                    |   2 +-
 tests/meson.build                         |   8 +-
 tests/migration/meson.build               |   2 +-
 tests/qtest/meson.build                   |  18 ++--
 tests/tcg/tricore/Makefile.softmmu-target |   2 +-
 tests/unit/meson.build                    |   6 +-
 24 files changed, 198 insertions(+), 230 deletions(-)
 delete mode 100644 pc-bios/Makefile
Signature · 1 line
2.41.0