GNU bug report logs - #69729
[PATCH 00/41] Improve performance in lapack dependent packages.

Previous Next

Package: guix-patches;

Reported by: Romain GARBAGE <romain.garbage <at> inria.fr>

Date: Mon, 11 Mar 2024 11:06:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Bug is archived. No further changes may be made.

Full log


Message #128 received at 69729 <at> debbugs.gnu.org (full text, mbox):

From: Romain GARBAGE <romain.garbage <at> inria.fr>
To: 69729 <at> debbugs.gnu.org
Cc: Romain GARBAGE <romain.garbage <at> inria.fr>
Subject: [PATCH 41/41] gnu: ocaml-lacaml: Remove dependency on lapack.
Date: Mon, 11 Mar 2024 12:07:22 +0100
* gnu/packages/ocaml.scm (ocaml-lacaml): Remove dependency on lapack.

Change-Id: If3100fc29088110705e13e9be97abb7739f2fcab
---
 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 0f4c351141..a45b2d3592 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -8344,9 +8344,14 @@ (define-public ocaml-lacaml
     (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")
-- 
2.41.0





This bug report was last modified 1 year and 50 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.