From nobody Wed Nov 19 22:15:32 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=1618504459; cv=none; d=zohomail.com; s=zohoarc; b=V/t1EYxKnqFjKMPmi6nPG5YR+HzCdy3eUe0+/0wOdzEiQ0ZwVb849rfCoV+LOsZ+V0Sz/WfGREOCw4hxwnlaXzmn1XDDBpEg3AbhnBtwhj2aT3Rc6xfspskgJbl4fd/vHHSqc/I3cpxkJ8HOtt6fNFThXDTrq+65zRKOhMndRlk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1618504459; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=sTefL8KFB03yS8Z+kdiNHNixKSuiXSG+jyZydBtqNkg=; b=JGBXWqiiT1hdj0vo1Z7zlNRH9gNlSjSzzMVJ6ZNqrvOowv1+HyPZmv2k/3h8vztHuu1YIVRPSwbq741rp0Or6iEMROlU4IttFFyQKbZNz71bLHGorBLmyQzsnjYcKVXMRui+/88UMIWqBGUM8EqPoGKt7no+DAyZ2reu4xtey0Y= 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 1618504459195209.26261099606484; Thu, 15 Apr 2021 09:34:19 -0700 (PDT) Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-548-uSfnK3lTM06R6MXT3OVy2w-1; Thu, 15 Apr 2021 12:34:15 -0400 Received: by mail-wm1-f70.google.com with SMTP id y82-20020a1ce1550000b02901262158f1e9so3821755wmg.8 for ; Thu, 15 Apr 2021 09:34:15 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (39.red-81-40-121.staticip.rima-tde.net. [81.40.121.39]) by smtp.gmail.com with ESMTPSA id f11sm3552479wmc.6.2021.04.15.09.34.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Apr 2021 09:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618504457; 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=sTefL8KFB03yS8Z+kdiNHNixKSuiXSG+jyZydBtqNkg=; b=J/9/2DPR0phF51BFo4FSvHslgI31V4Qyr0ckKn/p5ZbJYQPDcgiFRDZl5mHjTbNpxBVW5x h2l6ZaTVJQ/s+nOphJC5UHreYqhFvo1gtrSVRMjnqVi65L5Ti8JJZBqMB4fVlkOc/WK7I1 zqMh8p14faLzz9nQw2cCuXuxDz8Do+k= X-MC-Unique: uSfnK3lTM06R6MXT3OVy2w-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=sTefL8KFB03yS8Z+kdiNHNixKSuiXSG+jyZydBtqNkg=; b=rKJv4aSw0v3AvlwHpBVkM2O0M3iZ4xBodEnY3Z/darZR65sJJ/+fhPJ9O8+fvCo8WQ RG53cA1qusBc9v/629YYxUyV6Dy+yCYPLvO8PbKdtdvB5MO5oVj064AhTWA2wzRSWokV vZD0mDRkC831VdCuYN5jLcZ9IU6dDOLjr94jisNfMsgg0gjwR96hjEbHFDEcyJMSOgsA Z1pbM5h602N1EKr2HB55RyslLz7m0IE7ngiAEfx1ABvDFwSy0pQmDUDmQJlu0JVqY/CH ZWO8JAQPX76H21+PvEfbnF8eUq+18dU/WjWj+0Uxx0e4QlX6lBn3Va/7ScflQkK3u6Ex TgWQ== X-Gm-Message-State: AOAM531sPSBBnl3xdgXXCoo7ijHMixhNMrywemHKL5aR+sMWW/zQxiB2 5YZwLhWEJQfVOLcLxxRywpDqh9itiW0xq09pS0cy8fC0fhZvWCTJ+BLGLZR9NrdprXFm/VyGTij Kc/+AyddnN9Lxaw== X-Received: by 2002:a5d:40c1:: with SMTP id b1mr4607872wrq.33.1618504454322; Thu, 15 Apr 2021 09:34:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1mCB1CJIwc4m4QG16DAMO2mbDNJ3r+knYlQB+Gd8Tdlp9fwrgFzh3Dre9+0E9D06QxZ9Rwg== X-Received: by 2002:a5d:40c1:: with SMTP id b1mr4607861wrq.33.1618504454205; Thu, 15 Apr 2021 09:34:14 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , Claudio Fontana , Igor Mammedov , Eduardo Habkost , qemu-arm@nongnu.org, Paolo Bonzini , Marcel Apfelbaum , Markus Armbruster , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , Laurent Vivier , Andrew Jones , Richard Henderson , Juan Quintela , Thomas Huth , Peter Maydell , "Dr. David Alan Gilbert" , Eric Blake , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , "Emilio G . Cota" Subject: [PATCH v4 12/12] tests/meson: Only build softfloat objects if TCG is selected Date: Thu, 15 Apr 2021 18:33:04 +0200 Message-Id: <20210415163304.4120052-13-philmd@redhat.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210415163304.4120052-1-philmd@redhat.com> References: <20210415163304.4120052-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) From: Philippe Mathieu-Daud=C3=A9 The previous attempt (commit f77147cd4de) doesn't work as expected, as we still have CONFIG_TCG=3D1 when using: configure --disable-system --disable-user Now than we have removed the use of CONFIG_TCG from target-dependent files in tests/qtest/, we can remove the unconditional definition of CONFIG_TCG in config_host. This avoid to build a bunch of unrequired objects when building with --disable-tcg (in particular the softfloat tests): Before: $ make [1/812] Generating trace-qom.h with a custom command ... After: $ make [1/349] Generating trace-qom.h with a custom command ... A difference of 463 objects... Reported-by: Claudio Fontana Suggested-by: Paolo Bonzini Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- v3: Include Paolo's feedback: https://www.mail-archive.com/qemu-devel@nongnu.org/msg793872.html therefore o not include Alex's R-b tag. Cc: Richard Henderson Cc: Alex Benn=C3=A9e Cc: Emilio G. Cota --- meson.build | 1 - 1 file changed, 1 deletion(-) diff --git a/meson.build b/meson.build index c6f4b0cf5e8..623cbe50685 100644 --- a/meson.build +++ b/meson.build @@ -262,7 +262,6 @@ language: ['c', 'cpp', 'objc']) =20 accelerators +=3D 'CONFIG_TCG' - config_host +=3D { 'CONFIG_TCG': 'y' } endif =20 if 'CONFIG_KVM' not in accelerators and get_option('kvm').enabled() --=20 2.26.3