From patchwork Mon Jun 7 14:32:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 455291 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp2800355jae; Mon, 7 Jun 2021 07:33:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFkOt7+8nfiWLqc4+buF0MYpyGzwTRaoOf2CVRwOAdFuO5iRDOX5REdHxjD7MM84mQmPub X-Received: by 2002:a9f:3232:: with SMTP id x47mr9770904uad.80.1623076411753; Mon, 07 Jun 2021 07:33:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623076411; cv=none; d=google.com; s=arc-20160816; b=XmX4QgiJswvEvs3ivmJT4IchaOun0lHYfg+/t3nARPrcaHw0yyE/Kf0l63jKKNc+Qa XprqTZkjhQ8tYve93zTZHlN3+F0SPIgXXoJu0x8Vn6g2B0722opNO4hT7sdm8y/V9pRa KQGAGOAOEpEdL7fBiS37bOn4Tg//D5zkZEL8yudJfBB0qPz2iGn8D/PUwa4wSC6y/aXg nWdaneweuF92FdX2rnF9YK+dwPjlMkVP6JO0K41Ev7gL/p9s0H7YA+a20GSTU7T9r3PA XlDBzGEzIaLDUgCoKzlHfQFOjiOtfOvmxdgxeGNSwAAoFlJ7hexV+wtDEZpZC+dGnXy3 4EoQ== 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:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=PP68Do5QSeD/5zyGX2xofOgTOB6AlQQTS51+z1GqTzg=; b=AaEvjUDxj0vhswQRzl5sDLOWMHGWRAH05K2HLH7+2+MGA6G4SqQJEUeIFTXMww7uXN WccxDvEocR4+G72AtaEsKM6NzQMkwwddl1OzoeU+sby1BoyKGus9TsjLZ7puPFxABsZw m1jK+R8OpYQsOI5n+yU1Rh7dxafyk1sJTOLczfwojhFwMa6QdtPM3DkGFpHaYtJqzrVh cEMEeWHuHCGcAEY/MmJAoFWz7d21fXRiEHt/iP+gBeLoMK/3SZMz9a4li9YRj5rnryOL 5Dp4eu1tA6Qfu3BndV4ZfRW2R0sxgNT6LqO3R+nYp3wMlC7LwvfPuhB9+olIKAOM/VMA y5bA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=qEiaTXyM; 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 j5si2623488vsc.177.2021.06.07.07.33.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 07 Jun 2021 07:33:31 -0700 (PDT) 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=qEiaTXyM; 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]:36270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqGJn-00032t-2B for patch@linaro.org; Mon, 07 Jun 2021 10:33:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqGJV-0002yq-Pp for qemu-devel@nongnu.org; Mon, 07 Jun 2021 10:33:13 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:38662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqGJT-0000Ld-SB for qemu-devel@nongnu.org; Mon, 07 Jun 2021 10:33:13 -0400 Received: by mail-wr1-x436.google.com with SMTP id c9so9201982wrt.5 for ; Mon, 07 Jun 2021 07:33:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PP68Do5QSeD/5zyGX2xofOgTOB6AlQQTS51+z1GqTzg=; b=qEiaTXyMydU441xSzvH5B6hY6Dr7ykb1MPWcA27AMV/PJzGMHwuwxkP5HvdDh/e06z UVg4FI6b45t3p6128T71iQWMC1hPr8Jzdf6DMRaSC2T/Sw9CbgJNpwPWKHu2Wq32Z0lf ImraOL1K4cCHmbI6gjPFR0NDpdvr/qacTTmO0Yfn5Qhw8r9VyCKsNXUlEXcrlsf7Ihv0 zOnEu7HxZRGrmVVxwsCx8ABrW8yZGyYZEhA6ZW21mEkjz3ix9MPy7o0O6KygTW3B2zk0 6GbuNIwv0hYLTJNNYnA5dpyxOQS+yP4gI9JlL+hJFVmrfXpkdl1QIXmbF43uIeCOliWJ ytFA== 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=PP68Do5QSeD/5zyGX2xofOgTOB6AlQQTS51+z1GqTzg=; b=glHNzToZcP6RdWvfsZ8SCqAZJPP6gxg6+dDhn+T1sKFf8WYIYkkB0nLdBhQsCJp9wU jq8XQgidXTiYFaCp4K26V6xAkLwMiwh9qHhFh5wMc4dwMzWFYVzRGb4VPyKv68N/Tz2B cPbmsVW0QS6oWP/8FWKEMkGQC08uBz1mYoO26Mk9jLzM3tiACJ0nmGhgVebtsY4FiHnH 6Z2XBqlk2SeCBa5UzPn6/Q+uyF/Ht7Ih9+66p5ZV0E/7/n4+011CWoMNoN+mks2a/Hls dULLT+C1sV4ST7eBCmakP6ocxc+r0WlFm3HV0krcdc5qgTDL34pJlrWInbk4e/Ax0Po6 iVoA== X-Gm-Message-State: AOAM532cAfWVp8q5qEHi8F2uuLAz8Xmc1WpNNcNXr1qm5NPWEZ1i9yJV WLzjxhTUadNwr/Mk8i2rSrMVvQ== X-Received: by 2002:adf:d1c3:: with SMTP id b3mr9220981wrd.110.1623076388877; Mon, 07 Jun 2021 07:33:08 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id o20sm6724108wms.3.2021.06.07.07.33.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Jun 2021 07:33:04 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id BDB1F1FF8C; Mon, 7 Jun 2021 15:33:03 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 2/8] meson.build: fix cosmetics of compiler display Date: Mon, 7 Jun 2021 15:32:57 +0100 Message-Id: <20210607143303.28572-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210607143303.28572-1-alex.bennee@linaro.org> References: <20210607143303.28572-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth , Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" If you specify something like --cc="ccache gcc" on your configure line the summary output misses the rest of the cmd_array. Do some string joining to make it complete. Signed-off-by: Alex Bennée Tested-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20210527160319.19834-3-alex.bennee@linaro.org> -- 2.20.1 diff --git a/meson.build b/meson.build index 626cf932c1..d2a9ce91f5 100644 --- a/meson.build +++ b/meson.build @@ -2537,15 +2537,15 @@ summary(summary_info, bool_yn: true, section: 'Configurable features') summary_info = {} summary_info += {'host CPU': cpu} summary_info += {'host endianness': build_machine.endian()} -summary_info += {'C compiler': meson.get_compiler('c').cmd_array()[0]} -summary_info += {'Host C compiler': meson.get_compiler('c', native: true).cmd_array()[0]} +summary_info += {'C compiler': ' '.join(meson.get_compiler('c').cmd_array())} +summary_info += {'Host C compiler': ' '.join(meson.get_compiler('c', native: true).cmd_array())} if link_language == 'cpp' - summary_info += {'C++ compiler': meson.get_compiler('cpp').cmd_array()[0]} + summary_info += {'C++ compiler': ' '.join(meson.get_compiler('cpp').cmd_array())} else summary_info += {'C++ compiler': false} endif if targetos == 'darwin' - summary_info += {'Objective-C compiler': meson.get_compiler('objc').cmd_array()[0]} + summary_info += {'Objective-C compiler': ' '.join(meson.get_compiler('objc').cmd_array())} endif if targetos == 'windows' if 'WIN_SDK' in config_host