summary refs log tree commit diff
diff options
context:
space:
mode:
authorRomain GARBAGE <romain.garbage@inria.fr>2024-03-11 12:07:21 +0100
committerLudovic Courtès <ludo@gnu.org>2024-04-04 16:19:47 +0200
commit8a52fef20f87d71688bd6e62fde4c366469088c5 (patch)
tree8152f691c36aa218489f07b17c660f597f2a0cd0
parent9511a0da7a02df46aad2174e47b2976101c3a175 (diff)
downloadguix-8a52fef20f87d71688bd6e62fde4c366469088c5.tar.gz
gnu: kaldi-for-vosk: Remove dependency on lapack.
* gnu/packages/machine-learning.scm (kaldi-for-vosk): Remove dependency
to lapack.

Change-Id: I0f5f508288ccb2e7fd086aabeffb5b0b4d3f96b2
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/machine-learning.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 737ed6154c..e38d93ea05 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -2517,7 +2517,6 @@ written in C++.")
           (base32 "16w90za8narkfi590cxj4p7vc1f5sdxc927g5hk6kh4l3mf6iisl"))))
       (inputs
        (list alsa-lib
-             lapack ;compared to base kaldi, replacing `(,gfortran "lib")
              glib
              gstreamer
              jack-2
@@ -2536,7 +2535,6 @@ written in C++.")
             (replace 'configure
               (lambda _
                 (let ((portaudio #$(this-package-input "portaudio"))
-                      (lapack    #$(this-package-input "lapack"))
                       (openfst   #$(this-package-input "openfst"))
                       (openblas  #$(this-package-input "openblas")))
                   #$@(if (target-x86?)
@@ -2570,7 +2568,7 @@ written in C++.")
                      (string-append "OPENBLASROOT=\"" openblas "\""))
                     (("-L\\$OPENBLASLIBDIR -l:libopenblas.a -l:libblas.a -l:liblapack.a -l:libf2c.a")
                      (string-append "-L$OPENBLASLIBDIR -lopenblas "
-                                    "-L" lapack "/lib -lblas -llapack")))
+                                    "-L" openblas "/lib -lopenblas")))
                   (mkdir-p #$output) ; must exist
                   (setenv "CONFIG_SHELL" (which "bash"))
                   (setenv "OPENFST_VER" #$(package-version openfst))