guix-commits
[Top][All Lists]
Advanced

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

160/163: gnu: Add mpc-boot 1.0.3.


From: Jan Nieuwenhuizen
Subject: 160/163: gnu: Add mpc-boot 1.0.3.
Date: Thu, 30 Aug 2018 01:03:42 -0400 (EDT)

janneke pushed a commit to branch wip-bootstrap
in repository guix.

commit 12433be6b769647d609737cbb1b5845ec5ae95d3
Author: Jan Nieuwenhuizen <address@hidden>
Date:   Tue Aug 28 15:17:39 2018 +0200

    gnu: Add mpc-boot 1.0.3.
    
    * gnu/packages/commencement.scm (mpc-boot): New variable.
    (gcc-mesboot): Use it.
---
 gnu/packages/commencement.scm | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 5cae2d4..6779502 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1185,6 +1185,18 @@ ac_cv_c_float_format='IEEE (little-endian)'
               (sha256 (base32
                        
"0dxn4904dra50xa22hi047lj8kkpr41d6vb9sd4grca880c7wv94"))))))
 
+(define mpc-boot
+  (package
+    (inherit mpc)
+    (version "1.0.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://gnu/mpc/mpc-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1hzci2zrrd7v3g1jk35qindq05hbl0bhjcyyisq9z209xb3fqzb1"))))))
+
 (define-public gcc-mesboot
   (package-with-bootstrap-guile
    (package
@@ -1202,7 +1214,7 @@ ac_cv_c_float_format='IEEE (little-endian)'
                  "06bqygv17f71f7g7pi7ddvhljcr8dimrypgiif9g1r6lqn1sbfnx"))))
      (inputs `(("gmp-source" ,(package-source gmp-boot))
                ("mpfr-source" ,(package-source mpfr-boot))
-               ("mpc-source" ,(package-source mpc))))
+               ("mpc-source" ,(package-source mpc-boot))))
      (propagated-inputs '())
      (native-inputs `(("binutils" ,binutils-mesboot)
                       ("gcc" ,gcc-mesboot0)
@@ -1287,7 +1299,7 @@ ac_cv_c_float_format='IEEE (little-endian)'
                                      (package-full-name lib "-")
                                      char-set:letter)
                                    ,(package-name lib)))
-                       (list gmp-boot mpfr-boot mpc))
+                       (list gmp-boot mpfr-boot mpc-boot))
                 #t)))
 
           (add-before 'configure 'setenv



reply via email to

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