From patchwork Wed Mar 26 13:44:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Enge X-Patchwork-Id: 40850 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 9178327BBEA; Wed, 26 Mar 2025 13:45:18 +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,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 7805927BBE2 for ; Wed, 26 Mar 2025 13:45:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1txR44-000254-DH; Wed, 26 Mar 2025 09:45:04 -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 1txR42-00024o-Ie for guix-patches@gnu.org; Wed, 26 Mar 2025 09:45:02 -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 1txR42-0001Lu-5C for guix-patches@gnu.org; Wed, 26 Mar 2025 09:45:02 -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=A6pXLtp/SeEcTKw40jQ6J5kLkNGa4odeRVa2LEScqis=; b=IdgRPsRAsuMlj+cl1K8Q9PN02Kwy1AUGizzywSru7VQyOPZZ4LXUW/U2pIwXyq/uNWpExUxy8N174cSud//zvO0oJOo0Ue/IOYbvKvku74BdFKxoeXP7j9TMGyM6pH7YKAMlI1fZloyy7SFySH5k8MLvsGRGRRny7V3hVhhsMgnJWwavTin1wDF8+FxzMLrCHQ9sOqahN7IyasyzyZw0pSFz0+lB4AYB/jC8ivjzKAl1rUmAoGS6PRor2KULKVzCgEfO7J2FK8MWdwLmmdr30SwdsiVTmL7hBtVpYnW0cUZcnaVh9dBfV4HU/lFQ0zL8zV2pWYVOTWWWgdt7vTKHRg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1txR41-0004rI-W4 for guix-patches@gnu.org; Wed, 26 Mar 2025 09:45: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 13:45:01 +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.174299669218644 (code B ref 55901); Wed, 26 Mar 2025 13:45:01 +0000 Received: (at 55901) by debbugs.gnu.org; 26 Mar 2025 13:44:52 +0000 Received: from localhost ([127.0.0.1]:42134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1txR3s-0004qe-5I for submit@debbugs.gnu.org; Wed, 26 Mar 2025 09:44:52 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:60882) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1txR3m-0004qJ-JE for 55901@debbugs.gnu.org; Wed, 26 Mar 2025 09:44:48 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id D9664DBC; Wed, 26 Mar 2025 14:44:39 +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 x1CLF8LEdewM; Wed, 26 Mar 2025 14:44:39 +0100 (CET) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id D315D696; Wed, 26 Mar 2025 14:44:36 +0100 (CET) Date: Wed, 26 Mar 2025 14:44:32 +0100 From: Andreas Enge Message-ID: References: <9183f2cc94079fd5afda6b700459b3d91fccddc3.1742983831.git.liliana.prikler@gmail.com> <5fe1f8c3350aa9f0ba9109b168edb4dc4e5ae5a2.camel@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <5fe1f8c3350aa9f0ba9109b168edb4dc4e5ae5a2.camel@gmail.com> X-Rspamd-Queue-Id: D9664DBC 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 Am Wed, Mar 26, 2025 at 02:08:38PM +0100 schrieb Liliana Marie Prikler: > > The patch looks good, I have made a small modification to avoid the > > assoc-ref, see attached. Please feel free to push. > Did you send the right file? It lools like the assoc-ref is still > there. I know we could use #$output, but I don't feel too strongly > about it. WDYT? Ah, sorry, I had probably forgotten to commit the local changes. Here it is. I would say that #$output goes together with all the "modernising" changes to packaging such as gexps, not using assoc-ref, not ending a phase with #t, so I would prefer it. Andreas From afb324e09ff086d330ef9b667ee24bd9c9e832cc 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. Change-Id: I68bf93787346815912d02b919cb5c9acf884483e --- gnu/packages/maths.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) base-commit: 0c83bcfa812f49d5d8c91255548aad46ef3bfcb6 diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 8baf3a0a7f..394897a448 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1198,6 +1198,45 @@ (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 _ + (let* ((share (string-append #$output "/share")) + (docdir (string-append share "/doc/lis-" #$version)) + (mandir (string-append 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")