All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/8] Automatically convert configure options to meson build options
@ 2021-01-07 14:00 Paolo Bonzini
  2021-01-07 14:00 ` [PATCH 1/8] build-system: clean up TCG/TCI configury Paolo Bonzini
                   ` (7 more replies)
  0 siblings, 8 replies; 32+ messages in thread
From: Paolo Bonzini @ 2021-01-07 14:00 UTC (permalink / raw)
  To: qemu-devel; +Cc: alex.bennee, marcandre.lureau, berrange, stefanha

This is v2 of a concept that was first posted last September.  In the
meanwhile more options have been added to Meson, so the effect of the
change can hopefully be evaluated more accurately.  At least, the amount
of lines removed in the configure script is larger than the size of
the script itself!

Regarding the code itself, the main change is that the script has been
rewritten from Python to Perl.  The reasons for this are detailed in
the commit message.

For the parsing of an option to be completely automatic, there must be
no mentions of the corresponding variable in configure.  Patches 1 to
6 clean up some of the stragglers to enable more automatic conversions.
The only remaining options to be split between configure and Meson are
capstone, git, slirp, default_devices, cfi and xen.

Paolo

Paolo Bonzini (8):
  build-system: clean up TCG/TCI configury
  cocoa: do not enable coreaudio automatically
  gtk: remove CONFIG_GTK_GL
  configure: move X11 detection to Meson
  configure: move GTK+ detection to Meson
  configure: move Cocoa incompatibility checks to Meson
  configure: quote command line arguments in config.status
  configure: automatically parse command line for meson -D options

 Makefile                                |  11 +
 configure                               | 459 ++-------------
 disas/meson.build                       |   2 -
 docs/devel/build-system.rst             |  49 +-
 meson-buildoptions.json                 | 717 ++++++++++++++++++++++++
 meson.build                             | 100 ++--
 meson_options.txt                       |  13 +-
 scripts/configure-parse-buildoptions.pl | 205 +++++++
 ui/gtk.c                                |  16 +-
 ui/meson.build                          |   9 +-
 10 files changed, 1073 insertions(+), 508 deletions(-)
 create mode 100644 meson-buildoptions.json
 create mode 100755 scripts/configure-parse-buildoptions.pl

-- 
2.29.2



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

end of thread, other threads:[~2021-01-23 18:02 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07 14:00 [RFC PATCH v2 0/8] Automatically convert configure options to meson build options Paolo Bonzini
2021-01-07 14:00 ` [PATCH 1/8] build-system: clean up TCG/TCI configury Paolo Bonzini
2021-01-07 15:01   ` Peter Maydell
2021-01-07 15:50     ` Paolo Bonzini
2021-01-07 16:06       ` Daniel P. Berrangé
2021-01-13 13:09         ` Philippe Mathieu-Daudé
2021-01-13 13:42           ` Helge Deller
2021-01-13 13:57             ` Daniel P. Berrangé
2021-01-13 14:23               ` Peter Maydell
2021-01-13 20:39                 ` Helge Deller
2021-01-13 14:23               ` Helge Deller
2021-01-13 14:34                 ` Paolo Bonzini
2021-01-13 15:37                   ` Helge Deller
2021-01-14  9:51                 ` John Paul Adrian Glaubitz
2021-01-13 14:02             ` John David Anglin
2021-01-13 15:00           ` John Paul Adrian Glaubitz
2021-01-07 14:00 ` [PATCH 2/8] cocoa: do not enable coreaudio automatically Paolo Bonzini
2021-01-07 14:00 ` [PATCH 3/8] gtk: remove CONFIG_GTK_GL Paolo Bonzini
2021-01-07 16:05   ` Gerd Hoffmann
2021-01-07 14:00 ` [PATCH 4/8] configure: move X11 detection to Meson Paolo Bonzini
2021-01-07 14:00 ` [PATCH 5/8] configure: move GTK+ " Paolo Bonzini
2021-01-07 14:00 ` [PATCH 6/8] configure: move Cocoa incompatibility checks " Paolo Bonzini
2021-01-07 14:00 ` [PATCH 7/8] configure: quote command line arguments in config.status Paolo Bonzini
2021-01-13 15:44   ` Eric Blake
2021-01-07 14:00 ` [PATCH 8/8] configure: automatically parse command line for meson -D options Paolo Bonzini
2021-01-13 10:31   ` Daniel P. Berrangé
2021-01-13 12:26     ` Paolo Bonzini
2021-01-13 14:04     ` Paolo Bonzini
2021-01-22  8:00       ` 罗勇刚(Yonggang Luo)
2021-01-22 20:43         ` Paolo Bonzini
2021-01-23  3:30           ` 罗勇刚(Yonggang Luo)
2021-01-23 18:00             ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.