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>
This commit is contained in:
Romain GARBAGE 2024-03-11 12:07:21 +01:00 committed by Ludovic Courtès
parent 9511a0da7a
commit 8a52fef20f
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2517,7 +2517,6 @@ (define kaldi-for-vosk
(base32 "16w90za8narkfi590cxj4p7vc1f5sdxc927g5hk6kh4l3mf6iisl"))))
(inputs
(list alsa-lib
lapack ;compared to base kaldi, replacing `(,gfortran "lib")
glib
gstreamer
jack-2
@ -2536,7 +2535,6 @@ (define kaldi-for-vosk
(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 @@ (define kaldi-for-vosk
(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))