GNU bug report logs - #43679
[PATCH 0/5] Add '--with-toolchain' package transformation option

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Mon, 28 Sep 2020 19:54:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Ludovic Courtès <ludovic.courtes <at> inria.fr>, 43679 <at> debbugs.gnu.org
Subject: [bug#43679] [PATCH 3/5] gnu: clang-toolchain: Create 'cc' and 'c++' symlinks.
Date: Tue, 29 Sep 2020 08:42:12 +0300
[Message part 1 (text/plain, inline)]
On Mon, Sep 28, 2020 at 09:56:46PM +0200, Ludovic Courtès wrote:
> From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
> 
> * gnu/packages/llvm.scm (make-clang-toolchain)[arguments]: Create 'cc'
> and 'c++' symlinks.
> ---
>  gnu/packages/llvm.scm | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> 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)))
>  
> +                     ;; Create 'cc' and 'c++' so that one can use it as a
> +                     ;; drop-in replacement for the default tool chain and
> +                     ;; 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")))
> -- 
> 2.28.0

Isn't this something we've turned down patches for in the past with gcc?

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.