[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54507] [PATCH v3 3/3] gnu: openfst-1.7.3: Enable ngram-fst extensio
From: |
Aurora |
Subject: |
[bug#54507] [PATCH v3 3/3] gnu: openfst-1.7.3: Enable ngram-fst extension & C++14 build |
Date: |
Thu, 24 Mar 2022 19:59:33 +0000 |
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 | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index ddc1392..d4a3604 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
--
2.30.2
- [bug#54507] [PATCH 1/2] gnu: openfst: Add 1.7.3 for kaldi, Aurora, 2022/03/21
- [bug#54507] [PATCH 2/2] gnu: kaldi: Update to 498b25d, add vector fix patch, bypass tests, Aurora, 2022/03/21
- [bug#54507] gnu: kaldi: bypass tests, Aurora, 2022/03/21
- [bug#54507] [PATCH v2 1/2] gnu: openfst: Add 1.7.3 for kaldi, Aurora, 2022/03/22
- [bug#54507] [PATCH v2 2/2] gnu: kaldi: Update to dd107fd, bypass tests, Aurora, 2022/03/22
- [bug#54507] [PATCH 1/2] gnu: openfst: Add 1.7.3 for kaldi, Ludovic Courtès, 2022/03/24
- [bug#54507] [PATCH 1/2] gnu: openfst: Add 1.7.3 for kaldi, Aurora, 2022/03/24
- [bug#54507] [PATCH v3 0/3] Add openfst 1.7.3 with extensions for kaldi, Aurora, 2022/03/24
- [bug#54507] [PATCH v3 2/3] gnu: kaldi: Update to dd107fd, bypass tests, Aurora, 2022/03/24
- [bug#54507] [PATCH v3 1/3] gnu: openfst: Add 1.7.3 for kaldi, Aurora, 2022/03/24
- [bug#54507] [PATCH v3 3/3] gnu: openfst-1.7.3: Enable ngram-fst extension & C++14 build,
Aurora <=
- [bug#54507] [PATCH v3 3/3] gnu: openfst-1.7.3: Enable ngram-fst extension & C++14 build, Aurora, 2022/03/24