From patchwork Fri Dec 24 21:21:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 527722 Delivered-To: patch@linaro.org Received: by 2002:ac0:b243:0:0:0:0:0 with SMTP id s3csp475297imc; Fri, 24 Dec 2021 13:22:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGayWYwZtiv1AGkBZpdZJyZMbjOEXamY9OkMGr/8sbzEkHc9xaTqM6AlHjKyXewt79F28v X-Received: by 2002:a25:3802:: with SMTP id f2mr10992957yba.658.1640380936098; Fri, 24 Dec 2021 13:22:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1640380936; cv=none; d=google.com; s=arc-20160816; b=KwfgAWSBi3fO5CLAaHGvNMHyh/bUcbGhyhiP7MpVtTut5cISmw+5Ni3S4gWIpEdJoI Wnj02BUi8h3tMxEk7GKxoLaoOZodcQ/4MWPvq8D83+tCKmyxTgEdI5/FZNJgs5GxHUL1 XT11SsPhuwiDB3PCL81A4N/XlIP1YZqQjZKpY4WhWjyxHVdAFW7x7s3+k/Os6vND/jkT EwHLCwLceWVdRQ/Ls5/i5Pr8j4MIAgy1WmACdq2Ie6DlNh9dYQ3iaV0HoPDUfc1lw3rG ch/bMaGUmXPQbIEl7/4nv/yJIFxaeEoKhf7WHquzjF3Unyom9RZ2bHwMvySkXw+Covx5 3EkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=4j8iJ6x2JwrdxdzFiVSALfDzAA5Vx5rvZD7tSdQG6kY=; b=W7KwdHigDe3S8yUDkwYAgXCxltlYSeI3oQGuFMhLgXL8geWhKQvMxsYzeY93fzME7Z dTu8belZ/RbO6YINOk2HvJxzhRxh9mne8KdsKzbpkMAPWIon8UzBVF8I8qhWrqXsscVU 7Pj0+/mbdIYKZ9cz0UBrVx9oGFURG9LsW5ErrmdjP/nK3BnhIEe0psmKZpwGFbVWjhqX FopMFr3wBNL8a2UIoZlqspF7Pc00Y44C38qAK9uTXhTX+13bjahiCrOpromL97NCwAq7 EnyiuBfKxr/h0euKUHYhBF88Jdr+2axVzKahzIZCP+VbIoIifjscpNddx9TISc7D84lW /FNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=YoDypSXs; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 65si6962921ybt.18.2021.12.24.13.22.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 Dec 2021 13:22:16 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=YoDypSXs; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0s11-0003dV-Ag for patch@linaro.org; Fri, 24 Dec 2021 16:22:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0s0B-0003bk-72 for qemu-devel@nongnu.org; Fri, 24 Dec 2021 16:21:24 -0500 Received: from [2607:f8b0:4864:20::531] (port=44738 helo=mail-pg1-x531.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0s09-00042x-KE for qemu-devel@nongnu.org; Fri, 24 Dec 2021 16:21:22 -0500 Received: by mail-pg1-x531.google.com with SMTP id m15so8419572pgu.11 for ; Fri, 24 Dec 2021 13:21:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4j8iJ6x2JwrdxdzFiVSALfDzAA5Vx5rvZD7tSdQG6kY=; b=YoDypSXsxV8FnV4DIcRDk5C9V+tW+fqP6lhtpZ9sXjDLF3IH0/26wtaYeu/NsAKar3 biOq9MHo5UuMflbSyWL7+WMX2XkyxdDGkAwqx2sU2x+gVxl2Lgx6Uq+OjsAlHCT3sx2H duaDeXdw/cl2Cl6+9c4Gkgk7S1NjbU6Yd/hvPXpQcCp2UQMoFziezyy7pkGNr4lDa2Zx cIBUw1UtmNMdLUVjUBkCxRzW8P09TPxQco3LMaKRRhzi6GhbwUClF5DBdfnrA1Q5VKkY 0fXykAL7qeNLPXV5+2jw0uHiOKEHyxBh0aivdrtjYs7MgAoMgeIB2X4MeAJKpPqzbuFj HsWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4j8iJ6x2JwrdxdzFiVSALfDzAA5Vx5rvZD7tSdQG6kY=; b=hCf34/u+eKe6qLK16AKF1FGI7rbrBtvQHhL/aMbtHpJvYD6CoOvMygnIqI7q375XwC dxto6H4ptuWaXSqfk6wDgoNOdUe8Z+c5VqUYrqwbKlASvgnGIBmYnwPsCXEBNTD6JYL4 13BWrJ7XwPJdty8yGju56xpzOUhBwPaVE4Qs3uyrvc7D3+Qb5B8v5eIL5B4JV1cWIlYF O9Bd8phXImgcmRR2ZiVhCwkqZoQXfUtnPS4ff3q27H5WsCevfFrPJ4t2mPqs58bqSjFS c2Q3i3Q5aAjqzkJLbYNdndaMys3NhhlPueyaPLlInEJAnqQ9WBgTlJHInygLL9UXIDtF vNzA== X-Gm-Message-State: AOAM532UJnpjBxYCJIx1lMt/OWFlhXWf/rTASFiQlvDL7AzMaNhPdgh9 Kp2anfO80/oqUPNIQnoEJUydNsl8PQ6qYg== X-Received: by 2002:a63:fd53:: with SMTP id m19mr7259983pgj.563.1640380879547; Fri, 24 Dec 2021 13:21:19 -0800 (PST) Received: from localhost.localdomain ([156.19.246.20]) by smtp.gmail.com with ESMTPSA id o22sm8974630pfu.89.2021.12.24.13.21.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Dec 2021 13:21:19 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH] tests/tcg: Use $cpu in configure.sh Date: Fri, 24 Dec 2021 13:21:17 -0800 Message-Id: <20211224212117.2404218-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::531 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::531; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x531.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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: , Cc: pbonzini@redhat.com, alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Use $cpu instead of $ARCH, which has been removed from the top-level configure. Fixes: 823eb013452e Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- configure | 2 +- tests/tcg/configure.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index eb977e5b6f..030728d11e 100755 --- a/configure +++ b/configure @@ -3821,7 +3821,7 @@ done (for i in $cross_cc_vars; do export $i done -export target_list source_path use_containers ARCH +export target_list source_path use_containers cpu $source_path/tests/tcg/configure.sh) # temporary config to build submodules diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh index 9ef913df5b..8eb4287c84 100755 --- a/tests/tcg/configure.sh +++ b/tests/tcg/configure.sh @@ -326,7 +326,7 @@ for target in $target_list; do elif test $got_cross_cc = no && test "$container" != no && \ test -n "$container_image"; then for host in $container_hosts; do - if test "$host" = "$ARCH"; then + if test "$host" = "$cpu"; then echo "DOCKER_IMAGE=$container_image" >> $config_target_mak echo "DOCKER_CROSS_CC_GUEST=$container_cross_cc" >> \ $config_target_mak