[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65096] [PATCH 06/10] gnu: Add spectra.
From: |
Vinicius Monego |
Subject: |
[bug#65096] [PATCH 06/10] gnu: Add spectra. |
Date: |
Sat, 5 Aug 2023 13:31:19 +0000 |
* 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
- [bug#65096] [PATCH 00/10] And OpenTURNS and some math libraries., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 01/10] gnu: Add hmat., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 02/10] gnu: Add primesieve., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 04/10] gnu: Add bonmin., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 03/10] gnu: Add cminpack., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 05/10] gnu: Add pagmo2., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 06/10] gnu: Add spectra.,
Vinicius Monego <=
- [bug#65096] [PATCH 07/10] gnu: ceres: Propagate eigen and gflags., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 08/10] gnu: Add python-numpoly., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 09/10] gnu: Add python-chaospy., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 10/10] gnu: Add python-openturns., Vinicius Monego, 2023/08/05