mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
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:
parent
9511a0da7a
commit
8a52fef20f
1 changed files with 1 additions and 3 deletions
|
@ -2517,7 +2517,6 @@ (define kaldi-for-vosk
|
||||||
(base32 "16w90za8narkfi590cxj4p7vc1f5sdxc927g5hk6kh4l3mf6iisl"))))
|
(base32 "16w90za8narkfi590cxj4p7vc1f5sdxc927g5hk6kh4l3mf6iisl"))))
|
||||||
(inputs
|
(inputs
|
||||||
(list alsa-lib
|
(list alsa-lib
|
||||||
lapack ;compared to base kaldi, replacing `(,gfortran "lib")
|
|
||||||
glib
|
glib
|
||||||
gstreamer
|
gstreamer
|
||||||
jack-2
|
jack-2
|
||||||
|
@ -2536,7 +2535,6 @@ (define kaldi-for-vosk
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda _
|
(lambda _
|
||||||
(let ((portaudio #$(this-package-input "portaudio"))
|
(let ((portaudio #$(this-package-input "portaudio"))
|
||||||
(lapack #$(this-package-input "lapack"))
|
|
||||||
(openfst #$(this-package-input "openfst"))
|
(openfst #$(this-package-input "openfst"))
|
||||||
(openblas #$(this-package-input "openblas")))
|
(openblas #$(this-package-input "openblas")))
|
||||||
#$@(if (target-x86?)
|
#$@(if (target-x86?)
|
||||||
|
@ -2570,7 +2568,7 @@ (define kaldi-for-vosk
|
||||||
(string-append "OPENBLASROOT=\"" openblas "\""))
|
(string-append "OPENBLASROOT=\"" openblas "\""))
|
||||||
(("-L\\$OPENBLASLIBDIR -l:libopenblas.a -l:libblas.a -l:liblapack.a -l:libf2c.a")
|
(("-L\\$OPENBLASLIBDIR -l:libopenblas.a -l:libblas.a -l:liblapack.a -l:libf2c.a")
|
||||||
(string-append "-L$OPENBLASLIBDIR -lopenblas "
|
(string-append "-L$OPENBLASLIBDIR -lopenblas "
|
||||||
"-L" lapack "/lib -lblas -llapack")))
|
"-L" openblas "/lib -lopenblas")))
|
||||||
(mkdir-p #$output) ; must exist
|
(mkdir-p #$output) ; must exist
|
||||||
(setenv "CONFIG_SHELL" (which "bash"))
|
(setenv "CONFIG_SHELL" (which "bash"))
|
||||||
(setenv "OPENFST_VER" #$(package-version openfst))
|
(setenv "OPENFST_VER" #$(package-version openfst))
|
||||||
|
|
Loading…
Reference in a new issue