gnu: ghc-hmatrix: Switch to openblas.

* gnu/packages/haskell-xyz.scm (ghc-hmatrix): Switch input dependency from
lapack to openblas. Add configure flags.

Change-Id: Ic8924b1fb9fa61af16abd1ac2a22c82a352a8e1b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Romain GARBAGE 2024-03-11 12:06:53 +01:00 committed by Ludovic Courtès
parent 55d48b9a2f
commit c89591014b
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -5325,18 +5325,15 @@ (define-public ghc-hmatrix
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "hmatrix"))) (properties '((upstream-name . "hmatrix")))
(arguments (arguments
`(#:extra-directories ("lapack"))) `(#:configure-flags '("--flags=openblas")
#:extra-directories ("openblas")))
(inputs (inputs
(list ghc-random (list ghc-random
ghc-split ghc-split
ghc-storable-complex ghc-storable-complex
ghc-semigroups ghc-semigroups
ghc-vector ghc-vector
;;("openblas" ,openblas) openblas))
lapack))
;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
;; disables inclusion of the LAPACK functions.
;; (arguments `(#:configure-flags '("--flags=openblas")))
(home-page "https://github.com/albertoruiz/hmatrix") (home-page "https://github.com/albertoruiz/hmatrix")
(synopsis "Haskell numeric linear algebra library") (synopsis "Haskell numeric linear algebra library")
(description "The HMatrix package provices a Haskell library for (description "The HMatrix package provices a Haskell library for