mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: openfst-1.7.3: Enable ngram-fst extension & C++14 build
The extension doesn't build in old versions of openfst such as 1.7.3 without manually setting CXXFLAGS. This package definition, including this workaround to build extensions successfully, will need to be removed once kaldi is fixed upstream and can be used with up-to-date versions of openfst. * gnu/packages/machine-learning.scm (openfst-1.7.3)[arguments]: New field. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
d57a2c2b33
commit
d60b9f8d0f
1 changed files with 3 additions and 1 deletions
|
@ -596,7 +596,9 @@ (define-public openfst-1.7.3
|
|||
"FstDownload/openfst-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"038a60w7y8qnbxmcrsim9rafz9mihsny8xv50jpzlr7rl166pp5q"))))))
|
||||
"038a60w7y8qnbxmcrsim9rafz9mihsny8xv50jpzlr7rl166pp5q"))))
|
||||
(arguments '(#:configure-flags '("--enable-ngram-fsts" "CXXFLAGS=-std=c++14")
|
||||
#:make-flags '("CXXFLAGS=-std=c++14")))))
|
||||
|
||||
(define-public shogun
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue