meson: Summarize overall features altogether
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210121095616.1471869-4-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
e11a0e17c4
commit
1d718865f4
54
meson.build
54
meson.build
@ -2328,6 +2328,36 @@ if slirp_opt != 'disabled'
|
|||||||
endif
|
endif
|
||||||
summary(summary_info, bool_yn: true, section: 'Host binaries')
|
summary(summary_info, bool_yn: true, section: 'Host binaries')
|
||||||
|
|
||||||
|
# Configurable features
|
||||||
|
summary_info = {}
|
||||||
|
summary_info += {'Documentation': build_docs}
|
||||||
|
summary_info += {'Install blobs': get_option('install_blobs')}
|
||||||
|
summary_info += {'module support': config_host.has_key('CONFIG_MODULES')}
|
||||||
|
if config_host.has_key('CONFIG_MODULES')
|
||||||
|
summary_info += {'alternative module path': config_host.has_key('CONFIG_MODULE_UPGRADES')}
|
||||||
|
endif
|
||||||
|
summary_info += {'plugin support': config_host.has_key('CONFIG_PLUGIN')}
|
||||||
|
summary_info += {'fuzzing support': config_host.has_key('CONFIG_FUZZ')}
|
||||||
|
if have_system
|
||||||
|
summary_info += {'Audio drivers': config_host['CONFIG_AUDIO_DRIVERS']}
|
||||||
|
endif
|
||||||
|
summary_info += {'Trace backends': config_host['TRACE_BACKENDS']}
|
||||||
|
if config_host['TRACE_BACKENDS'].split().contains('simple')
|
||||||
|
summary_info += {'Trace output file': config_host['CONFIG_TRACE_FILE'] + '-<pid>'}
|
||||||
|
endif
|
||||||
|
summary_info += {'QOM debugging': config_host.has_key('CONFIG_QOM_CAST_DEBUG')}
|
||||||
|
summary_info += {'vhost-kernel support': config_host.has_key('CONFIG_VHOST_KERNEL')}
|
||||||
|
summary_info += {'vhost-net support': config_host.has_key('CONFIG_VHOST_NET')}
|
||||||
|
summary_info += {'vhost-crypto support': config_host.has_key('CONFIG_VHOST_CRYPTO')}
|
||||||
|
summary_info += {'vhost-scsi support': config_host.has_key('CONFIG_VHOST_SCSI')}
|
||||||
|
summary_info += {'vhost-vsock support': config_host.has_key('CONFIG_VHOST_VSOCK')}
|
||||||
|
summary_info += {'vhost-user support': config_host.has_key('CONFIG_VHOST_USER')}
|
||||||
|
summary_info += {'vhost-user-blk server support': have_vhost_user_blk_server}
|
||||||
|
summary_info += {'vhost-user-fs support': config_host.has_key('CONFIG_VHOST_USER_FS')}
|
||||||
|
summary_info += {'vhost-vdpa support': config_host.has_key('CONFIG_VHOST_VDPA')}
|
||||||
|
summary_info += {'build guest agent': config_host.has_key('CONFIG_GUEST_AGENT')}
|
||||||
|
summary(summary_info, bool_yn: true, section: 'Configurable features')
|
||||||
|
|
||||||
summary_info = {}
|
summary_info = {}
|
||||||
summary_info += {'C compiler': meson.get_compiler('c').cmd_array()[0]}
|
summary_info += {'C compiler': meson.get_compiler('c').cmd_array()[0]}
|
||||||
summary_info += {'Host C compiler': meson.get_compiler('c', native: true).cmd_array()[0]}
|
summary_info += {'Host C compiler': meson.get_compiler('c', native: true).cmd_array()[0]}
|
||||||
@ -2356,10 +2386,6 @@ summary_info += {'QEMU_CFLAGS': config_host['QEMU_CFLAGS']}
|
|||||||
summary_info += {'QEMU_LDFLAGS': config_host['QEMU_LDFLAGS']}
|
summary_info += {'QEMU_LDFLAGS': config_host['QEMU_LDFLAGS']}
|
||||||
# TODO: add back version
|
# TODO: add back version
|
||||||
summary_info += {'slirp support': slirp_opt == 'disabled' ? false : slirp_opt}
|
summary_info += {'slirp support': slirp_opt == 'disabled' ? false : slirp_opt}
|
||||||
summary_info += {'module support': config_host.has_key('CONFIG_MODULES')}
|
|
||||||
if config_host.has_key('CONFIG_MODULES')
|
|
||||||
summary_info += {'alternative module path': config_host.has_key('CONFIG_MODULE_UPGRADES')}
|
|
||||||
endif
|
|
||||||
summary_info += {'host CPU': cpu}
|
summary_info += {'host CPU': cpu}
|
||||||
summary_info += {'host endianness': build_machine.endian()}
|
summary_info += {'host endianness': build_machine.endian()}
|
||||||
summary_info += {'target list': ' '.join(target_dirs)}
|
summary_info += {'target list': ' '.join(target_dirs)}
|
||||||
@ -2401,7 +2427,6 @@ summary_info += {'curses support': curses.found()}
|
|||||||
summary_info += {'virgl support': config_host.has_key('CONFIG_VIRGL')}
|
summary_info += {'virgl support': config_host.has_key('CONFIG_VIRGL')}
|
||||||
summary_info += {'curl support': curl.found()}
|
summary_info += {'curl support': curl.found()}
|
||||||
summary_info += {'mingw32 support': targetos == 'windows'}
|
summary_info += {'mingw32 support': targetos == 'windows'}
|
||||||
summary_info += {'Audio drivers': config_host['CONFIG_AUDIO_DRIVERS']}
|
|
||||||
summary_info += {'Block whitelist (rw)': config_host['CONFIG_BDRV_RW_WHITELIST']}
|
summary_info += {'Block whitelist (rw)': config_host['CONFIG_BDRV_RW_WHITELIST']}
|
||||||
summary_info += {'Block whitelist (ro)': config_host['CONFIG_BDRV_RO_WHITELIST']}
|
summary_info += {'Block whitelist (ro)': config_host['CONFIG_BDRV_RO_WHITELIST']}
|
||||||
summary_info += {'VirtFS support': have_virtfs}
|
summary_info += {'VirtFS support': have_virtfs}
|
||||||
@ -2418,14 +2443,12 @@ if config_host.has_key('CONFIG_XEN_BACKEND')
|
|||||||
summary_info += {'xen ctrl version': config_host['CONFIG_XEN_CTRL_INTERFACE_VERSION']}
|
summary_info += {'xen ctrl version': config_host['CONFIG_XEN_CTRL_INTERFACE_VERSION']}
|
||||||
endif
|
endif
|
||||||
summary_info += {'brlapi support': brlapi.found()}
|
summary_info += {'brlapi support': brlapi.found()}
|
||||||
summary_info += {'Documentation': build_docs}
|
|
||||||
summary_info += {'PIE': get_option('b_pie')}
|
summary_info += {'PIE': get_option('b_pie')}
|
||||||
summary_info += {'vde support': config_host.has_key('CONFIG_VDE')}
|
summary_info += {'vde support': config_host.has_key('CONFIG_VDE')}
|
||||||
summary_info += {'netmap support': config_host.has_key('CONFIG_NETMAP')}
|
summary_info += {'netmap support': config_host.has_key('CONFIG_NETMAP')}
|
||||||
summary_info += {'Linux AIO support': config_host.has_key('CONFIG_LINUX_AIO')}
|
summary_info += {'Linux AIO support': config_host.has_key('CONFIG_LINUX_AIO')}
|
||||||
summary_info += {'Linux io_uring support': config_host.has_key('CONFIG_LINUX_IO_URING')}
|
summary_info += {'Linux io_uring support': config_host.has_key('CONFIG_LINUX_IO_URING')}
|
||||||
summary_info += {'ATTR/XATTR support': libattr.found()}
|
summary_info += {'ATTR/XATTR support': libattr.found()}
|
||||||
summary_info += {'Install blobs': get_option('install_blobs')}
|
|
||||||
summary_info += {'KVM support': config_all.has_key('CONFIG_KVM')}
|
summary_info += {'KVM support': config_all.has_key('CONFIG_KVM')}
|
||||||
summary_info += {'HAX support': config_all.has_key('CONFIG_HAX')}
|
summary_info += {'HAX support': config_all.has_key('CONFIG_HAX')}
|
||||||
summary_info += {'HVF support': config_all.has_key('CONFIG_HVF')}
|
summary_info += {'HVF support': config_all.has_key('CONFIG_HVF')}
|
||||||
@ -2446,19 +2469,6 @@ summary_info += {'madvise': config_host.has_key('CONFIG_MADVISE')}
|
|||||||
summary_info += {'posix_madvise': config_host.has_key('CONFIG_POSIX_MADVISE')}
|
summary_info += {'posix_madvise': config_host.has_key('CONFIG_POSIX_MADVISE')}
|
||||||
summary_info += {'posix_memalign': config_host.has_key('CONFIG_POSIX_MEMALIGN')}
|
summary_info += {'posix_memalign': config_host.has_key('CONFIG_POSIX_MEMALIGN')}
|
||||||
summary_info += {'libcap-ng support': libcap_ng.found()}
|
summary_info += {'libcap-ng support': libcap_ng.found()}
|
||||||
summary_info += {'vhost-kernel support': config_host.has_key('CONFIG_VHOST_KERNEL')}
|
|
||||||
summary_info += {'vhost-net support': config_host.has_key('CONFIG_VHOST_NET')}
|
|
||||||
summary_info += {'vhost-crypto support': config_host.has_key('CONFIG_VHOST_CRYPTO')}
|
|
||||||
summary_info += {'vhost-scsi support': config_host.has_key('CONFIG_VHOST_SCSI')}
|
|
||||||
summary_info += {'vhost-vsock support': config_host.has_key('CONFIG_VHOST_VSOCK')}
|
|
||||||
summary_info += {'vhost-user support': config_host.has_key('CONFIG_VHOST_USER')}
|
|
||||||
summary_info += {'vhost-user-blk server support': have_vhost_user_blk_server}
|
|
||||||
summary_info += {'vhost-user-fs support': config_host.has_key('CONFIG_VHOST_USER_FS')}
|
|
||||||
summary_info += {'vhost-vdpa support': config_host.has_key('CONFIG_VHOST_VDPA')}
|
|
||||||
summary_info += {'Trace backends': config_host['TRACE_BACKENDS']}
|
|
||||||
if config_host['TRACE_BACKENDS'].split().contains('simple')
|
|
||||||
summary_info += {'Trace output file': config_host['CONFIG_TRACE_FILE'] + '-<pid>'}
|
|
||||||
endif
|
|
||||||
# TODO: add back protocol and server version
|
# TODO: add back protocol and server version
|
||||||
summary_info += {'spice support': config_host.has_key('CONFIG_SPICE')}
|
summary_info += {'spice support': config_host.has_key('CONFIG_SPICE')}
|
||||||
summary_info += {'rbd support': rbd.found()}
|
summary_info += {'rbd support': rbd.found()}
|
||||||
@ -2471,7 +2481,6 @@ summary_info += {'OpenGL support': config_host.has_key('CONFIG_OPENGL')}
|
|||||||
summary_info += {'OpenGL dmabufs': config_host.has_key('CONFIG_OPENGL_DMABUF')}
|
summary_info += {'OpenGL dmabufs': config_host.has_key('CONFIG_OPENGL_DMABUF')}
|
||||||
summary_info += {'libiscsi support': libiscsi.found()}
|
summary_info += {'libiscsi support': libiscsi.found()}
|
||||||
summary_info += {'libnfs support': libnfs.found()}
|
summary_info += {'libnfs support': libnfs.found()}
|
||||||
summary_info += {'build guest agent': config_host.has_key('CONFIG_GUEST_AGENT')}
|
|
||||||
if targetos == 'windows'
|
if targetos == 'windows'
|
||||||
if 'WIN_SDK' in config_host
|
if 'WIN_SDK' in config_host
|
||||||
summary_info += {'Windows SDK': config_host['WIN_SDK']}
|
summary_info += {'Windows SDK': config_host['WIN_SDK']}
|
||||||
@ -2493,7 +2502,6 @@ summary_info += {'GlusterFS support': glusterfs.found()}
|
|||||||
summary_info += {'gcov': get_option('b_coverage')}
|
summary_info += {'gcov': get_option('b_coverage')}
|
||||||
summary_info += {'TPM support': config_host.has_key('CONFIG_TPM')}
|
summary_info += {'TPM support': config_host.has_key('CONFIG_TPM')}
|
||||||
summary_info += {'libssh support': config_host.has_key('CONFIG_LIBSSH')}
|
summary_info += {'libssh support': config_host.has_key('CONFIG_LIBSSH')}
|
||||||
summary_info += {'QOM debugging': config_host.has_key('CONFIG_QOM_CAST_DEBUG')}
|
|
||||||
summary_info += {'Live block migration': config_host.has_key('CONFIG_LIVE_BLOCK_MIGRATION')}
|
summary_info += {'Live block migration': config_host.has_key('CONFIG_LIVE_BLOCK_MIGRATION')}
|
||||||
summary_info += {'lzo support': lzo.found()}
|
summary_info += {'lzo support': lzo.found()}
|
||||||
summary_info += {'snappy support': snappy.found()}
|
summary_info += {'snappy support': snappy.found()}
|
||||||
@ -2520,8 +2528,6 @@ summary_info += {'libpmem support': config_host.has_key('CONFIG_LIBPMEM')}
|
|||||||
summary_info += {'libdaxctl support': config_host.has_key('CONFIG_LIBDAXCTL')}
|
summary_info += {'libdaxctl support': config_host.has_key('CONFIG_LIBDAXCTL')}
|
||||||
summary_info += {'libudev': libudev.found()}
|
summary_info += {'libudev': libudev.found()}
|
||||||
summary_info += {'default devices': get_option('default_devices')}
|
summary_info += {'default devices': get_option('default_devices')}
|
||||||
summary_info += {'plugin support': config_host.has_key('CONFIG_PLUGIN')}
|
|
||||||
summary_info += {'fuzzing support': config_host.has_key('CONFIG_FUZZ')}
|
|
||||||
summary_info += {'thread sanitizer': config_host.has_key('CONFIG_TSAN')}
|
summary_info += {'thread sanitizer': config_host.has_key('CONFIG_TSAN')}
|
||||||
summary_info += {'rng-none': config_host.has_key('CONFIG_RNG_NONE')}
|
summary_info += {'rng-none': config_host.has_key('CONFIG_RNG_NONE')}
|
||||||
summary_info += {'Linux keyring': config_host.has_key('CONFIG_SECRET_KEYRING')}
|
summary_info += {'Linux keyring': config_host.has_key('CONFIG_SECRET_KEYRING')}
|
||||||
|
Loading…
Reference in New Issue
Block a user