mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
gnu: vosk-api: Remove dependency on lapack.
* gnu/packages/machine-learning.scm (vosk-api): Remove input dependency on lapack. Change-Id: Id46b37f06bffde5f8a198c1ac913a3dff8ce63e6 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
6481610da9
commit
d400d88eb6
1 changed files with 3 additions and 5 deletions
|
@ -5160,8 +5160,7 @@ (define-public vosk-api
|
||||||
(lambda _ (chdir "src")))
|
(lambda _ (chdir "src")))
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda _
|
(lambda _
|
||||||
(let* ((lapack #$(this-package-input "lapack"))
|
(let* ((openfst #$(this-package-input "openfst"))
|
||||||
(openfst #$(this-package-input "openfst"))
|
|
||||||
(openblas #$(this-package-input "openblas"))
|
(openblas #$(this-package-input "openblas"))
|
||||||
(kaldi #$(this-package-input "kaldi")))
|
(kaldi #$(this-package-input "kaldi")))
|
||||||
(substitute* "./Makefile"
|
(substitute* "./Makefile"
|
||||||
|
@ -5171,8 +5170,7 @@ (define-public vosk-api
|
||||||
"")
|
"")
|
||||||
(("-lopenblas -llapack -lblas -lf2c")
|
(("-lopenblas -llapack -lblas -lf2c")
|
||||||
(string-append
|
(string-append
|
||||||
"-L" openblas "/lib " "-lopenblas "
|
"-L" openblas "/lib " "-lopenblas "))
|
||||||
"-L" lapack "/lib " "-llapack -lblas "))
|
|
||||||
(("-lfst -lfstngram")
|
(("-lfst -lfstngram")
|
||||||
(string-append
|
(string-append
|
||||||
"-L" openfst "/lib " "-lfst -lfstngram "))
|
"-L" openfst "/lib " "-lfst -lfstngram "))
|
||||||
|
@ -5194,7 +5192,7 @@ (define-public vosk-api
|
||||||
(for-each
|
(for-each
|
||||||
(lambda (x) (install-file x src))
|
(lambda (x) (install-file x src))
|
||||||
(find-files "." "\\.h$"))))))))
|
(find-files "." "\\.h$"))))))))
|
||||||
(inputs (list kaldi openfst lapack openblas))
|
(inputs (list kaldi openfst openblas))
|
||||||
(home-page "https://alphacephei.com/vosk")
|
(home-page "https://alphacephei.com/vosk")
|
||||||
(synopsis "Speech recognition toolkit based on @code{kaldi}")
|
(synopsis "Speech recognition toolkit based on @code{kaldi}")
|
||||||
(description "\
|
(description "\
|
||||||
|
|
Loading…
Reference in a new issue