mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-06-19 09:02:14 +03:00
build: Add and build Kaldi submodule.
This commit is contained in:
parent
8660e0a717
commit
1c0ae52c8b
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
@ -414,6 +414,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…
x
Reference in New Issue
Block a user