From patchwork Mon Mar 18 14:47:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Enge X-Patchwork-Id: 61924 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 A018327BBEA; Mon, 18 Mar 2024 16:18:55 +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 0D90327BBE2 for ; Mon, 18 Mar 2024 16:18:54 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmFe8-00070I-FK; Mon, 18 Mar 2024 12:15:32 -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 1rmFe5-0006ze-Bl for guix-patches@gnu.org; Mon, 18 Mar 2024 12:15:29 -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 1rmFe5-0004U4-2z for guix-patches@gnu.org; Mon, 18 Mar 2024 12:15:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmFed-0003nG-6D; Mon, 18 Mar 2024 12:16:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69871] [PATCH] gnu: flint: Update to 3.1.0. 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: Mon, 18 Mar 2024 16:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 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-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by submit@debbugs.gnu.org id=B.171077854514460 (code B ref -1); Mon, 18 Mar 2024 16:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Mar 2024 16:15:45 +0000 Received: from localhost ([127.0.0.1]:60520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmFeK-0003l6-85 for submit@debbugs.gnu.org; Mon, 18 Mar 2024 12:15:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:44036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmFeH-0003jd-5Z for submit@debbugs.gnu.org; Mon, 18 Mar 2024 12:15:42 -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 1rmEHA-00018Q-79 for guix-patches@gnu.org; Mon, 18 Mar 2024 10:47:44 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmEH5-0005oL-UV for guix-patches@gnu.org; Mon, 18 Mar 2024 10:47:43 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 7750910D8; Mon, 18 Mar 2024 15:47:36 +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 4xmnzXLnnEmM; Mon, 18 Mar 2024 15:47:35 +0100 (CET) Received: from localhost.localdomain (unknown [147.210.246.189]) by hera.aquilenet.fr (Postfix) with ESMTPSA id ABFA7D1; Mon, 18 Mar 2024 15:47:35 +0100 (CET) From: Andreas Enge Date: Mon, 18 Mar 2024 15:47:19 +0100 Message-ID: <0f4ffd1d8aa64cd1f6e08eaeb45c5f9a76583988.1710773239.git.andreas@enge.fr> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=185.233.100.1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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.0. [arguments]: Add a configure flag. Add a phase. [license]: Change to lgpl3+. Change-Id: I57d6dc7e1ce90399d9e4c01b35e62793bfc07bee --- gnu/packages/algebra.scm | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) base-commit: c8556379c3f2d3d095a178858915720f2eebc012 diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 3fb9362b91..13cd523d6a 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -446,20 +446,32 @@ (define-public giac (define-public flint (package (name "flint") - (version "3.0.1") + (version "3.1.0") (source (origin (method url-fetch) (uri (string-append "https://flintlib.org/flint-" version ".tar.gz")) (sha256 - (base32 "1d4lawfvmjd4n7rp4z9xkwwjjbrjhkmxnxw1xf0ki1isa001lcbv")))) + (base32 "0h9k792w4lidlv3czpmjk5hi8fqf3b0vp7av28sc6f3pp18pw42b")))) (build-system gnu-build-system) (inputs (list ntl)) (propagated-inputs (list gmp mpfr)) ; header files from both are included by flint/arith.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 ;; seems to be necessary on arm, + ;;but maybe not any more... + ;; Prevent build machine specifics from ending up in the binary. + #:configure-flags '("--disable-assembly") + ;; Replace absolute path. + #:phases + (modify-phases %standard-phases + (add-before 'build 'patch-makefile + (lambda _ + (substitute* "Makefile" + (("/sbin/ldconfig") "ldconfig"))))))) (synopsis "Fast library for number theory") (description "FLINT is a C library for number theory. It supports arithmetic @@ -472,7 +484,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 +1008,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 _