all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: 65200@debbugs.gnu.org
Subject: [bug#65200] Update gmp to 6.3.0
Date: Thu, 10 Aug 2023 12:22:44 +0200	[thread overview]
Message-ID: <ZNS6dEpq4OT9xX6u@jurong> (raw)

[-- Attachment #1: Type: text/plain, Size: 690 bytes --]

The attached patch updates gmp to the latest release 6.3.0.

I have tested it on x86_64 and the x86_64-w64-mingw32 cross-compilation
target, since I have taken out a work-around for this target.

There are close to 20000 dependent packages, but as far as I can see
bootstrapping is not concerned, which starts from gmp-6.0.

It would be interesting to try whether we can bootstrap directly from
6.3.0 now, that is, whether the comment
  ;; We keep this one around to bootstrap GCC, to work around a compilation
  ;; issue on ARM.  See
  ;; <https://gmplib.org/list-archives/gmp-bugs/2015-December/003848.html>.
is still valid; it might let us drop the two gmp patches altogether.

Andreas


[-- Attachment #2: 0001-gnu-gmp-Update-to-6.3.0.patch --]
[-- Type: text/plain, Size: 3427 bytes --]

From 2955ea78db15dee770a70fac51ea40016b13b4ef Mon Sep 17 00:00:00 2001
Message-ID: <2955ea78db15dee770a70fac51ea40016b13b4ef.1691662380.git.andreas@enge.fr>
From: Andreas Enge <andreas@enge.fr>
Date: Thu, 10 Aug 2023 12:12:48 +0200
Subject: [PATCH] gnu: gmp: Update to 6.3.0.

* gnu/packages/multiprecision.scm (gmp)[source]: Update to 6.3.0. Disable
patch.
[arguments]: Remove 'setenv phase.
---
 gnu/packages/multiprecision.scm | 28 ++++------------------------
 1 file changed, 4 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/multiprecision.scm b/gnu/packages/multiprecision.scm
index 3aa5dccfab..cf11c81635 100644
--- a/gnu/packages/multiprecision.scm
+++ b/gnu/packages/multiprecision.scm
@@ -1,7 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2012, 2013, 2015 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2015, 2018 Andreas Enge <andreas@enge.fr>
+;;; Copyright © 2015, 2018, 2023 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2016, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2016, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
@@ -45,7 +45,7 @@ (define-module (gnu packages multiprecision)
 (define-public gmp
   (package
    (name "gmp")
-   (version "6.2.1")
+   (version "6.3.0")
    (source (origin
             (method url-fetch)
             (uri
@@ -53,8 +53,7 @@ (define-public gmp
                             version ".tar.xz"))
             (sha256
              (base32
-              "1wml97fdmpcynsbw9yl77rj29qibfp652d0w3222zlfx5j8jjj7x"))
-            (patches (search-patches "gmp-faulty-test.patch"))))
+              "1648ad1mr7c1r8lkkqshrv1jfjgfdb30plsadxhni7mq041bihm3"))))
    (build-system gnu-build-system)
    (native-inputs (list m4))
    (outputs '("out" "debug"))
@@ -70,26 +69,7 @@ (define-public gmp
                  ;; they produce different headers.  We need shared.
                  `("--disable-static"
                    "--enable-shared"))
-                (else '())))
-      ;; Remove after core-updates merge.
-      ;; Workaround for gcc-7 transition breakage, -system and cross-build,
-      ;; Note: See <http://bugs.gnu.org/22186> for why not 'CPATH'.
-      ;; Note: See <http://bugs.gnu.org/30756> for why not 'C_INCLUDE_PATH' & co.
-      ,@(if (target-mingw?)
-            `(#:phases
-              (modify-phases %standard-phases
-                (add-before 'configure 'setenv
-                  (lambda _
-                    (let ((gcc (assoc-ref %build-inputs "cross-gcc"))
-                          (libc (assoc-ref %build-inputs "cross-libc")))
-                      (setenv "CROSS_CPLUS_INCLUDE_PATH"
-                              (string-append gcc "/include/c++"
-                                             ":" gcc "/include"
-                                             ":" libc "/include"))
-                      (format #t "environment variable `CROSS_CPLUS_INCLUDE_PATH' set to `~a'\n"
-                              (getenv "CROSS_CPLUS_INCLUDE_PATH"))
-                      #t)))))
-            '())))
+                (else '())))))
    (synopsis "Multiple-precision arithmetic library")
    (description
     "The @acronym{GMP, the GNU Multiple Precision Arithmetic} library performs

base-commit: 90e34d25d5e7c14b7f3293a78f3cdad676c0d035
-- 
2.41.0


             reply	other threads:[~2023-08-10 10:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-10 10:22 Andreas Enge [this message]
2023-08-15 14:59 ` [bug#65200] Update gmp to 6.3.0 Greg Hogan
2023-08-17 14:55 ` Andreas Enge
2023-08-17 16:16   ` Andreas Enge
2023-08-25 12:51 ` [bug#65200] [PATCH v2 0/3] Update gmp and mpfr Andreas Enge
2023-08-25 12:51   ` [bug#65200] [PATCH v2 1/3] gnu: gmp: Update to 6.3.0 Andreas Enge
2023-08-25 12:51   ` [bug#65200] [PATCH v2 2/3] gnu: gmp: Enable parallel tests Andreas Enge
2023-08-25 12:51   ` [bug#65200] [PATCH v2 3/3] gnu: mpfr: Update to 4.2.1 Andreas Enge
2024-09-02 10:13 ` bug#65200: Close Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZNS6dEpq4OT9xX6u@jurong \
    --to=andreas@enge.fr \
    --cc=65200@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.