[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] meson: split the summary in multiple sections
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 2/2] meson: split the summary in multiple sections |
Date: |
Wed, 20 Jan 2021 18:40:24 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
On 1/20/21 6:23 PM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> meson.build | 16 +++++++++++++---
> 1 file changed, 13 insertions(+), 3 deletions(-)
>
> diff --git a/meson.build b/meson.build
> index 75ce835d48..3d2ac1a399 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -2238,9 +2238,8 @@ endif
> # Configuration summary #
> #########################
>
> -summary_info = {}
> -
> # Generic information
> +summary_info = {}
> summary_info += {'Install prefix': get_option('prefix')}
> summary_info += {'BIOS directory': qemu_datadir}
> summary_info += {'firmware path': get_option('qemu_firmwarepath')}
> @@ -2263,8 +2262,10 @@ summary_info += {'GIT binary':
> config_host['GIT']}
> summary_info += {'GIT submodules': config_host['GIT_SUBMODULES']}
> summary_info += {'Documentation': build_docs}
> summary_info += {'Install blobs': get_option('install_blobs')}
> +summary(summary_info, bool_yn: true)
>
> # Compilation information
> +summary_info = {}
I tried that, ...
> summary_info += {'host CPU': cpu}
> summary_info += {'host endianness': build_machine.endian()}
> summary_info += {'C compiler': meson.get_compiler('c').cmd_array()[0]}
> @@ -2322,8 +2323,10 @@ if targetos == 'windows'
> summary_info += {'Windows SDK': config_host['WIN_SDK']}
> endif
> endif
> +summary(summary_info, bool_yn: true, section: 'Compilation')
... but not that :)
I am still adding some sections in my branch. Only one is
useful so far: "Crypto".
Thanks for improving the summary!