[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/09: gnu: clang-toolchain: Create 'cc' and 'c++' symlinks.
From: |
guix-commits |
Subject: |
06/09: gnu: clang-toolchain: Create 'cc' and 'c++' symlinks. |
Date: |
Mon, 12 Oct 2020 12:25:01 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit b668450716f0949e6a66550c38b6ba738f66bba7
Author: Ludovic Courtès <ludovic.courtes@inria.fr>
AuthorDate: Mon Sep 28 21:09:50 2020 +0200
gnu: clang-toolchain: Create 'cc' and 'c++' symlinks.
* 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 7efabd6..358fbff 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")))
- branch master updated (51d3696 -> a2ed00f), guix-commits, 2020/10/12
- 01/09: upgrade: Mention '--do-not-upgrade' in '--help' output., guix-commits, 2020/10/12
- 03/09: substitute: Reduce default narinfo negative TTL to 1h., guix-commits, 2020/10/12
- 02/09: tests: Add missing copyright line., guix-commits, 2020/10/12
- 04/09: gnu: gcc-toolchain: Add 'GUIX_LOCPATH' to the search paths., guix-commits, 2020/10/12
- 07/09: packages: Add 'package-with-c-toolchain'., guix-commits, 2020/10/12
- 09/09: news: Add entry for '--with-c-toolchain'., guix-commits, 2020/10/12
- 05/09: gnu: clang-toolchain: Add 'GUIX_LOCPATH' to the search paths., guix-commits, 2020/10/12
- 06/09: gnu: clang-toolchain: Create 'cc' and 'c++' symlinks.,
guix-commits <=
- 08/09: guix build: Add '--with-c-toolchain'., guix-commits, 2020/10/12