[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 7/8] meson: Display cryto-related information altogether
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH v2 7/8] meson: Display cryto-related information altogether |
Date: |
Thu, 21 Jan 2021 10:11:27 +0000 |
User-agent: |
Mutt/1.14.6 (2020-07-11) |
On Thu, Jan 21, 2021 at 10:56:15AM +0100, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> Cc: Daniel P. Berrange <berrange@redhat.com>
> ---
> meson.build | 34 +++++++++++++++++++---------------
> 1 file changed, 19 insertions(+), 15 deletions(-)
>
> diff --git a/meson.build b/meson.build
> index e372b69f163..9274775a81a 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -2453,19 +2453,8 @@
> endif
> summary(summary_info, bool_yn: true, section: 'Block layer support')
>
> +# Crypto
Rather than a comment why not introduce grouping in the output
so it is visible when reading the summary.
This can be done in meson by calling summary() multiple times
giving "section: 'Crypto'" arg.
> summary_info = {}
> -summary_info += {'sparse enabled': sparse.found()}
> -if targetos == 'darwin'
> - summary_info += {'Cocoa support': cocoa.found()}
> -endif
> -# TODO: add back version
> -summary_info += {'SDL support': sdl.found()}
> -summary_info += {'SDL image support': sdl_image.found()}
> -# TODO: add back version
> -summary_info += {'GTK support': gtk.found()}
> -summary_info += {'pixman': pixman.found()}
> -# TODO: add back version
> -summary_info += {'VTE support': config_host.has_key('CONFIG_VTE')}
> summary_info += {'TLS priority': config_host['CONFIG_TLS_PRIORITY']}
> summary_info += {'GNUTLS support': config_host.has_key('CONFIG_GNUTLS')}
> # TODO: add back version
> @@ -2479,6 +2468,24 @@
> if config_host.has_key('CONFIG_NETTLE')
> summary_info += {' XTS': not
> config_host.has_key('CONFIG_QEMU_PRIVATE_XTS')}
> endif
> +summary_info += {'crypto afalg': config_host.has_key('CONFIG_AF_ALG')}
> +summary_info += {'rng-none': config_host.has_key('CONFIG_RNG_NONE')}
> +summary_info += {'Linux keyring':
> config_host.has_key('CONFIG_SECRET_KEYRING')}
> +summary(summary_info, bool_yn: true, section: 'Crypto')
> +
> +summary_info = {}
> +summary_info += {'sparse enabled': sparse.found()}
> +if targetos == 'darwin'
> + summary_info += {'Cocoa support': cocoa.found()}
> +endif
> +# TODO: add back version
> +summary_info += {'SDL support': sdl.found()}
> +summary_info += {'SDL image support': sdl_image.found()}
> +# TODO: add back version
> +summary_info += {'GTK support': gtk.found()}
> +summary_info += {'pixman': pixman.found()}
> +# TODO: add back version
> +summary_info += {'VTE support': config_host.has_key('CONFIG_VTE')}
> summary_info += {'libtasn1': config_host.has_key('CONFIG_TASN1')}
> summary_info += {'PAM': config_host.has_key('CONFIG_AUTH_PAM')}
> summary_info += {'iconv support': iconv.found()}
> @@ -2531,7 +2538,6 @@
> summary_info += {'QGA MSI support':
> config_host.has_key('CONFIG_QGA_MSI')}
> endif
> summary_info += {'seccomp support': seccomp.found()}
> -summary_info += {'crypto afalg': config_host.has_key('CONFIG_AF_ALG')}
> summary_info += {'GlusterFS support': glusterfs.found()}
> summary_info += {'TPM support': config_host.has_key('CONFIG_TPM')}
> summary_info += {'libssh support': config_host.has_key('CONFIG_LIBSSH')}
> @@ -2547,8 +2553,6 @@
> summary_info += {'libpmem support': config_host.has_key('CONFIG_LIBPMEM')}
> summary_info += {'libdaxctl support':
> config_host.has_key('CONFIG_LIBDAXCTL')}
> summary_info += {'libudev': libudev.found()}
> -summary_info += {'rng-none': config_host.has_key('CONFIG_RNG_NONE')}
> -summary_info += {'Linux keyring':
> config_host.has_key('CONFIG_SECRET_KEYRING')}
> summary(summary_info, bool_yn: true, section: 'Misc')
>
> if not supported_cpus.contains(cpu)
> --
> 2.26.2
>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH v2 0/8] meson: Clarify summary, Philippe Mathieu-Daudé, 2021/01/21
- [PATCH v2 1/8] meson: Summarize information related to directories first, Philippe Mathieu-Daudé, 2021/01/21
- [PATCH v2 2/8] meson: Display host binaries information altogether, Philippe Mathieu-Daudé, 2021/01/21
- [PATCH v2 3/8] meson: Summarize overall features altogether, Philippe Mathieu-Daudé, 2021/01/21
- [PATCH v2 4/8] meson: Summarize compilation-related information altogether, Philippe Mathieu-Daudé, 2021/01/21
- [RFC PATCH v2 6/8] meson: Display block layer information altogether, Philippe Mathieu-Daudé, 2021/01/21
- [PATCH v2 5/8] meson: Display accelerators and selected targets altogether, Philippe Mathieu-Daudé, 2021/01/21
- [PATCH v2 7/8] meson: Display cryto-related information altogether, Philippe Mathieu-Daudé, 2021/01/21
- [PATCH v2 8/8] meson: Display library dependencies altogether, Philippe Mathieu-Daudé, 2021/01/21
- Re: [PATCH v2 0/8] meson: Clarify summary, Paolo Bonzini, 2021/01/21