From patchwork Fri Jun 16 13:27:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 50969 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 262F327BBE9; Fri, 16 Jun 2023 14:28:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 E87EA27BBE2 for ; Fri, 16 Jun 2023 14:28:12 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qA9Uj-0001Yd-Es; Fri, 16 Jun 2023 09:28:05 -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 1qA9Ui-0001YG-8z for guix-patches@gnu.org; Fri, 16 Jun 2023 09:28:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qA9Ui-0004cM-0K for guix-patches@gnu.org; Fri, 16 Jun 2023 09:28:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qA9Uf-0000dU-TE; Fri, 16 Jun 2023 09:28:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64107] [PATCH] gnu: arpack-ng: Update to 3.9.0. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, efraim@flashner.co.il, bavier@posteo.net, guix-patches@gnu.org Resent-Date: Fri, 16 Jun 2023 13:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64107 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64107@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= , Andreas Enge , Efraim Flashner , Eric Bavier X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andreas Enge , Efraim Flashner , Eric Bavier Received: via spool by submit@debbugs.gnu.org id=B.16869220782433 (code B ref -1); Fri, 16 Jun 2023 13:28:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jun 2023 13:27:58 +0000 Received: from localhost ([127.0.0.1]:48789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qA9Ub-0000dB-VU for submit@debbugs.gnu.org; Fri, 16 Jun 2023 09:27:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:53484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qA9Ua-0000d3-3o for submit@debbugs.gnu.org; Fri, 16 Jun 2023 09:27:56 -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 1qA9UZ-0001XI-Qo for guix-patches@gnu.org; Fri, 16 Jun 2023 09:27:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qA9UY-0004Zv-Na; Fri, 16 Jun 2023 09:27:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=9sfI4WjKx/SrR7le3IatRQsnbfacu8SXUqDWCzINgF0=; b=H4Rq4TMcs8BtDo wTKJfGNgVT6rs5UAKVcsNeq6EeMqKkEcAWEinuQ4mGTJEjx4Y6n2HxNWhWV03KDCDNi5tiJV02/OE Onv3i62SJUtVYogDVr1oGBQ9QJmiAG+kvoHg/qpyzHsfCdHJ2Md0hoSYWqa1AUui+WUSBRHerqcJ1 vx0uTPLSTWoFu/cn2T74y+VSkCQS4txaMm1Y60sC6taFg5B6LxieV67Qw/a2UT8DjklXPrHo7fwJf mc2Mn+drA9oJQNb6Y2qGO/8BwqdwxebH7/aEcP62jd9Zivw13GIL4M87OViThIyVKlN54rpd/u7FJ cpIuG/wZvP0RrPjZl4OQ==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qA9UY-0001aJ-9O; Fri, 16 Jun 2023 09:27:54 -0400 From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Fri, 16 Jun 2023 15:27:45 +0200 Message-Id: <30555c3ed595e2d89849fb2ea60710ef3b0e2b4a.1686922052.git.ludo@gnu.org> X-Mailer: git-send-email 2.40.1 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 From: Ludovic Courtès * gnu/packages/maths.scm (arpack-ng): Update to 3.9.0. [build-system]: Switch to CMAKE-BUILD-SYSTEM. [native-inputs]: Remove AUTOCONF, AUTOMAKE, and LIBTOOL. (arpack-ng-openmpi)[inputs]: Use 'modify-inputs'. [arguments]: Use gexps. --- gnu/packages/maths.scm | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) base-commit: 31336e9f5d68512a9c1c6826bce9f17c892a2125 diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index f5a2181905..e1f9834e65 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -973,7 +973,7 @@ (define-public vinci (define-public arpack-ng (package (name "arpack-ng") - (version "3.8.0") + (version "3.9.0") (home-page "https://github.com/opencollab/arpack-ng") (source (origin (method git-fetch) @@ -981,10 +981,10 @@ (define-public arpack-ng (file-name (git-file-name name version)) (sha256 (base32 - "0l7as5z6xvbxly8alam9s4kws70952qq35a6vkljzayi4b9gbklx")))) - (build-system gnu-build-system) + "09smxilyn8v9xs3kpx3nlj2s7ql3v8z40mpc09kccbb6smyd35iv")))) + (build-system cmake-build-system) (native-inputs - (list autoconf automake libtool pkg-config)) + (list pkg-config)) (inputs (list eigen lapack gfortran)) (synopsis "Fortran subroutines for solving eigenvalue problems") @@ -998,16 +998,16 @@ (define-public arpack-ng-openmpi (package (inherit arpack-ng) (name "arpack-ng-openmpi") (inputs - `(("mpi" ,openmpi) - ,@(package-inputs arpack-ng))) + (modify-inputs (package-inputs arpack-ng) + (prepend openmpi))) (arguments (substitute-keyword-arguments (package-arguments arpack-ng) - ((#:configure-flags _ '()) - ''("--enable-mpi")) - ((#:phases phases '%standard-phases) - `(modify-phases ,phases - (add-before 'check 'mpi-setup - ,%openmpi-setup))))) + ((#:configure-flags _ #~()) + #~'("-DMPI=ON")) + ((#:phases phases #~%standard-phases) + #~(modify-phases #$phases + (add-before 'check 'mpi-setup + #$%openmpi-setup))))) (synopsis "Fortran subroutines for solving eigenvalue problems with MPI"))) (define-public lapack