From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kNt1BXvJcl/aQAAA0tVLHw (envelope-from ) for ; Tue, 29 Sep 2020 05:43:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iLBIAXvJcl/cYAAAbx9fmQ (envelope-from ) for ; Tue, 29 Sep 2020 05:43:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7EC1094023A for ; Tue, 29 Sep 2020 05:43:22 +0000 (UTC) Received: from localhost ([::1]:39756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kN8Q5-00085i-FK for larch@yhetil.org; Tue, 29 Sep 2020 01:43:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kN8Pn-00085M-Ax for guix-patches@gnu.org; Tue, 29 Sep 2020 01:43:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43099) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kN8Pm-0004JX-0d for guix-patches@gnu.org; Tue, 29 Sep 2020 01:43:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kN8Pl-0000Cm-Vs for guix-patches@gnu.org; Tue, 29 Sep 2020 01:43:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43679] [PATCH 3/5] gnu: clang-toolchain: Create 'cc' and 'c++' symlinks. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Sep 2020 05:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43679 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 43679@debbugs.gnu.org Received: via spool by 43679-submit@debbugs.gnu.org id=B43679.1601358173773 (code B ref 43679); Tue, 29 Sep 2020 05:43:01 +0000 Received: (at 43679) by debbugs.gnu.org; 29 Sep 2020 05:42:53 +0000 Received: from localhost ([127.0.0.1]:54645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kN8Pd-0000CP-0Y for submit@debbugs.gnu.org; Tue, 29 Sep 2020 01:42:53 -0400 Received: from flashner.co.il ([178.62.234.194]:43166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kN8Pa-0000CC-SZ for 43679@debbugs.gnu.org; Tue, 29 Sep 2020 01:42:51 -0400 Received: from localhost (unknown [31.210.181.177]) by flashner.co.il (Postfix) with ESMTPSA id F0C004016D; Tue, 29 Sep 2020 05:42:44 +0000 (UTC) Date: Tue, 29 Sep 2020 08:42:12 +0300 From: Efraim Flashner Message-ID: <20200929054212.GH1386@E5400> References: <20200928195648.30256-1-ludo@gnu.org> <20200928195648.30256-3-ludo@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="54u2kuW9sGWg/X+X" Content-Disposition: inline In-Reply-To: <20200928195648.30256-3-ludo@gnu.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.69 X-TUID: PqHlG3zdW5ZI --54u2kuW9sGWg/X+X Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 28, 2020 at 09:56:46PM +0200, Ludovic Court=C3=A8s wrote: > From: Ludovic Court=C3=A8s >=20 > * gnu/packages/llvm.scm (make-clang-toolchain)[arguments]: Create 'cc' > and 'c++' symlinks. > --- > gnu/packages/llvm.scm | 6 ++++++ > 1 file changed, 6 insertions(+) >=20 > diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm > index 4b42c4921a..361b39710b 100644 > --- a/gnu/packages/llvm.scm > +++ b/gnu/packages/llvm.scm > @@ -476,6 +476,12 @@ code analysis tools.") > (((names . directories) ...) > (union-build out directories))) > =20 > + ;; Create 'cc' and 'c++' so that one can use it as a > + ;; drop-in replacement for the default tool chain a= nd > + ;; have configure scripts find the compiler. > + (symlink "clang" (string-append out "/bin/cc")) > + (symlink "clang++" (string-append out "/bin/c++")) > + > (union-build (assoc-ref %outputs "debug") > (list (assoc-ref %build-inputs > "libc-debug"))) > --=20 > 2.28.0 Isn't this something we've turned down patches for in the past with gcc? --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --54u2kuW9sGWg/X+X Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl9yyTQACgkQQarn3Mo9 g1HDbBAAogELOIkWA4I6sY7bhOHm31gUMpGtDMrjLQla0yYt1pRPYsljRuj1ohaO pwzEYmwhSfgCCsJnvmvKwdhd3luxcd0eaCfrxpSAj1n9XIhx8pzo5+aQJdBKhV4c ntkwSicfFqMZLCqX83C7EY6CjUH00qovy7ELMuyVTOyG7urjUMOgIMNL4QQVpmya Ry0bT+xGjt4XHOknXvXOv0B7ymKQODKv6A1NKesc/DY5BvfrAK2CDw6YZ0YxAdbl +p/7LZ7iNpCKcMipBYHev/AC0KOEWlopWD5sYlcoyg7GYxuH3Ijt2YcndxLS996t 1CnwS7iZUmvXCBPrZabZXN/fpiazXivLVAwFcGAihLRDRnsXIdp7UyIDgvdVbp79 pX5hRiQ+lasYskGriTeDBRo4WosMjSdPOJ76O92Ppv/RzMCjo+MOGMA6J+U1ZVbq uDtkOW9C2Cy4N4Lb7/ymTMfgxZn4hH01BgmdCT9ziVk4aRhqNm6ae0Yh9/vOBHSW diE9HL8kc1rrGg0UpDtWNKrRp8wWRi5bIut0KkCINCglpUWSnkiww36PltJ4ZxKx ynf46B3HqHBL2iuJaHNYUGn3fkFnp9mLQ6je9rhE7jpbH1yycA/3UP9vBerovydG 3RYXKFCRTefiDasKd/TBrykz2Z8XCOV9HLBZlQczELVIJMoNN3Y= =wOuN -----END PGP SIGNATURE----- --54u2kuW9sGWg/X+X--