qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/3] meson: List modules built in summary


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 3/3] meson: List modules built in summary
Date: Wed, 26 May 2021 09:29:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

On 5/25/21 12:46 PM, Philippe Mathieu-Daudé wrote:
> 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]

Clearer renaming k -> mods, m -> mod and d -> k.

> +    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!')
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]