From nobody Mon May 6 22:39:52 2024 Delivered-To: importer2@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1621604754; cv=none; d=zohomail.com; s=zohoarc; b=NwbyIglv9mDBwgdO4iiNgagc/ep0mLZT5xbtvznx5XBqEUPus3jyeaAf9dnAeHD8nTPgJ2PXUgce3EK9Cy5WsRpB7+YYWEn/v300NiuXIiKEK/pu3eFyFe1Wgon516GYbXY5Rk/iOJMhGf1IoBq2a6V+a3Dzm4OUxEzGQvDcCxY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621604754; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=jJ9A8NSOMHlWWLTXVU0zVnALuS6z/ApiFuTPwQSqqso=; b=YRmp22u+TT6Y3PP99+aQ4Hmj7XQ5CQosVYqgxHt2vnv8uzsbx41WBVLQ+8cQka0jwnD5Up4QdCXYPx82o+85EjOuVEFvgWnTh0buQdoC0GEKwG6A+uOhDmg8zrFF3moJdXAYi8lb+yMHMdcB5uRdxS3hUxhyqU16fj9Oq6t2FcQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1621604754482620.5893005965842; Fri, 21 May 2021 06:45:54 -0700 (PDT) Received: from localhost ([::1]:35570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lk5TN-0004Mo-H5 for importer2@patchew.org; Fri, 21 May 2021 09:45:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk5Rx-0003LT-5I for qemu-devel@nongnu.org; Fri, 21 May 2021 09:44:25 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:39515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lk5Rv-00077Y-GC for qemu-devel@nongnu.org; Fri, 21 May 2021 09:44:24 -0400 Received: by mail-wr1-x42d.google.com with SMTP id v12so21132258wrq.6 for ; Fri, 21 May 2021 06:44:22 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id v18sm2717927wro.18.2021.05.21.06.44.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 May 2021 06:44:20 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D27FD1FF7E; Fri, 21 May 2021 14:44:19 +0100 (BST) 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=jJ9A8NSOMHlWWLTXVU0zVnALuS6z/ApiFuTPwQSqqso=; b=y0Fu++nEBK2wfWPVDdeDuuKVBl0SkVo6yYad13q4G1jMivkvwIISUwTLJUvmZw5GhQ FdAk7gVhcQRGfcBMCBW+R6EKOvsMTJwAn6/zbn39pcP1SOU97IeKSyuI9I+PCyzg4i+c dZdp72gl7NOrtp+rX4BXoqbnzknhVBp+lc25WFCmjQY7ZsLfclJrtIFyocASjW2EGq/f 94Ew94k43LcsddEsof8pqjgDZZX1gSiOYL6NU6D3iWuPLNf7MIl3qd/rqbP5n+vD6U2M 8pKCsGB6/YACkQF5UKTdoDaJXXB9K48/qf7Ec+gcpOEqL7uV047jZP/OGJm4wHvGCWfz ysWA== 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:mime-version :content-transfer-encoding; bh=jJ9A8NSOMHlWWLTXVU0zVnALuS6z/ApiFuTPwQSqqso=; b=qDxsmMD6qy5BLnxV7AXy/tX9Cb+iq0HUBbB3fevkJZuuwNH6Duxdq+kGrpwTLUX+v4 nliQH51FlybKVakzWX5lCy1f0/lxxgN9vfn1hHZ4ngOz5nkkC6NGhqR9MHlyqs9H0tw/ xfyyazfzhNw2bS5DfLg+k4OwtV1vMbkJP6Q/+xF6HWzdmFY9PDdRCfciFu9Z2wKNwymr 6+3l1qE1xFZtXxbTDx1pUPTZk83n3QLTbyzCkMWQcO+5Cj/uC2nMsv6TAIs9mSX4D64T VLRjhj0d/gw1ziBAbgoE0Xc32Zoheek8xGlrYucpNZfEltMnFKzpvUH/yBMggN/LCiPj gQvQ== X-Gm-Message-State: AOAM533WrFyareNmFVCzeqXFC60/bjPuEEChkjkv7nnsw53F05XS+Yam cjUsyOj3hpciuYvJzp8vH4E9lA== X-Google-Smtp-Source: ABdhPJwZWNbEegLNRpFfgry+Ukb5eGqKku5XKUJLNlVMUAlO4TNUDeyFPrH/hDcyWjD8InTNdzf/IQ== X-Received: by 2002:a5d:658f:: with SMTP id q15mr9540618wru.399.1621604661515; Fri, 21 May 2021 06:44:21 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [RFC PATCH] meson.build: fix cosmetics of compiler display Date: Fri, 21 May 2021 14:44:11 +0100 Message-Id: <20210521134411.31658-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42d.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: peter.maydell@linaro.org, thuth@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) If you specify something like --cc=3D"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=C3=A9e Tested-by: Thomas Huth --- meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 1559e8d873..ca65552f31 100644 --- a/meson.build +++ b/meson.build @@ -2510,15 +2510,15 @@ summary(summary_info, bool_yn: true, section: 'Conf= igurable features') summary_info =3D {} summary_info +=3D {'host CPU': cpu} summary_info +=3D {'host endianness': build_machine.endian()} -summary_info +=3D {'C compiler': meson.get_compiler('c').cmd_array(= )[0]} -summary_info +=3D {'Host C compiler': meson.get_compiler('c', native: tr= ue).cmd_array()[0]} +summary_info +=3D {'C compiler': ' '.join(meson.get_compiler('c').c= md_array())} +summary_info +=3D {'Host C compiler': ' '.join(meson.get_compiler('c', n= ative: true).cmd_array())} if link_language =3D=3D 'cpp' - summary_info +=3D {'C++ compiler': meson.get_compiler('cpp').cmd_ar= ray()[0]} + summary_info +=3D {'C++ compiler': ' '.join(meson.get_compiler('cpp')= .cmd_array())} else summary_info +=3D {'C++ compiler': false} endif if targetos =3D=3D 'darwin' - summary_info +=3D {'Objective-C compiler': meson.get_compiler('objc').cm= d_array()[0]} + summary_info +=3D {'Objective-C compiler': ' '.join(meson.get_compiler('= objc').cmd_array())} endif if targetos =3D=3D 'windows' if 'WIN_SDK' in config_host --=20 2.20.1