From patchwork Wed Mar 26 12:41:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Enge X-Patchwork-Id: 40846 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 68C3E27BBEA; Wed, 26 Mar 2025 12:43:11 +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=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS 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 9A0F027BBE2 for ; Wed, 26 Mar 2025 12:43:10 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1txQ5n-0005tO-Qc; Wed, 26 Mar 2025 08:42:47 -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 1txQ57-0005T3-CO for guix-patches@gnu.org; Wed, 26 Mar 2025 08:42:16 -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 1txQ54-0000rJ-W0 for guix-patches@gnu.org; Wed, 26 Mar 2025 08:42:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:MIME-Version:References:From:Date:To:Subject; bh=MuG3v5KImK21G8hM466x6uhQEUfrEDQKEVB3OXZBldg=; b=O3xWkyjKQ7wfHHaroO9ViWRufCeI1Q0xzr3jnJYDiXl2VW075WCHMvF8Yx1AmXYUVxq+n+AbUllxFgPzIzsCLK/wNOqzZkzZYPh2R+B7SLFrfcGS57g2JaDvYCddeHJmPYqlJmbjDgKTyNf3lFQHNLVIucj9gqop5P2PdjPklSvbwn1qHVFQ04ojbRb0HFq77eXCFkISlLxpTSJnWWSV05958OYvrnqajWMKhuecsE2bMwdkPVPp50W7g9Q4KLRkLa8KskVnw+jmt+ApVEOK+ew6YJ407jRdz/L9wckXRwiL9qUfAOg1Mf7xIXOj/S1dgMPHvGzSNrHTMAZj3ZHB6A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1txQ54-00043N-JL for guix-patches@gnu.org; Wed, 26 Mar 2025 08:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55901] [PATCH v2] gnu: Add lis. Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 Mar 2025 12:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55901 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: 55901@debbugs.gnu.org, Sharlatan Hellseher , Eric Bavier Received: via spool by 55901-submit@debbugs.gnu.org id=B55901.174299290715552 (code B ref 55901); Wed, 26 Mar 2025 12:42:02 +0000 Received: (at 55901) by debbugs.gnu.org; 26 Mar 2025 12:41:47 +0000 Received: from localhost ([127.0.0.1]:41934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1txQ4p-00042k-1H for submit@debbugs.gnu.org; Wed, 26 Mar 2025 08:41:47 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:33898) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1txQ4m-00042S-FG for 55901@debbugs.gnu.org; Wed, 26 Mar 2025 08:41:45 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 58AF7D5D; Wed, 26 Mar 2025 13:41:37 +0100 (CET) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id y25XQFpnaRhi; Wed, 26 Mar 2025 13:41:36 +0100 (CET) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id F11AE696; Wed, 26 Mar 2025 13:41:35 +0100 (CET) Date: Wed, 26 Mar 2025 13:41:34 +0100 From: Andreas Enge Message-ID: References: <9183f2cc94079fd5afda6b700459b3d91fccddc3.1742983831.git.liliana.prikler@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <9183f2cc94079fd5afda6b700459b3d91fccddc3.1742983831.git.liliana.prikler@gmail.com> X-Rspamd-Queue-Id: 58AF7D5D X-Spamd-Result: default: False [-4.10 / 15.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM(-3.00)[-1.000]; SUSPICIOUS_RECIPS(1.50)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; TAGGED_RCPT(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_ATTACHMENT(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; FREEMAIL_CC(0.00)[debbugs.gnu.org,posteo.net,gmail.com] X-Rspamd-Action: no action X-Spamd-Bar: ---- X-Rspamd-Server: hera 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 Hi again, your new message was dated to 2022, which is a bit surprising :) The patch looks good, I have made a small modification to avoid the assoc-ref, see attached. Please feel free to push. The project itself has a strange organisation: Their git repo is on github, but there the tags stop at version 2.0.30, and latest releases exist only as zip files (while they had tar.gz files in the past). Andreas From d6867665c2f2d0c35d236b7709bfbfd6ac8d0aac Mon Sep 17 00:00:00 2001 Message-ID: From: Liliana Marie Prikler Date: Sat, 11 Jun 2022 09:49:23 +0200 Subject: [PATCH] gnu: Add lis. * gnu/packages/maths.scm (lis): New variable. --- gnu/packages/maths.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) base-commit: 0c83bcfa812f49d5d8c91255548aad46ef3bfcb6 diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 8baf3a0a7f..27c30f223e 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1198,6 +1198,46 @@ (define-public lapack "See LICENSE in the distribution.")) (properties '((tunable? . #t))))) +(define-public lis + (package + (name "lis") + (version "2.1.8") + (source (origin + (method url-fetch) + (uri (string-append "https://www.ssisc.org/lis/dl/lis-" + version ".zip")) + (sha256 + (base32 "0nh2593xkcdv1c3gmj7i64ca393nn0ngqfl522yiwbidh9dvd1nl")))) + (build-system gnu-build-system) + (arguments + (list + #:configure-flags #~(list "--enable-fortran" + "--enable-f90" + "--enable-openmp" + "--enable-complex" + "--disable-sse2" ;; XXX: tuning + "--enable-shared") + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-doc + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (docdir (string-append out "/share/doc/lis-" #$version)) + (mandir (string-append out "/share/man"))) + + (copy-recursively "doc/man" mandir) + ;; TODO: Build the manuals ourselves + (install-file "doc/lis-ug-en.pdf" docdir) + (install-file "doc/lis-ug-ja.pdf" docdir))))))) + (inputs (list openmpi)) + (native-inputs (list gfortran unzip)) + (home-page "https://www.ssisc.org/lis") + (synopsis "Solve discretized linear equations and eigenvalue problems") + (description "Lis is a parallel software library for solving discretized +linear equations and eigenvalue problems that arise in the numerical solution +of partial differential equations using iterative methods.") + (license license:bsd-3))) + (define-public clapack (package (name "clapack")