From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UI7QBb1PzmTLqQAASxT56A (envelope-from ) for ; Sat, 05 Aug 2023 15:33:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SFyhBb1PzmSWWgEA9RJhRA (envelope-from ) for ; Sat, 05 Aug 2023 15:33:49 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B0AC641EFE for ; Sat, 5 Aug 2023 15:33:48 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="g/OATyoL"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691242428; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ekClvLVFSfMEJKPZDckPzSWC3AaUpkqvr+WSE/yV0NQ=; b=R5POvAF+3qU/kuy1dDLnBJMHEomUV8EHtvfEzJSV6ZanbkQYjenyhtaLk21Qy7xtypa07w FbpdnmSV/tx94+jz4f0ypYkrlR36pDpQaOtdNRiyisxM2hYHEcq0+ONrOwn43tZl+xC8m4 zioa/S50km8FO5mc7TpJjmoLmmglmoDO9ALN6Jh77QoCPepGszENt57hug6rlqMPiTbYBG 0P4TYT0rJKJ+EjsSIXBYTsj4Wr8SzdP5Pv78FwRRogYv46AAVxg5H3D0wSa+Jm9vATpBmU CMZmT4ZfiuCiV6W6+4wZNxhMPyYXuPaSdbZE3zzEBtKkpsORPYlW9Kctya4EMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="g/OATyoL"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691242428; a=rsa-sha256; cv=none; b=AALKf4465hagUctAr4Pt2TSbSYujtRGMs60zCuDFVug0q/x4V/mhNU3juMm797fQ3t94se izUxte5gE0x11YP6pmaJRTvgTqzbYfYoVZgr7pE3GSZp9MLrZZbg9pwTd3GdqUS9aatbFC yREtvfIzAg85muli+WOrRL1qRtLBCOHzA+4+aexxKfzdtrqkbtnIUN7vqB5tkvKTGonoS7 oKs3jQ5xW6v5yg6qiJ3mUU1U5iXu/OvzyHfIOI87ELx7aiFroCXkEZLKhDvOUoU0Yz7BH7 G2CMft8+x9m0ZT6qqHxR4XC1uO+ohijHpJezdbmZA5SfSafoXMnl4fqLoUyS1Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSHOx-0000aj-Qg; Sat, 05 Aug 2023 09:33:03 -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 1qSHOw-0000a6-GX for guix-patches@gnu.org; Sat, 05 Aug 2023 09:33: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 1qSHOw-00067v-8V for guix-patches@gnu.org; Sat, 05 Aug 2023 09:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSHOw-0006T3-3G for guix-patches@gnu.org; Sat, 05 Aug 2023 09:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65096] [PATCH 06/10] gnu: Add spectra. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Aug 2023 13:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65096 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65096@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 65096-submit@debbugs.gnu.org id=B65096.169124233024742 (code B ref 65096); Sat, 05 Aug 2023 13:33:02 +0000 Received: (at 65096) by debbugs.gnu.org; 5 Aug 2023 13:32:10 +0000 Received: from localhost ([127.0.0.1]:56217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSHO6-0006R0-Eu for submit@debbugs.gnu.org; Sat, 05 Aug 2023 09:32:10 -0400 Received: from mout02.posteo.de ([185.67.36.66]:53681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSHO3-0006Q8-B6 for 65096@debbugs.gnu.org; Sat, 05 Aug 2023 09:32:09 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 49574240106 for <65096@debbugs.gnu.org>; Sat, 5 Aug 2023 15:32:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1691242321; bh=gWnmrcYZuptomIMFdwj6bGOBS/HpmRz3AwhlMTATHkg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=g/OATyoL5R6hhElsPEBFS6Mlm+xPWAIfIhCWbc2p3U5H75ohr73yaCCSzR2/Qmelb tcFXhbYFQoAEpOWDJni8Gquy8xldEU97IM2la1MbG5/0rum6daieuhm4aVtjdJZeah fZE/HSzDK984z3eTTcNBjDZLhjFlORzK6X1h3t3r+6mzx4zmt5bCSCwzIR094USCY0 5+7ovMsjgkEFgSZWgzLvcwA6tDU4knOY+D8sSenH+d65j3J/v6YzA8mJZhLQRRSmK2 ovNogmRVx2AZznDhCroZAWm5hE5RLkBg2q5nujpBG2GmqZKIkYBh+F/ZeAXmxL7AWa 5aG02hqBJTvMg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RJ3Qm2tltz6tmv; Sat, 5 Aug 2023 15:32:00 +0200 (CEST) From: Vinicius Monego Date: Sat, 5 Aug 2023 13:31:19 +0000 Message-Id: <20230805133123.1128243-6-monego@posteo.net> In-Reply-To: <20230805133123.1128243-1-monego@posteo.net> References: <20230805133123.1128243-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: B0AC641EFE X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: 4.15 X-Migadu-Spam-Score: 4.15 X-TUID: PLabRUHUpIvP * gnu/packages/algebra.scm (spectra): New variable. --- gnu/packages/algebra.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index a717750c7b..20a3d403b1 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -1398,6 +1398,40 @@ (define-public gap ;; safe side, we drop them for now. (license license:gpl2+))) +(define-public spectra + (package + (name "spectra") + (version "1.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/yixuan/spectra") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1krgx7763g0phrp879rgq10dvfyxrdx9rzwxiyzn6qi3iqr6d8hx")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list "-DBUILD_TESTS=ON") + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; This test failed. + (invoke "ctest" "--exclude-regex" + "GenEigsRealShift"))))))) + (inputs (list eigen)) + (home-page "https://spectralib.org/") + (synopsis "C++ library for large scale eigenvalue problems") + (description "Spectra stands for Sparse Eigenvalue Computation Toolkit as +a Redesigned ARPACK. It is a C++ library for large scale eigenvalue problems, +built on top of Eigen. It is implemented as a header-only C++ library and can +be easily embedded in C++ projects that require calculating eigenvalues of +large matrices.") + (license license:mpl2.0))) + (define-public gappa (package (name "gappa") -- 2.34.1