Skip to content

Commit b23f720

Browse files
committed
Update src/Makefile to enforce OpenFst >= 1.5.3.
OpenFst-1.5.3 adds support for minimization of non-deterministic FSTs over idempotent semirings which is a feature used throughout Kaldi. Along with the requirement for a C++ compiler with C++11 support, we are also removing support for older OpenFst releases so that we can build against an un-patched OpenFst installation.
1 parent 1abf0a7 commit b23f720

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ endif
9797
# Note: OPENFST_VER is determined by configure and added to kaldi.mk
9898
OPENFST_VER_NUM := $(shell echo $(OPENFST_VER) | sed 's/\./ /g' | xargs printf "%d%02d%02d")
9999
test_dependencies:
100-
ifeq ("$(shell expr $(OPENFST_VER_NUM) \< 10302)","1")
101-
$(error OpenFst $(OPENFST_VER) is not supported. You now need OpenFst >= 1.3.2.)
100+
ifeq ("$(shell expr $(OPENFST_VER_NUM) \< 10503)","1")
101+
$(error OpenFst $(OPENFST_VER) is not supported. You now need OpenFst >= 1.5.3.)
102102
endif
103103

104104
check_portaudio:
@@ -184,4 +184,3 @@ onlinebin: base matrix util feat tree gmm transform sgmm2 fstext hmm lm decoder
184184
online: decoder gmm transform feat matrix util base lat hmm thread tree
185185
online2: decoder gmm transform feat matrix util base lat hmm thread tree ivector cudamatrix nnet2 nnet3 chain
186186
kws: base util thread hmm tree matrix lat
187-

0 commit comments

Comments
 (0)