guix-commits
[Top][All Lists]
Advanced

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

branch wip-ppc64le updated: gnu: gcc: Set gcc-8 as default.


From: guix-commits
Subject: branch wip-ppc64le updated: gnu: gcc: Set gcc-8 as default.
Date: Thu, 25 Feb 2021 16:04:54 -0500

This is an automated email from the git hooks/post-receive script.

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

The following commit(s) were added to refs/heads/wip-ppc64le by this push:
     new 147b748  gnu: gcc: Set gcc-8 as default.
147b748 is described below

commit 147b74817e6cf97f37090ecfd52e2588f4c39f7e
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.
---
 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 1c922e9..b4f8568 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]