From patchwork Tue Mar 19 15:02:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Enge X-Patchwork-Id: 61985 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 58C3927BBEA; Tue, 19 Mar 2024 15:04:56 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0E68327BBE2 for ; Tue, 19 Mar 2024 15:04:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmb11-0002uX-8q; Tue, 19 Mar 2024 11:04:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmb0w-0002u5-8A for guix-patches@gnu.org; Tue, 19 Mar 2024 11:04:30 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rmb0p-0006E0-Ev for guix-patches@gnu.org; Tue, 19 Mar 2024 11:04:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmb1R-00081v-K0; Tue, 19 Mar 2024 11:05:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69871] [PATCH v3 1/2] gnu: flint: Update to 3.1.2. References: <0f4ffd1d8aa64cd1f6e08eaeb45c5f9a76583988.1710773239.git.andreas@enge.fr> In-Reply-To: <0f4ffd1d8aa64cd1f6e08eaeb45c5f9a76583988.1710773239.git.andreas@enge.fr> Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 15:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69871 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69871@debbugs.gnu.org Cc: Andreas Enge , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 69871-submit@debbugs.gnu.org id=B69871.171086064530592 (code B ref 69871); Tue, 19 Mar 2024 15:05:01 +0000 Received: (at 69871) by debbugs.gnu.org; 19 Mar 2024 15:04:05 +0000 Received: from localhost ([127.0.0.1]:51094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmb0X-0007xK-5v for submit@debbugs.gnu.org; Tue, 19 Mar 2024 11:04:05 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:55938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmb0U-0007wB-Ko for 69871@debbugs.gnu.org; Tue, 19 Mar 2024 11:04:03 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 45A3DA0; Tue, 19 Mar 2024 16:02:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nLZ_DhQ6Cn5d; Tue, 19 Mar 2024 16:02:47 +0100 (CET) Received: from localhost.localdomain (unknown [147.210.246.189]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 119F4672; Tue, 19 Mar 2024 16:02:46 +0100 (CET) From: Andreas Enge Date: Tue, 19 Mar 2024 16:02:04 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/algebra.scm (flint): Update to 3.1.2. [arguments]: Add a configure flag. [license]: Change to lgpl3+. Change-Id: I57d6dc7e1ce90399d9e4c01b35e62793bfc07bee --- gnu/packages/algebra.scm | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) base-commit: ee11b22fcc7d8b42847e9d940ce5be3bc0d4f880 diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 3fb9362b91..c8601e7f78 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -446,20 +446,24 @@ (define-public giac (define-public flint (package (name "flint") - (version "3.0.1") + (version "3.1.2") (source (origin (method url-fetch) (uri (string-append "https://flintlib.org/flint-" version ".tar.gz")) (sha256 - (base32 "1d4lawfvmjd4n7rp4z9xkwwjjbrjhkmxnxw1xf0ki1isa001lcbv")))) + (base32 "0017bjncpx4kdx67qcnm3nahz3gyyi2w3ggkrx586r3llcqs9czx")))) (build-system gnu-build-system) (inputs (list ntl)) (propagated-inputs - (list gmp mpfr)) ; header files from both are included by flint/arith.h + (list gmp mpfr)) ; header files included by flint.h or mpfr_mat.h (arguments - `(#:parallel-tests? #f)) ; seems to be necessary on arm + ;; Parallel tests failed in the past on ARM, this may need to be + ;; tested again. + `(#:parallel-tests? #f + ;; Prevent build machine specifics from ending up in the binary. + #:configure-flags '("--disable-assembly"))) (synopsis "Fast library for number theory") (description "FLINT is a C library for number theory. It supports arithmetic @@ -472,7 +476,7 @@ (define-public flint GCDs, factoring, solving linear systems, and evaluating special functions. In addition, FLINT provides various low-level routines for fast arithmetic.") - (license license:lgpl2.1+) + (license license:lgpl3+) (home-page "https://flintlib.org/") (properties '((release-monitoring-url . "http://flintlib.org/downloads.html"))))) @@ -996,7 +1000,8 @@ (define-public eigen (guix build utils) (guix build cmake-build-system)) - #:phases (modify-phases %standard-phases + #:phases + (modify-phases %standard-phases (add-after 'unpack 'disable-some-tests ;; Not all platforms are well supported by the test suite. (lambda _