From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0A94EC433F5 for ; Tue, 4 Jan 2022 15:17:58 +0000 (UTC) Received: from localhost ([::1]:49098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4lZU-00014s-5I for qemu-devel@archiver.kernel.org; Tue, 04 Jan 2022 10:17:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4lGc-0007Fh-Eh for qemu-devel@nongnu.org; Tue, 04 Jan 2022 09:58:26 -0500 Received: from [2a00:1450:4864:20::52e] (port=39641 helo=mail-ed1-x52e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4lGa-0004Tn-21 for qemu-devel@nongnu.org; Tue, 04 Jan 2022 09:58:25 -0500 Received: by mail-ed1-x52e.google.com with SMTP id f5so149581616edq.6 for ; Tue, 04 Jan 2022 06:58:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lV2rTUdM+LnDXLeS+qWWf2AzxWW8/OVgd5CrN+RzjDc=; b=KgdmmJec8msFScG84e3fan2poIS6D0pP6xFW+7zg9eADRsIPffYGpmpnJD6YykgOkA egec8zJBAIQQ23UbMVApG54svDg74UKwBl2PYx0AglE4HcP0hPXMF4AatG9UZ9shRDoW FEqtfS01VQmrSfdtjaMWvDQ/YwH1mC4i5/0v/N8rrPP43e+3gA4or+/bVPFfRf6Zhuhu DrWVbjSCOdSyP1AQlOOgu4Wzw75HLswquRhdH9WdO/DYMBLNjjJ2UqKLzmArkOLlwBYv tC4AZ0WqFVOA6fy/sm4P7L+G89mrI89iOxDj8eGFm53ugQ9w5Cce7chP16PV66g88vgO +CQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=lV2rTUdM+LnDXLeS+qWWf2AzxWW8/OVgd5CrN+RzjDc=; b=NkTR2ga0suVrZrEpzx/JuC5RHmN+ImL2ekogtwYsgpNJtG0CXxf1HFyJatxcS8QcN0 iuPMFTtVMnHPevIsA+Wv6CcyDc0mIHbepiJ2jBV+K6BBGc521ap/QYfrOXLBkrqaJytv 8bzFDA+tQILVjaj8hkvMUmSvm6NliF94yG+kTTzssc9LfYVToT+KTxMYBKQQqkhVKv7e 7eLicFnIKZTeMi60aoR8V+qowHxcYczpR3NRTNrisdrheRhXLPE0iWW9PjpNLkuLUxEX tMBhg266CYBegsIrCz5cVlydTuLxMPg10eJXudSNCMsNsOR5E8sjvoB2oiG6UUqF9y+y 7RlA== X-Gm-Message-State: AOAM532vSkksWzo7ry8poxh8hqIMt8JoNkiulQaw8OzFaVmjg3BBm0G6 q2HAA8qixQRBffACAq9AeuR1rv9lOC8= X-Google-Smtp-Source: ABdhPJwcMfWYAIEyyqZ/WZE0rK+aM6FJm+NWQptKiZljAsaXwTCeUbe8sjxHQ5x7Nwl4m9UkQ8nT8w== X-Received: by 2002:a05:6402:2024:: with SMTP id ay4mr49378120edb.16.1641308302570; Tue, 04 Jan 2022 06:58:22 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6468:f312:5e2c:eb9a:a8b6:fd3e]) by smtp.gmail.com with ESMTPSA id j21sm11475964ejj.133.2022.01.04.06.58.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 06:58:22 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 12/15] meson: add comments in the target-specific flags section Date: Tue, 4 Jan 2022 15:57:46 +0100 Message-Id: <20220104145749.417387-13-pbonzini@redhat.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220104145749.417387-1-pbonzini@redhat.com> References: <20220104145749.417387-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::52e (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::52e; envelope-from=paolo.bonzini@gmail.com; helo=mail-ed1-x52e.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, 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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Paolo Bonzini --- meson.build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meson.build b/meson.build index 36fc720ba3..6489ff8425 100644 --- a/meson.build +++ b/meson.build @@ -238,6 +238,7 @@ endif # Target-specific checks and dependencies # ########################################### +# Fuzzing if get_option('fuzzing') and get_option('fuzzing_engine') == '' and \ not cc.links(''' #include @@ -249,6 +250,7 @@ if get_option('fuzzing') and get_option('fuzzing_engine') == '' and \ error('Your compiler does not support -fsanitize=fuzzer') endif +# Tracing backends if 'ftrace' in get_option('trace_backends') and targetos != 'linux' error('ftrace is supported only on Linux') endif @@ -262,6 +264,7 @@ if 'syslog' in get_option('trace_backends') and not cc.compiles(''' error('syslog is not supported on this system') endif +# Miscellaneous Linux-only features if targetos != 'linux' and get_option('mpath').enabled() error('Multipath is supported only on Linux') endif @@ -271,6 +274,7 @@ if targetos != 'linux' and get_option('multiprocess').enabled() endif multiprocess_allowed = targetos == 'linux' and not get_option('multiprocess').disabled() +# Target-specific libraries and flags libm = cc.find_library('m', required: false) threads = dependency('threads') util = cc.find_library('util', required: false) @@ -311,6 +315,7 @@ elif targetos == 'openbsd' endif endif +# Target-specific configuration of accelerators accelerators = [] if not get_option('kvm').disabled() and targetos == 'linux' accelerators += 'CONFIG_KVM' -- 2.33.1