guix-commits
[Top][All Lists]
Advanced

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

02/26: gnu: gcc-boot0: Enable 128-bit long double for POWER9.


From: guix-commits
Subject: 02/26: gnu: gcc-boot0: Enable 128-bit long double for POWER9.
Date: Sun, 7 Mar 2021 22:00:12 -0500 (EST)

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

commit 6f4d52cdcc4614d49e03aef8498bd3c01c8f6b7e
Author: Chris Marusich <cmmarusich@gmail.com>
AuthorDate: Sun Jan 31 18:45:24 2021 -0800

    gnu: gcc-boot0: Enable 128-bit long double for POWER9.
    
    * gnu/packages/commencement.scm (gcc-boot0) [#:configure-flags]: Add
    --with-long-double-128 when the boot triplet is 
"powerpc64le-guix-linux-gnu",
    instead of "powerpc64le-linux-gnu", which is incorrect.  The actual triplet
    used during bootstrapping is "powerpc64le-guix-linux-gnu".
---
 gnu/packages/commencement.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 890d579..66ae577 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2020 Timothy Sample <samplet@ngyro.com>
 ;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021 Chris Marusich <cmmarusich@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2725,7 +2726,8 @@ exec " gcc "/bin/" program
                            "--disable-shared"
                            "--enable-languages=c,c++"
 
-                           ,@(if (equal? "powerpc64le-linux-gnu" 
(boot-triplet))
+                           ;; boot-triplet inserts "guix" in the triplet.
+                           ,@(if (equal? "powerpc64le-guix-linux-gnu" 
(boot-triplet))
                                  ;; On POWER9 (little endian) glibc needs the
                                  ;; 128-bit long double type.
                                  '("--with-long-double-128")



reply via email to

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