gnu: Add hmat.

* gnu/packages/maths.scm (hmat): New variable.
This commit is contained in:
Vinicius Monego 2023-07-30 11:16:38 -03:00
parent ee5de9cdf2
commit 7a53bd61a0
No known key found for this signature in database
GPG Key ID: 637B0B138065B68A

View File

@ -1292,6 +1292,30 @@ plotting engine by third-party applications like Octave.")
(license (license:fsf-free
"http://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/Copyright"))))
(define-public hmat
(package
(name "hmat")
(version "1.9.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/jeromerobert/hmat-oss")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0ssjzf3sdhn80w03bhp694s413222cl0100bf36mx70q3a1b6vi5"))))
(build-system cmake-build-system)
(arguments
;; Examples are the tests.
(list #:configure-flags #~(list "-DBUILD_EXAMPLES=ON")))
(inputs (list openblas))
(home-page "https://github.com/jeromerobert/hmat-oss")
(synopsis "Hierarchical matrix library")
(description "@code{hmat-oss} is hierarchical matrix library written in
C++ with a C API. It contains a LU and LLt solver, and a few other things.")
(license license:gpl2+)))
(define-public gctp
(package
(name "gctp")