configure cleanups for QEMU 8.2
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest15 patches 4 repliesIn review
- v110 patches 22 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | meson: do not unnecessarily use cmake for dependenciestests/ tests/ | +2 | 0 replies | |
| 2/15 | meson: update unsupported host/CPU messagesmeson.build | +26 | 1 reply | |
| 3/15 | configure: remove HOST_CCconfigure tests/ | +1 | 0 replies | |
| 4/15 | configure: create native file with contents of $host_ccconfigure | +11 | 0 replies | |
| 5/15 | meson: compile bundled device treespc-bios/ pc-bios/ | +21 | 0 replies | |
| 6/15 | configure: remove boolean variables for targetsconfigure | +13 | 3 replies | |
| 7/15 | configure: move --enable-debug-tcg to mesonconfigure meson.build meson_options.txt +1 more | +8 | 0 replies | |
| 8/15 | meson: test for CONFIG_TCG in config_alltests/ | +2 | 0 replies | |
| 9/15 | contrib/plugins: use an independent makefileconfigure contrib/ | +18 | 0 replies | |
| 10/15 | configure: unify recursion into sub-MakefilesMakefile configure | +20 | 0 replies | |
| 11/15 | configure, meson: move --enable-plugins to mesonaccel/ configure meson.build +5 more | +23 | 0 replies | |
| 12/15 | configure, meson: remove CONFIG_SOLARIS from config-host.makconfigure meson.build net/ | +11 | 0 replies | |
| 13/15 | configure, meson: remove target OS symbols from config-host.makMakefile chardev/ configure +9 more | +46 | 0 replies | |
| 14/15 | meson: list leftover CONFIG_* symbolsdocs/ meson.build | +6 | 0 replies | |
| 15/15 | configure: remove dead codeconfigure | +0 | 0 replies |
Reviews trailers per patch
10 of 15 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson | Peter Maydell | Philippe Mathieu-Daudé | Daniel P. Berrangé | Thomas Huth |
|---|---|---|---|---|---|
| 1/15 | R-b | ||||
| 2/15 | R-b | ||||
| 3/15 | R-b | R-b | |||
| 4/15 | R-b | R-b | |||
| 5/15 | R-b | ||||
| 6/15 | R-b | R-b | |||
| 7/15 | R-b | R-b | |||
| 8/15 | R-b | ||||
| 9/15 | R-b | ||||
| 10/15 | |||||
| 11/15 | |||||
| 12/15 | R-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.
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