From patchwork Tue Mar 19 14:31:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Enge X-Patchwork-Id: 61983 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 339D427BBEB; Tue, 19 Mar 2024 14:33:43 +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=ham 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 87A1D27BBE2 for ; Tue, 19 Mar 2024 14:33:42 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmaWu-0005oC-PJ; Tue, 19 Mar 2024 10:33:28 -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 1rmaWs-0005no-TW for guix-patches@gnu.org; Tue, 19 Mar 2024 10:33:26 -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 1rmaWs-0008Dy-KX for guix-patches@gnu.org; Tue, 19 Mar 2024 10:33:26 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmaXS-0005jd-MN; Tue, 19 Mar 2024 10:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69871] [PATCH v2] 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 14:34:02 +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.171085882221992 (code B ref 69871); Tue, 19 Mar 2024 14:34:02 +0000 Received: (at 69871) by debbugs.gnu.org; 19 Mar 2024 14:33:42 +0000 Received: from localhost ([127.0.0.1]:51049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmaX6-0005iT-Lo for submit@debbugs.gnu.org; Tue, 19 Mar 2024 10:33:41 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:32824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmaX3-0005hh-SN for 69871@debbugs.gnu.org; Tue, 19 Mar 2024 10:33:38 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id B457633B; Tue, 19 Mar 2024 15:32:22 +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 WXeddR3f6-dK; Tue, 19 Mar 2024 15:32:22 +0100 (CET) Received: from localhost.localdomain (unknown [147.210.246.189]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 02E025B; Tue, 19 Mar 2024 15:32:21 +0100 (CET) From: Andreas Enge Date: Tue, 19 Mar 2024 15:31:45 +0100 Message-ID: <37f33c5f293233a97a29c38c3535f92b679407b8.1710858705.git.andreas@enge.fr> 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: 83c5e7169d3bfa23a51225a8d809a435c1f2dd6b 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 _