build: Add and build Kaldi submodule.

This commit is contained in:
Bernhard Kölbl 2023-06-28 12:02:05 +02:00 committed by Arkadiusz Hiler
parent 6c84bc49dd
commit 265c5cf4dc
3 changed files with 28 additions and 0 deletions

View file

@ -422,6 +422,29 @@ $(eval $(call rules-autoconf,openfst,32))
$(eval $(call rules-autoconf,openfst,64))
##
## kaldi
##
KALDI_SOURCE_ARGS = \
--exclude src/**/CMakeLists.txt \
KALDI_CMAKE_ARGS = \
-DKALDI_VERSION=5.5-proton \
-DBLAS_LIBRARIES=-lblas \
-DLAPACK_LIBRARIES=-llapack \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DBUILD_SHARED_LIBS=OFF \
-DKALDI_BUILD_TEST=OFF \
-DKALDI_BUILD_EXE=OFF \
KALDI_DEPENDS = openfst
$(eval $(call rules-source,kaldi,$(SRCDIR)/kaldi))
$(eval $(call rules-cmake,kaldi,32))
$(eval $(call rules-cmake,kaldi,64))
##
## wine
##