From nobody Tue Nov 18 15:26:30 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1611082222; cv=none; d=zohomail.com; s=zohoarc; b=ckSOHUIarVcEcx2Y3zCpsO0f+eeOt+dvbL0KFf+2GfkGxVW7qcYbbGkoPPoC2VmXbeIBbmguqHCftkqDd2skUDPW5uo6kEqZlwi5ZxJKsXGygGn/5r6cqLWuqpViDRA0S3n8u96HI1v6T4yPJAUuPzE8punJAcTzfjdpJk6h7DE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611082222; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=ik06c8Y57UOuW4MapfWrFiiX4eYUGe157fe/fvcAg6U=; b=XEkpR7OjNtevWfxraoUJSheFGOEU+3hSAGIxRjv9+k1v8EIDPiBpsrzCSr2+tzCpwP699wB85HZ9MuiiBfIz+e1jSLbrzd4ghUVgDXvo2NrPw7SSJv8rzVMuWihOLpgPYhj0FVyX8uhRMFeMNEj1C5XGEp5pjPKBj2hVjN/jexw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 161108222269573.48925596565073; Tue, 19 Jan 2021 10:50:22 -0800 (PST) Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-182-ts9sIxWGNNyzj-1VFab9-Q-1; Tue, 19 Jan 2021 13:50:19 -0500 Received: by mail-ej1-f69.google.com with SMTP id gs3so6658143ejb.5 for ; Tue, 19 Jan 2021 10:50:19 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (13.red-83-57-169.dynamicip.rima-tde.net. [83.57.169.13]) by smtp.gmail.com with ESMTPSA id a22sm9679099edv.67.2021.01.19.10.50.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jan 2021 10:50:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611082221; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ik06c8Y57UOuW4MapfWrFiiX4eYUGe157fe/fvcAg6U=; b=IMNlKM6/x/SjPK6eGDW8gyk9lHvJ+OOEN6U1SOISkU49XLx9008Ekt9IV5AbwuCegDQOov +wWxzUd0G0OszTDnmFKQCw8hKNZNaFqvneAS/BMLIzuZ3FZgLaT0Xg5z69DeXkheSCxyFk 6n2DnvyJCrKRfxlKIKRl5mTsnvUBRIk= X-MC-Unique: ts9sIxWGNNyzj-1VFab9-Q-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ik06c8Y57UOuW4MapfWrFiiX4eYUGe157fe/fvcAg6U=; b=J9Hq/CC4CsPb+XIGkGDcUQzobOyvis6mTjlY11TUzRi9dV3fQkTuhnpF0FJWjl86b2 sNbvb15ftYHWzja8ioq+G+tGkaIj46O0n7LsFKGjhsiVkz/OzfwpD5j6MvtFpQBRWXTx S6A8wGNghVmZ8e+u4bcnduDygYmHl/dQK29ssFGDwSac/URlEAJ4lXr+7cFnbIBIlIHs 7IwdIT3VIRZ7gLRoqpfZv7m6oz1D3K9HtmkIx8sMLD9sXJ+SQc7P5t+vUIrxNXB5BKhE ZPXiYpRD8vhkXpSdqJd3pjNfesGnsYdiMlv7jQ2valbNTplckc3rKg0qlMk0OU4TfSgj umKA== X-Gm-Message-State: AOAM532jQnEvORLRouMAVMaP8YAdxEAgCGf3kwEVSZw0xC1SNYPlS2VZ pglHgxSqmlQOvwQg34ePaYQ8Ubq7JxU8S/emmRpelTo0FAg9hxE2TG86NLdkg9zU6x/L9OYBFcc h0k/B4+8bQlFLWA== X-Received: by 2002:a17:907:a06f:: with SMTP id ia15mr3906511ejc.328.1611082218215; Tue, 19 Jan 2021 10:50:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJySRmXI2j6nqDhE54R6WGZR7GIdzJXl1sgEu6lP/5L+1D+1zSxeNYO56pBZ9XcqmiBYvA9fWA== X-Received: by 2002:a17:907:a06f:: with SMTP id ia15mr3906499ejc.328.1611082218043; Tue, 19 Jan 2021 10:50:18 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 2/9] meson: Summarize compilation information altogether Date: Tue, 19 Jan 2021 19:49:58 +0100 Message-Id: <20210119185005.880322-3-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210119185005.880322-1-philmd@redhat.com> References: <20210119185005.880322-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- meson.build | 53 ++++++++++++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 25 deletions(-) diff --git a/meson.build b/meson.build index ddac09ca159..27a2b67c42d 100644 --- a/meson.build +++ b/meson.build @@ -2304,6 +2304,8 @@ summary_info +=3D {'Documentation': build_docs} summary_info +=3D {'Install blobs': get_option('install_blobs')} =20 +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]} summary_info +=3D {'Host C compiler': meson.get_compiler('c', native: tr= ue).cmd_array()[0]} if link_language =3D=3D 'cpp' @@ -2329,6 +2331,32 @@ endif summary_info +=3D {'QEMU_CFLAGS': config_host['QEMU_CFLAGS']} summary_info +=3D {'QEMU_LDFLAGS': config_host['QEMU_LDFLAGS']} +summary_info +=3D {'profiler': config_host.has_key('CONFIG_PROFIL= ER')} +summary_info +=3D {'link-time optimization (LTO)': get_option('b_lto')} +summary_info +=3D {'PIE': get_option('b_pie')} +summary_info +=3D {'static build': config_host.has_key('CONFIG_STATIC= ')} +summary_info +=3D {'malloc trim support': has_malloc_trim} +summary_info +=3D {'membarrier': config_host.has_key('CONFIG_MEMBAR= RIER')} +summary_info +=3D {'preadv support': config_host.has_key('CONFIG_PREADV= ')} +summary_info +=3D {'fdatasync': config_host.has_key('CONFIG_FDATAS= YNC')} +summary_info +=3D {'madvise': config_host.has_key('CONFIG_MADVIS= E')} +summary_info +=3D {'posix_madvise': config_host.has_key('CONFIG_POSIX_= MADVISE')} +summary_info +=3D {'posix_memalign': config_host.has_key('CONFIG_POSIX_= MEMALIGN')} +summary_info +=3D {'debug stack usage': config_host.has_key('CONFIG_DEBUG_= STACK_USAGE')} +summary_info +=3D {'mutex debugging': config_host.has_key('CONFIG_DEBUG_= MUTEX')} +summary_info +=3D {'memory allocator': get_option('malloc')} +summary_info +=3D {'avx2 optimization': config_host.has_key('CONFIG_AVX2_O= PT')} +summary_info +=3D {'avx512f optimization': config_host.has_key('CONFIG_AVX= 512F_OPT')} +summary_info +=3D {'gprof enabled': config_host.has_key('CONFIG_GPROF'= )} +summary_info +=3D {'gcov': get_option('b_coverage')} +summary_info +=3D {'thread sanitizer': config_host.has_key('CONFIG_TSAN')} +summary_info +=3D {'CFI support': get_option('cfi')} +if get_option('cfi') + summary_info +=3D {'CFI debug support': get_option('cfi_debug')} +endif +summary_info +=3D {'strip binaries': get_option('strip')} +summary_info +=3D {'mingw32 support': targetos =3D=3D 'windows'} + 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()} @@ -2342,15 +2370,8 @@ 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 {'host CPU': cpu} -summary_info +=3D {'host endianness': build_machine.endian()} summary_info +=3D {'target list': ' '.join(target_dirs)} -summary_info +=3D {'gprof enabled': config_host.has_key('CONFIG_GPROF'= )} summary_info +=3D {'sparse enabled': sparse.found()} -summary_info +=3D {'strip binaries': get_option('strip')} -summary_info +=3D {'profiler': config_host.has_key('CONFIG_PROFIL= ER')} -summary_info +=3D {'link-time optimization (LTO)': get_option('b_lto')} -summary_info +=3D {'static build': config_host.has_key('CONFIG_STATIC= ')} if targetos =3D=3D 'darwin' summary_info +=3D {'Cocoa support': cocoa.found()} endif @@ -2382,7 +2403,6 @@ # TODO: add back version summary_info +=3D {'virgl support': config_host.has_key('CONFIG_VIRGL'= )} summary_info +=3D {'curl support': curl.found()} -summary_info +=3D {'mingw32 support': targetos =3D=3D 'windows'} summary_info +=3D {'Audio drivers': config_host['CONFIG_AUDIO_DRIVERS'= ]} summary_info +=3D {'Block whitelist (rw)': config_host['CONFIG_BDRV_RW_WHI= TELIST']} summary_info +=3D {'Block whitelist (ro)': config_host['CONFIG_BDRV_RO_WHI= TELIST']} @@ -2400,7 +2420,6 @@ summary_info +=3D {'xen ctrl version': config_host['CONFIG_XEN_CTRL_INT= ERFACE_VERSION']} endif summary_info +=3D {'brlapi support': brlapi.found()} -summary_info +=3D {'PIE': get_option('b_pie')} summary_info +=3D {'vde support': config_host.has_key('CONFIG_VDE')} summary_info +=3D {'netmap support': config_host.has_key('CONFIG_NETMAP= ')} summary_info +=3D {'Linux AIO support': config_host.has_key('CONFIG_LINUX_= AIO')} @@ -2415,16 +2434,9 @@ summary_info +=3D {'TCG debug enabled': config_host.has_key('CONFIG_DEBU= G_TCG')} summary_info +=3D {'TCG interpreter': config_host.has_key('CONFIG_TCG_= INTERPRETER')} endif -summary_info +=3D {'malloc trim support': has_malloc_trim} 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 {'membarrier': config_host.has_key('CONFIG_MEMBAR= RIER')} -summary_info +=3D {'preadv support': config_host.has_key('CONFIG_PREADV= ')} -summary_info +=3D {'fdatasync': config_host.has_key('CONFIG_FDATAS= YNC')} -summary_info +=3D {'madvise': config_host.has_key('CONFIG_MADVIS= E')} -summary_info +=3D {'posix_madvise': config_host.has_key('CONFIG_POSIX_= MADVISE')} -summary_info +=3D {'posix_memalign': config_host.has_key('CONFIG_POSIX_= MEMALIGN')} 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')} @@ -2461,15 +2473,10 @@ summary_info +=3D {'QGA MSI support': config_host.has_key('CONFIG_QGA_= MSI')} endif summary_info +=3D {'seccomp support': seccomp.found()} -summary_info +=3D {'CFI support': get_option('cfi')} -summary_info +=3D {'CFI debug support': get_option('cfi_debug')} 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 {'debug stack usage': config_host.has_key('CONFIG_DEBUG_= STACK_USAGE')} -summary_info +=3D {'mutex debugging': config_host.has_key('CONFIG_DEBUG_= MUTEX')} summary_info +=3D {'crypto afalg': config_host.has_key('CONFIG_AF_ALG= ')} summary_info +=3D {'GlusterFS support': glusterfs.found()} -summary_info +=3D {'gcov': get_option('b_coverage')} summary_info +=3D {'TPM support': config_host.has_key('CONFIG_TPM')} summary_info +=3D {'libssh support': config_host.has_key('CONFIG_LIBSSH= ')} summary_info +=3D {'QOM debugging': config_host.has_key('CONFIG_QOM_CA= ST_DEBUG')} @@ -2481,9 +2488,6 @@ summary_info +=3D {'zstd support': zstd.found()} summary_info +=3D {'NUMA host support': config_host.has_key('CONFIG_NUMA')} summary_info +=3D {'libxml2': config_host.has_key('CONFIG_LIBXML= 2')} -summary_info +=3D {'memory allocator': get_option('malloc')} -summary_info +=3D {'avx2 optimization': config_host.has_key('CONFIG_AVX2_O= PT')} -summary_info +=3D {'avx512f optimization': config_host.has_key('CONFIG_AVX= 512F_OPT')} summary_info +=3D {'replication support': config_host.has_key('CONFIG_REPL= ICATION')} summary_info +=3D {'bochs support': config_host.has_key('CONFIG_BOCHS'= )} summary_info +=3D {'cloop support': config_host.has_key('CONFIG_CLOOP'= )} @@ -2504,7 +2508,6 @@ if config_host.has_key('HAVE_GDB_BIN') summary_info +=3D {'gdb': config_host['HAVE_GDB_BIN']} endif -summary_info +=3D {'thread sanitizer': config_host.has_key('CONFIG_TSAN')} 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()} --=20 2.26.2