From nobody Tue Nov 26 22:17:33 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1704012804; cv=none; d=zohomail.com; s=zohoarc; b=cadNA8dpN8tZKrhKu2zaFhdxsn5QcykJCzKNoAFHPDogedJnQlQDvcVERCiT6m7afioqQUf3Bnzupfc1lT67wsDCMQCU4s6s+s6PtQ8vnMEue2pX7LuiF+ZYPiOnCZv/pWmokX5F9xE9dfwvxBRwRYLjmod83vjIB9DUz54Dz8A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1704012804; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=PKhVB6YKhb+0z5VDwMAr6YKNtpTswqaTd9KGYVbENGs=; b=ZkVkGj47oDVvaz7inBPm20wGMpTQ5HRK66pHQV3brE+Ww/KlCsRf0OxoPYnIEXimHChbzk6I+4dbm12WDwMXMZL55BHLC5YC5u+z4GbIEhFIZrcfd+YhCTymBztvyWqKlEsGuvjbTMcHzJBATbBhmJe5YPL1MxOhMPqRzyMDJ6w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1704012804652669.1526608427366; Sun, 31 Dec 2023 00:53:24 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJrUm-0007nz-FU; Sun, 31 Dec 2023 03:48:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJrT2-0005Bp-M0 for qemu-devel@nongnu.org; Sun, 31 Dec 2023 03:46:48 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJrSu-0000qv-B1 for qemu-devel@nongnu.org; Sun, 31 Dec 2023 03:46:43 -0500 Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-338-P_g9sNPvO4m8VU6aUsGZRg-1; Sun, 31 Dec 2023 03:46:29 -0500 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-40d3eabab1eso66802465e9.2 for ; Sun, 31 Dec 2023 00:46:29 -0800 (PST) Received: from [192.168.10.118] ([2001:b07:6468:f312:1c09:f536:3de6:228c]) by smtp.gmail.com with ESMTPSA id g3-20020a5d4883000000b00336e32338f3sm12032341wrq.70.2023.12.31.00.46.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Dec 2023 00:46:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1704012391; 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-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PKhVB6YKhb+0z5VDwMAr6YKNtpTswqaTd9KGYVbENGs=; b=URaeHpvC52QyiLCam6Pg0u0HwZq7aom/HNL3c3jAaBPZmzKmbV2uDWeN9smXYg5n6uoi+9 IgzkXo0CtPJo+HwwxZK9nA/TPd3FTd7bsWgVWqequODkCCcz+AMCD1J089lPbzmQsrXYnw tPtzf/AfefdToZbhmU4l0F2GHOulULg= X-MC-Unique: P_g9sNPvO4m8VU6aUsGZRg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704012387; x=1704617187; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PKhVB6YKhb+0z5VDwMAr6YKNtpTswqaTd9KGYVbENGs=; b=UZmk8CTxsjy9bhLwDbGe6kLjRPKyWBYpxXQONtjFXxcJ/e+etYieJNacfwCAu0QNll 9jTDx06b4A3WeYv8v5VgIFh50kJgyBga2DVmsDpklnZE3RVMEP3ounUkqZ5J/wfD05q+ iNjbZSepi3YnMYoCqXbudm0U0qt/+IhVtYhpJtWKGiBD1eFNv4yDbGOt208inLFT5NKp D/87Z3cyXeaADLRHxB3E1gs6SF121bF6JcNaQdJHpvsxDh+QXo0dnTshFjvXFyxKFpz/ /dR/9rbAvBD2U2aevXNlcTtzKubSUtipkYqHGFvSiGW9Ued+kAVRKk6Axq3iCCu1ypBU CRhw== X-Gm-Message-State: AOJu0Yzdanzv7wmIWSrbUkYEoOPXGrl3VObiyR0cXPzHGJevXf90OEp6 qA+BuC3CEw3+Y4eMtJCiUp1b0N6C0L6gMQS2fEZUQPXPW7k124ZrlF8IXIeIQdWeoA8AcgD35cm leC97KJoHtNZ5oLV473+DZfAJTTkLZ2nUPI6yD6bjwAiF5U92lb0VEjDBVEhE25oQOVxvjGT/B2 4n1A5rmBw= X-Received: by 2002:a05:600c:2051:b0:40d:812f:c129 with SMTP id p17-20020a05600c205100b0040d812fc129mr1129572wmg.50.1704012387584; Sun, 31 Dec 2023 00:46:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IEtqGCqv7RNq70mnkfZQYx03dYauUjww0IoszzF5oePMzoyK9hLKacs5RpbZyR8ej0phrTUFw== X-Received: by 2002:a05:600c:2051:b0:40d:812f:c129 with SMTP id p17-20020a05600c205100b0040d812fc129mr1129568wmg.50.1704012387295; Sun, 31 Dec 2023 00:46:27 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 31/46] meson: add more sections to main meson.build Date: Sun, 31 Dec 2023 09:44:47 +0100 Message-ID: <20231231084502.235366-32-pbonzini@redhat.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231231084502.235366-1-pbonzini@redhat.com> References: <20231231084502.235366-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Type: text/plain; charset=UTF-8 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=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -47 X-Spam_score: -4.8 X-Spam_bar: ---- X-Spam_report: (-4.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.667, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1704012805453100001 Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Paolo Bonzini --- meson.build | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/meson.build b/meson.build index 6c77d9687de..c437e9f55e6 100644 --- a/meson.build +++ b/meson.build @@ -9,6 +9,10 @@ add_test_setup('thorough', env: ['G_TEST_SLOW=3D1', 'SPEED= =3Dthorough']) =20 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py')) =20 +#################### +# Global variables # +#################### + not_found =3D dependency('', required: false) keyval =3D import('keyval') ss =3D import('sourceset') @@ -86,8 +90,16 @@ enable_modules =3D get_option('modules') \ .allowed() have_block =3D have_system or have_tools =20 +############ +# Programs # +############ + python =3D import('python').find_installation() =20 +####################################### +# Variables for host and accelerators # +####################################### + if cpu not in supported_cpus host_arch =3D 'unknown' elif cpu =3D=3D 'x86' @@ -518,9 +530,9 @@ if sparse.found() '-Wno-non-pointer-null']) endif =20 -########################################### -# Target-specific checks and dependencies # -########################################### +##################### +# Option validation # +##################### =20 # Fuzzing if get_option('fuzzing') and get_option('fuzzing_engine') =3D=3D '' and \ @@ -3524,9 +3536,9 @@ specific_ss.add_all(when: 'CONFIG_TCG_BUILTIN', if_tr= ue: tcg_module_ss) target_modules +=3D { 'accel' : { 'qtest': qtest_module_ss, 'tcg': tcg_real_module_ss }} =20 -######################## -# Library dependencies # -######################## +############################################## +# Internal static_libraries and dependencies # +############################################## =20 modinfo_collect =3D find_program('scripts/modinfo-collect.py') modinfo_generate =3D find_program('scripts/modinfo-generate.py') --=20 2.43.0