mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-25 22:25:46 +03:00
build: Add and build Kaldi submodule.
This commit is contained in:
parent
6c84bc49dd
commit
265c5cf4dc
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -58,3 +58,7 @@
|
||||
[submodule "openfst"]
|
||||
path = openfst
|
||||
url = https://github.com/alphacep/openfst
|
||||
[submodule "kaldi"]
|
||||
path = kaldi
|
||||
url = https://github.com/alphacep/kaldi
|
||||
branch = vosk
|
||||
|
23
Makefile.in
23
Makefile.in
@ -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
|
||||
##
|
||||
|
1
kaldi
Submodule
1
kaldi
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit a25f216f5ce4eec5e45a6ab7651e20c9840a05cd
|
Loading…
Reference in New Issue
Block a user