qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>,
	"Gerd Hoffmann" <kraxel@redhat.com>
Subject: [PATCH 3/3] meson: List modules built in summary
Date: Tue, 25 May 2021 12:46:48 +0200	[thread overview]
Message-ID: <20210525104648.4060904-4-philmd@redhat.com> (raw)
In-Reply-To: <20210525104648.4060904-1-philmd@redhat.com>

Instead of guessing the modules built, list them. Example:

  Modules
    audio                        : spice
    block                        : curl dmg-bz2 gluster iscsi rbd ssh
    chardev                      : spice
    hw-display                   :
    hw-s390x                     : virtio-gpu-ccw
    hw-usb                       : redirect smartcard
    ui                           : egl-headless gtk opengl spice-app spice-core

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 meson.build | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/meson.build b/meson.build
index 5ca1bd36292..54b97ace207 100644
--- a/meson.build
+++ b/meson.build
@@ -2738,6 +2738,17 @@
 summary_info += {'FUSE lseek':        fuse_lseek.found()}
 summary(summary_info, bool_yn: true, section: 'Dependencies')
 
+# Modules
+summary_info = {}
+foreach d, list : modules
+  k = []
+    foreach m, _ : list
+      k += [m]
+    endforeach
+  summary_info += {d: ' '.join(k)}
+endforeach
+summary(summary_info, bool_yn: true, section: 'Modules')
+
 if not supported_cpus.contains(cpu)
   message()
   warning('SUPPORT FOR THIS HOST CPU WILL GO AWAY IN FUTURE RELEASES!')
-- 
2.26.3



  parent reply	other threads:[~2021-05-25 10:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-25 10:46 [PATCH 0/3] meson: Minor improvements Philippe Mathieu-Daudé
2021-05-25 10:46 ` [PATCH 1/3] meson: Only build virtfs-proxy-helper if all requisites are found Philippe Mathieu-Daudé
2021-05-25 23:19   ` Richard Henderson
2021-05-25 10:46 ` [PATCH 2/3] meson: List if X11 dependency is detected Philippe Mathieu-Daudé
2021-05-25 23:19   ` Richard Henderson
2021-05-25 10:46 ` Philippe Mathieu-Daudé [this message]
2021-05-26  7:29   ` [PATCH 3/3] meson: List modules built in summary Philippe Mathieu-Daudé
2021-05-27 20:08   ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210525104648.4060904-4-philmd@redhat.com \
    --to=philmd@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).