guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

21/21: gnu: gcc: Set gcc-8 as default.


From: guix-commits
Subject: 21/21: gnu: gcc: Set gcc-8 as default.
Date: Sun, 28 Feb 2021 01:24:42 -0500 (EST)

marusich pushed a commit to branch wip-ppc64le
in repository guix.

commit df5d633db7acf6389ca9d444b8f5784a0da5ac5d
Author: Léo Le Bouter <lle-bout@zaclys.net>
AuthorDate: Thu Feb 25 21:32:49 2021 +0100

    gnu: gcc: Set gcc-8 as default.
    
    This is a requirement for Glibc 2.32 and later on powerpc64le-linux.
    
    * gnu/packages/commencement.scm (gcc-toolchain-8): Use gcc-toolchain 
directly
    as it's the new default.
    (gcc-toolchain-7): No longer the default, make the toolchain from gcc-7.
    * gnu/packages/gcc.scm (gcc): Set to gcc-8.
    
    Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
---
 gnu/packages/commencement.scm | 4 ++--
 gnu/packages/gcc.scm          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 0099c02..7cfdde4 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3815,10 +3815,10 @@ is the GNU Compiler Collection.")
   (make-gcc-toolchain gcc-6))
 
 (define-public gcc-toolchain-7
-  gcc-toolchain)
+  (make-gcc-toolchain gcc-7))
 
 (define-public gcc-toolchain-8
-  (make-gcc-toolchain gcc-8))
+  gcc-toolchain)
 
 (define-public gcc-toolchain-9
   (make-gcc-toolchain gcc-9))
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 1615be0..cdb26d6 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -585,7 +585,7 @@ It also includes runtime support libraries for these 
languages.")))
 ;; Note: When changing the default gcc version, update
 ;;       the gcc-toolchain-* definitions and the gfortran definition
 ;;       accordingly.
-(define-public gcc gcc-7)
+(define-public gcc gcc-8)
 
 (define-public (make-libstdc++ gcc)
   "Return a libstdc++ package based on GCC.  The primary use case is when



reply via email to

[Prev in Thread] Current Thread [Next in Thread]