From nobody Mon Feb 9 16:12:48 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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 170.10.133.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=1618489632; cv=none; d=zohomail.com; s=zohoarc; b=CbA0yQE/6TVZMgF7N0+GaOLmDExaIvStcOa1U+R//LExWtweVncj3iaUI7mCr2muhk9RXa/DAW6tgZdbXJLVeXGTCx4f8FXzE7fDXpqy6efCDHuQp39Lcd4lmKh0xb3xP5QZr2Bd7EDujTF+Vs+EJcZQDKvfmpgbSjM4WvweFoM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1618489632; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=sTefL8KFB03yS8Z+kdiNHNixKSuiXSG+jyZydBtqNkg=; b=YlMDupCmypgQREXyRPsiNZzqfMHs087d8DJEEgK7sMvE5kb1Y9pBhM97tN103333+nX0vWa4lxHidv6zqZUVopFFo0hym0XNqwTj2dsknZ3dDCejtwEVr2aYNZXDOwRZkMmAoaSugF7UswubHxeOwlOm+/dv5tVF8/J9ZPYvfOk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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 [170.10.133.124]) by mx.zohomail.com with SMTPS id 1618489632907901.8425614082925; Thu, 15 Apr 2021 05:27:12 -0700 (PDT) Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-128-OKQ3pFcyOH6ISga3JkIVEw-1; Thu, 15 Apr 2021 08:27:08 -0400 Received: by mail-wm1-f69.google.com with SMTP id o16-20020a05600c4fd0b0290114d6580911so4118243wmq.8 for ; Thu, 15 Apr 2021 05:27:08 -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 q5sm3014005wrv.17.2021.04.15.05.27.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Apr 2021 05:27:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618489630; 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=AfRz/DCPCaBzJWAD1IZY8Z69tYVE4ZpxKMHxCRtlWoG8b+PcfHEZJ6S0MH1JjrAFBd+nqi C86Pw58eIRZzj8NhJoskEM+VFEbJwa3KJsGIgyKBNOoZ02trrkqpZEpowPXjoTrIrGdN9/ dQO61NfsBapX81Z8zm1u5DeSbIIkKpk= X-MC-Unique: OKQ3pFcyOH6ISga3JkIVEw-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=VzGupymFWpwG6h1CxRkh+Qcc8I8cB/7Tmxj19vctxh61y+QDafYlaA9ILLQ3Z7LYNS vpR8AxMakrilo8yRsRAgmKozCmueiydrE60NGZqRavKAGRx8mepgYM+Fk5/xeJgSv8Yi 0j9sK0kT/t4cgDMxrscx5AjVSexPKPlMjUwqhd8cfv3xobHtJe2NBPSK/hZY4wKj6FnW H5/n7ufXI9tpjB7/Mg3qnwufioEipseC8HhuNHouUuZdg80rowO4VgDJO4b7Jp/X9XxA OTP56uI5MBffdmvYK9a26IJHjzjBWypnDA4LkiA97dncivPPU8SH2dS6yt0L4RcuY1zw ddDw== X-Gm-Message-State: AOAM532kbodPcDMzaVPYoIg8DNCi5gIAyFuycYv000LNqYcIaPFUI6wb +mfcEsNJdTxttiC+5DE7J/J7LAL6UKor6Z8x73rmko621/EjMNjqLVKuh3SBiK8GTwgkTVlCQE1 YDZKojvReY/1Rwg== X-Received: by 2002:a05:6000:1564:: with SMTP id 4mr1781769wrz.197.1618489627063; Thu, 15 Apr 2021 05:27:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZAiOPR+Qhi3AUy09fgxkgg+Rre7WuZBPsycy6ykBF0cHFL3asGkc4vd28EHzUJevZprqzqA== X-Received: by 2002:a05:6000:1564:: with SMTP id 4mr1781763wrz.197.1618489626954; Thu, 15 Apr 2021 05:27:06 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Igor Mammedov , Markus Armbruster , Thomas Huth , Andrew Jones , qemu-arm@nongnu.org, "Michael S. Tsirkin" , Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , Claudio Fontana , Eric Blake , Richard Henderson , Laurent Vivier , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , "Emilio G . Cota" Subject: [PATCH v3 6/6] tests/meson: Only build softfloat objects if TCG is selected Date: Thu, 15 Apr 2021 14:26:33 +0200 Message-Id: <20210415122633.4054644-7-philmd@redhat.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210415122633.4054644-1-philmd@redhat.com> References: <20210415122633.4054644-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