guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

45/45: gnu: ocaml-lacaml: Remove dependency on lapack.


From: guix-commits
Subject: 45/45: gnu: ocaml-lacaml: Remove dependency on lapack.
Date: Thu, 4 Apr 2024 10:40:29 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit e6df74d2b1afb71121228330fce9b5020d00220a
Author: Romain GARBAGE <romain.garbage@inria.fr>
AuthorDate: Mon Mar 11 12:07:22 2024 +0100

    gnu: ocaml-lacaml: Remove dependency on lapack.
    
    * gnu/packages/ocaml.scm (ocaml-lacaml): Remove dependency on lapack.
    
    Change-Id: If3100fc29088110705e13e9be97abb7739f2fcab
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/ocaml.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index b70e925d51..7fad276b4e 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -8342,9 +8342,14 @@ library FFTW.")
     (properties '((tunable? . #t)))
     (build-system dune-build-system)
     (arguments
-     `(#:tests? #f)) ; No test target.
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'find-openblas
+                 (lambda* _
+                   (setenv "LACAML_LIBS" "-lopenblas"))))
+           #:tests? #f))                ; No test target.
     (native-inputs
-     (list openblas lapack ocaml-base ocaml-stdio))
+     (list openblas ocaml-base ocaml-stdio))
     (home-page "https://mmottl.github.io/lacaml/";)
     (synopsis
      "OCaml-bindings to BLAS and LAPACK")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]