aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRomain GARBAGE <romain.garbage@inria.fr>2024-03-11 12:07:22 +0100
committerLudovic Courtès <ludo@gnu.org>2024-04-04 16:19:53 +0200
commite6df74d2b1afb71121228330fce9b5020d00220a (patch)
treed1057a5bc5dcd59d80a3b2fa966fa08e0c2e2d0e /gnu
parent8a52fef20f87d71688bd6e62fde4c366469088c5 (diff)
downloadguix-e6df74d2b1afb71121228330fce9b5020d00220a.tar.gz
guix-e6df74d2b1afb71121228330fce9b5020d00220a.zip
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ocaml.scm9
1 files 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")