~ruther/guix-local

c89591014bbb33d76f7d9478ffc6a1836e238f8c — Romain GARBAGE 2 years ago 55d48b9
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>
1 files changed, 3 insertions(+), 6 deletions(-)

M gnu/packages/haskell-xyz.scm
M gnu/packages/haskell-xyz.scm => gnu/packages/haskell-xyz.scm +3 -6
@@ 5325,18 5325,15 @@ Accounting.")
    (build-system haskell-build-system)
    (properties '((upstream-name . "hmatrix")))
    (arguments
     `(#:extra-directories ("lapack")))
     `(#:configure-flags '("--flags=openblas")
       #:extra-directories ("openblas")))
    (inputs
     (list ghc-random
           ghc-split
           ghc-storable-complex
           ghc-semigroups
           ghc-vector
           ;;("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")))
           openblas))
    (home-page "https://github.com/albertoruiz/hmatrix")
    (synopsis "Haskell numeric linear algebra library")
    (description "The HMatrix package provices a Haskell library for