[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: gnu: openfst-1.7.3: Enable ngram-fst extension & C++14 build
From: |
guix-commits |
Subject: |
05/06: gnu: openfst-1.7.3: Enable ngram-fst extension & C++14 build |
Date: |
Sun, 15 May 2022 16:51:07 -0400 (EDT) |
civodul pushed a commit to branch staging
in repository guix.
commit d60b9f8d0ffd19ab5c1da465eb332d299cf7a81b
Author: Aurora <rind38@disroot.org>
AuthorDate: Thu Mar 24 19:59:33 2022 +0000
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>
---
gnu/packages/machine-learning.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 4c049d51f8..5ca70bd3d5 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -596,7 +596,9 @@ optimizing, and searching weighted finite-state transducers
(FSTs).")
"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
- branch staging updated (c591bb6819 -> 7c204281ff), guix-commits, 2022/05/15
- 03/06: gnu: openfst: Add 1.7.3 for kaldi, guix-commits, 2022/05/15
- 01/06: gnu: openblas: Update to 0.3.20, guix-commits, 2022/05/15
- 04/06: gnu: kaldi: Update to dd107fd, bypass tests, guix-commits, 2022/05/15
- 05/06: gnu: openfst-1.7.3: Enable ngram-fst extension & C++14 build,
guix-commits <=
- 06/06: gnu: openfst: Update to 1.8.2, enable ngram extension, guix-commits, 2022/05/15
- 02/06: gnu: openblas: Remove input labels., guix-commits, 2022/05/15