From nobody Tue Nov 18 14:10:26 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1611163604; cv=none; d=zohomail.com; s=zohoarc; b=LZG9MEvxgzg0HuYxlsIMjH3GBLi91LnIxWvjQEMTqo+KS3E++QjhOPqqaAVy929yOtC4t/hGfONId92+wDlV7OwFac5bKdHF/QYp5j6+ATM1/RvtqossCDVRvb6WYz0mAImIlG4DqJz08Xpgo6nEUU2nSoycY4HcpLprDUIMeUQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611163604; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=VxLYgcAadEwzl3bgQSTgf+BoqBrBu3swiI8Wm6I0gok=; b=e+YWe/xWQNgCCjdo/JfcZXJ5rKuuIZ4JMJIVQfZuDhYwAE3a5OQbLpr2i5EI5Ad9FTiH+olsaWAwXfuybWOzqtHC9bGtKYX9xByIIQndwRjEqDS0P9XvjOO63J0wRHLaMe+u7sHaJcROYNp/Kvc5w845U7ksqhxVutPOrOjSaPo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1611163604868331.8468113056973; Wed, 20 Jan 2021 09:26:44 -0800 (PST) Received: from localhost ([::1]:34130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2HFj-0002WO-Rw for importer@patchew.org; Wed, 20 Jan 2021 12:26:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2HCY-0008DM-SQ for qemu-devel@nongnu.org; Wed, 20 Jan 2021 12:23:26 -0500 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]:37694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l2HCX-0000fb-6L for qemu-devel@nongnu.org; Wed, 20 Jan 2021 12:23:26 -0500 Received: by mail-ej1-x62e.google.com with SMTP id b5so18185599ejv.4 for ; Wed, 20 Jan 2021 09:23:24 -0800 (PST) Received: from avogadro.lan ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id zk10sm1184007ejb.10.2021.01.20.09.23.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 09:23:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VxLYgcAadEwzl3bgQSTgf+BoqBrBu3swiI8Wm6I0gok=; b=dw3r8bKwo5vjB7w5izTVissneHfB+u2Ma8fBWGpziMEKdkq8tzrU+PyMBHUV2e6GSa 7MuTwCEw1YMOLLfbYRy1CR6LNRbrw4g+5JgydnC585oIh3xjEVC6/TZ0Vl9CCc5c532S cQiqnZL270+JdZl91JW+KrxdtF46DSWljEHh+DQJbo2u4UEQKkUz9RkHgaomFEcy7GwU i5eys6dWeX0V0tu4fVyBotnSzL0P/LKh9MnJMQWfchHf3bahUdJRy08EWOLpEAEi5ap5 bDolrXuPcuDWid3hKYVPGdtrRIqa0TRg5VCxyrfeVK1/E0k70fggODk3hm2bCgA2iSZ3 Fezw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=VxLYgcAadEwzl3bgQSTgf+BoqBrBu3swiI8Wm6I0gok=; b=lbXhWRv+0arSdgHNvNwYuPw0DoFYUetrWpEFD6BKQCpejeyP+ZFUiH1OS3Q1gaj7Ny 4d4A94u60EuAxOuBMmCgRL12oek7jO+XPDTGLvrm0BEIoJ9Rgq1/bPLrwJNijBz/FIl6 yDAX/wc8jLFFdKlR44Xn/fT5TGl1tNIH4vH8o15CxCL9+fzDOoiE9VG2m1thA3QRj7+p ms1ebz5GKer3vgSOOPSQaaFM9hs3EI9Dkwu4jb5QnNUqFqr/5lpUtMHfRjjMCEO3kLGa c/gGzs4PX0WkK+Ab0wCXB0VheW0Q+0WUKQTkEbrDKcPe5OUTkGTDjrp3LG9BfjRWxMQ2 nGVQ== X-Gm-Message-State: AOAM533kyK567L3/8zA9f362aUIjdvvi1kfWYh7BLb6n2D+qK1uVcxkO 9YuYLvXhh/5dyJTGq+cCz+YSdRsw2agZuQ== X-Google-Smtp-Source: ABdhPJy6/zRECryJ3XZATF9T6CAmqKGnUCgEkTJ+S/YhGiE+f0SbpXYJBLaE9XnG7mE0az8nlQAXlw== X-Received: by 2002:a17:906:4f0d:: with SMTP id t13mr7064429eju.10.1611163403429; Wed, 20 Jan 2021 09:23:23 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH 1/2] meson: Summarize configurable features together Date: Wed, 20 Jan 2021 18:23:19 +0100 Message-Id: <20210120172320.26742-2-pbonzini@redhat.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210120172320.26742-1-pbonzini@redhat.com> References: <20210120172320.26742-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=paolo.bonzini@gmail.com; helo=mail-ej1-x62e.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: philmd@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Signed-off-by: Paolo Bonzini --- meson.build | 74 +++++++++++++++++++++++++++-------------------------- 1 file changed, 38 insertions(+), 36 deletions(-) diff --git a/meson.build b/meson.build index 1d27f1b8bb..75ce835d48 100644 --- a/meson.build +++ b/meson.build @@ -2338,11 +2338,6 @@ if slirp_opt !=3D 'disabled' endif summary_info +=3D {'sparse enabled': sparse.found()} =20 -summary_info +=3D {'module support': config_host.has_key('CONFIG_MODULE= S')} -if config_host.has_key('CONFIG_MODULES') - summary_info +=3D {'alternative module path': config_host.has_key('CONFI= G_MODULE_UPGRADES')} -endif - # Targets and accelerators summary_info +=3D {'target list': ' '.join(target_dirs)} =20 @@ -2380,6 +2375,44 @@ if have_block summary_info +=3D {'sheepdog support': config_host.has_key('CONFIG_SHEE= PDOG')} endif =20 +# Features +summary_info +=3D {'module support': config_host.has_key('CONFIG_MODULE= S')} +if config_host.has_key('CONFIG_MODULES') + summary_info +=3D {'alternative module path': config_host.has_key('CONFI= G_MODULE_UPGRADES')} +endif +summary_info +=3D {'build guest agent': config_host.has_key('CONFIG_GUEST_= AGENT')} +if targetos =3D=3D 'windows' + summary_info +=3D {'QGA VSS support': config_host.has_key('CONFIG_QGA_= VSS')} + summary_info +=3D {'QGA w32 disk info': config_host.has_key('CONFIG_QGA_= NTDDSCSI')} + summary_info +=3D {'QGA MSI support': config_host.has_key('CONFIG_QGA_= MSI')} +endif +summary_info +=3D {'default devices': get_option('default_devices')} +summary_info +=3D {'plugin support': config_host.has_key('CONFIG_PLUGIN= ')} +summary_info +=3D {'fuzzing support': config_host.has_key('CONFIG_FUZZ')} +if have_system + summary_info +=3D {'Audio drivers': config_host['CONFIG_AUDIO_DRIVER= S']} +endif +summary_info +=3D {'VirtFS support': have_virtfs} +summary_info +=3D {'coroutine backend': config_host['CONFIG_COROUTINE_BACK= END']} +summary_info +=3D {'coroutine pool': config_host['CONFIG_COROUTINE_POOL= '] =3D=3D '1'} +summary_info +=3D {'crypto afalg': config_host.has_key('CONFIG_AF_ALG= ')} +summary_info +=3D {'build virtiofs daemon': have_virtiofsd} +summary_info +=3D {'rng-none': config_host.has_key('CONFIG_RNG_NO= NE')} +summary_info +=3D {'vhost-kernel support': config_host.has_key('CONFIG_VHO= ST_KERNEL')} +summary_info +=3D {'vhost-net support': config_host.has_key('CONFIG_VHOST_= NET')} +summary_info +=3D {'vhost-crypto support': config_host.has_key('CONFIG_VHO= ST_CRYPTO')} +summary_info +=3D {'vhost-scsi support': config_host.has_key('CONFIG_VHOST= _SCSI')} +summary_info +=3D {'vhost-vsock support': config_host.has_key('CONFIG_VHOS= T_VSOCK')} +summary_info +=3D {'vhost-user support': config_host.has_key('CONFIG_VHOST= _USER')} +summary_info +=3D {'vhost-user-blk server support': have_vhost_user_blk_se= rver} +summary_info +=3D {'vhost-user-fs support': config_host.has_key('CONFIG_VH= OST_USER_FS')} +summary_info +=3D {'vhost-vdpa support': config_host.has_key('CONFIG_VHOST= _VDPA')} +summary_info +=3D {'Trace backends': config_host['TRACE_BACKENDS']} +if config_host['TRACE_BACKENDS'].split().contains('simple') + summary_info +=3D {'Trace output file': config_host['CONFIG_TRACE_FILE']= + '-'} +endif + +# Libraries if targetos =3D=3D 'darwin' summary_info +=3D {'Cocoa support': cocoa.found()} endif @@ -2411,11 +2444,6 @@ summary_info +=3D {'curses support': curses.found= ()} # TODO: add back version summary_info +=3D {'virgl support': config_host.has_key('CONFIG_VIRGL'= )} summary_info +=3D {'curl support': curl.found()} -if have_system - summary_info +=3D {'Audio drivers': config_host['CONFIG_AUDIO_DRIVER= S']} -endif -summary_info +=3D {'VirtFS support': have_virtfs} -summary_info +=3D {'build virtiofs daemon': have_virtiofsd} summary_info +=3D {'Multipath support': mpathpersist.found()} summary_info +=3D {'VNC support': vnc.found()} if vnc.found() @@ -2433,19 +2461,6 @@ summary_info +=3D {'RDMA support': config_host.= has_key('CONFIG_RDMA')} summary_info +=3D {'PVRDMA support': config_host.has_key('CONFIG_PVRDMA= ')} summary_info +=3D {'fdt support': fdt_opt =3D=3D 'disabled' ? false = : fdt_opt} summary_info +=3D {'libcap-ng support': libcap_ng.found()} -summary_info +=3D {'vhost-kernel support': config_host.has_key('CONFIG_VHO= ST_KERNEL')} -summary_info +=3D {'vhost-net support': config_host.has_key('CONFIG_VHOST_= NET')} -summary_info +=3D {'vhost-crypto support': config_host.has_key('CONFIG_VHO= ST_CRYPTO')} -summary_info +=3D {'vhost-scsi support': config_host.has_key('CONFIG_VHOST= _SCSI')} -summary_info +=3D {'vhost-vsock support': config_host.has_key('CONFIG_VHOS= T_VSOCK')} -summary_info +=3D {'vhost-user support': config_host.has_key('CONFIG_VHOST= _USER')} -summary_info +=3D {'vhost-user-blk server support': have_vhost_user_blk_se= rver} -summary_info +=3D {'vhost-user-fs support': config_host.has_key('CONFIG_VH= OST_USER_FS')} -summary_info +=3D {'vhost-vdpa support': config_host.has_key('CONFIG_VHOST= _VDPA')} -summary_info +=3D {'Trace backends': config_host['TRACE_BACKENDS']} -if config_host['TRACE_BACKENDS'].split().contains('simple') - summary_info +=3D {'Trace output file': config_host['CONFIG_TRACE_FILE']= + '-'} -endif # TODO: add back protocol and server version summary_info +=3D {'spice support': config_host.has_key('CONFIG_SPICE'= )} summary_info +=3D {'rbd support': rbd.found()} @@ -2458,16 +2473,7 @@ summary_info +=3D {'OpenGL support': config_host.= has_key('CONFIG_OPENGL')} summary_info +=3D {'OpenGL dmabufs': config_host.has_key('CONFIG_OPENGL= _DMABUF')} summary_info +=3D {'libiscsi support': libiscsi.found()} summary_info +=3D {'libnfs support': libnfs.found()} -summary_info +=3D {'build guest agent': config_host.has_key('CONFIG_GUEST_= AGENT')} -if targetos =3D=3D 'windows' - summary_info +=3D {'QGA VSS support': config_host.has_key('CONFIG_QGA_= VSS')} - summary_info +=3D {'QGA w32 disk info': config_host.has_key('CONFIG_QGA_= NTDDSCSI')} - summary_info +=3D {'QGA MSI support': config_host.has_key('CONFIG_QGA_= MSI')} -endif summary_info +=3D {'seccomp support': seccomp.found()} -summary_info +=3D {'coroutine backend': config_host['CONFIG_COROUTINE_BACK= END']} -summary_info +=3D {'coroutine pool': config_host['CONFIG_COROUTINE_POOL= '] =3D=3D '1'} -summary_info +=3D {'crypto afalg': config_host.has_key('CONFIG_AF_ALG= ')} summary_info +=3D {'GlusterFS support': glusterfs.found()} summary_info +=3D {'TPM support': config_host.has_key('CONFIG_TPM')} summary_info +=3D {'libssh support': config_host.has_key('CONFIG_LIBSSH= ')} @@ -2483,10 +2489,6 @@ summary_info +=3D {'capstone': capstone_opt= =3D=3D 'disabled' ? false : capst summary_info +=3D {'libpmem support': config_host.has_key('CONFIG_LIBPME= M')} summary_info +=3D {'libdaxctl support': config_host.has_key('CONFIG_LIBDAX= CTL')} summary_info +=3D {'libudev': libudev.found()} -summary_info +=3D {'default devices': get_option('default_devices')} -summary_info +=3D {'plugin support': config_host.has_key('CONFIG_PLUGIN= ')} -summary_info +=3D {'fuzzing support': config_host.has_key('CONFIG_FUZZ')} -summary_info +=3D {'rng-none': config_host.has_key('CONFIG_RNG_NO= NE')} summary_info +=3D {'Linux keyring': config_host.has_key('CONFIG_SECRET= _KEYRING')} summary_info +=3D {'FUSE exports': fuse.found()} summary_info +=3D {'FUSE lseek': fuse_lseek.found()} --=20 2.29.2 From nobody Tue Nov 18 14:10:26 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1611163645; cv=none; d=zohomail.com; s=zohoarc; b=MIN6Zy5xgPFuBfnaL8Jmj8Pu7ahEFNQ0JSq7Ep/s6n5pU1KvZDClVEfEHiLwzMiTrkONFHFXrX4nOz8ZaJwS5EweRR644OZz+/hY9Pe3TNVnyotSaSJW6Q9EIWgGj6r56kxK3kA7ZgsDtvz2VdBEnRN/x1M4zVHTQAjdZG5NpYQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611163645; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Msz1sMB4bTwqcsO5WO2Wr43HiWqezo87K418fFIMcvU=; b=V2ELMLA/1bkMdFIIY/WvfrbBHzeLnWrQ4NrU2ixycXR+QDqa5PG1GUv3XcqLoTsrBL/ukljcm9WRA6KjIIWUbdDiyuvVlc9K1yYO+v7rJS9vOVcck0vd3AoZzhnna4bGZGmQwSeB3/iU6ZUw1VUoSN1eG5JfIk45rQayjT270u4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1611163645536489.99264700931144; Wed, 20 Jan 2021 09:27:25 -0800 (PST) Received: from localhost ([::1]:35524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2HGO-000372-Fc for importer@patchew.org; Wed, 20 Jan 2021 12:27:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2HCZ-0008Ej-R2 for qemu-devel@nongnu.org; Wed, 20 Jan 2021 12:23:27 -0500 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]:33437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l2HCY-0000ff-7X for qemu-devel@nongnu.org; Wed, 20 Jan 2021 12:23:27 -0500 Received: by mail-ej1-x635.google.com with SMTP id by1so28198291ejc.0 for ; Wed, 20 Jan 2021 09:23:25 -0800 (PST) Received: from avogadro.lan ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id zk10sm1184007ejb.10.2021.01.20.09.23.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 09:23:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Msz1sMB4bTwqcsO5WO2Wr43HiWqezo87K418fFIMcvU=; b=UgHuNZRRROEZvBHu2IjvDG8ieBXQFoZfLP4imDJHWA2nTcwdKeBqfYjnwDJ6hm1U3K oNHMCKzLOfNUqWuWwQvAaRNArDEHehAaIygevU59wAEcAK8CPtsDU1uKhltxMV0vQH// 3fnJbjujFJ9EXcsuDNIyHVotNLNUWshD89U9kjk0J3Rrg/u1RlBjkfcwtLZLNt4hqd// OXx9g7dl9sIpKcqbO1vpR2jXacPNzSSRKK+uJmXfbC9WhPgqyXdGBiI3bvrxqidi7jXB JFGcfajZ0ineM3gdJZtUl1vwe/5+BLE0RsruvF7RFaQ5hmYXw2N9eGwVN69ActDwWmSj wbwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=Msz1sMB4bTwqcsO5WO2Wr43HiWqezo87K418fFIMcvU=; b=OWOBMYdND5GRiyhoOOuH+5W9z75rbudl/SjVuResl3+LojszMESnWrzyPSz9laVgiu FGKvySFBJG6UqG7IcRe2ughuJAddrUIlOJVog/wL7aFQFlocpjXIUosGsOkWClV0WZKD Jd+ZJmaafHKCa/4Of1HqUr3Z8X/XCRj3+c9y02zQN9pOdKrSx/3Ny+k3TOMNHOExxy6V Wk+c8fbOk749Jm66Ahv2Ct3otfD+3deI2nfrEHe7jvVGttlMHmU9w49PJnY2G/RN2rKc AKQ9DSuohuHpoX5BLVxW5Q8OHCZu85kmysxTXl/X8LoPFxlHxEjEFpMauibMmbYXZzSq BHyg== X-Gm-Message-State: AOAM532B/vIRUoMye1Ppmv+vLY7SeO4qCkT/B61+/fLBKrCgwU1tZy8N mfBzFLEP95YhPYZIY/sW5YQhVe5/yRlkCg== X-Google-Smtp-Source: ABdhPJx+nUEyyaLIGELajDA6BOA12qRuao9UmJn/kl6w9ICDWySnGWDbDSvIoKtjZcp1WVtYlMgAig== X-Received: by 2002:a17:906:1701:: with SMTP id c1mr6688398eje.395.1611163404267; Wed, 20 Jan 2021 09:23:24 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH 2/2] meson: split the summary in multiple sections Date: Wed, 20 Jan 2021 18:23:20 +0100 Message-Id: <20210120172320.26742-3-pbonzini@redhat.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210120172320.26742-1-pbonzini@redhat.com> References: <20210120172320.26742-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=paolo.bonzini@gmail.com; helo=mail-ej1-x635.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: philmd@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Signed-off-by: Paolo Bonzini --- 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 # ######################### =20 -summary_info =3D {} - # Generic information +summary_info =3D {} summary_info +=3D {'Install prefix': get_option('prefix')} summary_info +=3D {'BIOS directory': qemu_datadir} summary_info +=3D {'firmware path': get_option('qemu_firmwarepath')} @@ -2263,8 +2262,10 @@ summary_info +=3D {'GIT binary': config_host[= 'GIT']} summary_info +=3D {'GIT submodules': config_host['GIT_SUBMODULES']} summary_info +=3D {'Documentation': build_docs} summary_info +=3D {'Install blobs': get_option('install_blobs')} +summary(summary_info, bool_yn: true) =20 # Compilation information +summary_info =3D {} summary_info +=3D {'host CPU': cpu} summary_info +=3D {'host endianness': build_machine.endian()} summary_info +=3D {'C compiler': meson.get_compiler('c').cmd_array(= )[0]} @@ -2322,8 +2323,10 @@ if targetos =3D=3D 'windows' summary_info +=3D {'Windows SDK': config_host['WIN_SDK']} endif endif +summary(summary_info, bool_yn: true, section: 'Compilation') =20 # Host binaries +summary_info =3D {} summary_info +=3D {'make': config_host['MAKE']} summary_info +=3D {'python': '@0@ (version: @1@)'.format(python= .full_path(), python.language_version())} summary_info +=3D {'sphinx-build': sphinx_build.found()} @@ -2337,8 +2340,10 @@ if slirp_opt !=3D 'disabled' summary_info +=3D {'smbd': config_host['CONFIG_SMBD_COMMAND']} endif summary_info +=3D {'sparse enabled': sparse.found()} +summary(summary_info, bool_yn: true, section: 'Host binaries') =20 # Targets and accelerators +summary_info =3D {} summary_info +=3D {'target list': ' '.join(target_dirs)} =20 if have_system @@ -2356,8 +2361,10 @@ if config_all.has_key('CONFIG_TCG') summary_info +=3D {'TCG debug enabled': config_host.has_key('CONFIG_DEBU= G_TCG')} summary_info +=3D {'TCG interpreter': tcg_arch =3D=3D 'tci'} endif +summary(summary_info, bool_yn: true, section: 'Targets') =20 # Block layer +summary_info =3D {} summary_info +=3D {'block layer': have_block} if have_block summary_info +=3D {'Block whitelist (rw)': config_host['CONFIG_BDRV_RW_W= HITELIST']} @@ -2374,6 +2381,7 @@ if have_block summary_info +=3D {'parallels support': config_host.has_key('CONFIG_PARA= LLELS')} summary_info +=3D {'sheepdog support': config_host.has_key('CONFIG_SHEE= PDOG')} endif +summary(summary_info, bool_yn: true, section: 'Block device support') =20 # Features summary_info +=3D {'module support': config_host.has_key('CONFIG_MODULE= S')} @@ -2411,8 +2419,10 @@ summary_info +=3D {'Trace backends': config_host[= 'TRACE_BACKENDS']} if config_host['TRACE_BACKENDS'].split().contains('simple') summary_info +=3D {'Trace output file': config_host['CONFIG_TRACE_FILE']= + '-'} endif +summary(summary_info, bool_yn: true, section: 'Configurable features') =20 # Libraries +summary_info =3D {} if targetos =3D=3D 'darwin' summary_info +=3D {'Cocoa support': cocoa.found()} endif @@ -2492,7 +2502,7 @@ summary_info +=3D {'libudev': libudev.found= ()} summary_info +=3D {'Linux keyring': config_host.has_key('CONFIG_SECRET= _KEYRING')} summary_info +=3D {'FUSE exports': fuse.found()} summary_info +=3D {'FUSE lseek': fuse_lseek.found()} -summary(summary_info, bool_yn: true) +summary(summary_info, bool_yn: true, section: 'Dependencies') =20 if not supported_cpus.contains(cpu) message() --=20 2.29.2