Skip to content

Commit

Permalink
xvector: fixing Makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
David Snyder committed Feb 20, 2016
1 parent 0ca297f commit c1fac7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
9 changes: 5 additions & 4 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ SUBDIRS = base matrix util feat tree thread gmm transform sgmm \
fstext hmm lm decoder lat kws cudamatrix nnet \
bin fstbin gmmbin fgmmbin sgmmbin featbin \
nnetbin latbin sgmm2 sgmm2bin nnet2 nnet3 chain nnet3bin nnet2bin kwsbin \
ivector ivectorbin online2 online2bin lmbin chainbin
ivector ivectorbin xvector xvectorbin online2 online2bin lmbin chainbin

MEMTESTDIRS = base matrix util feat tree thread gmm transform sgmm \
fstext hmm lm decoder lat nnet kws chain \
bin fstbin gmmbin fgmmbin sgmmbin featbin \
nnetbin latbin sgmm2 nnet2 nnet3 nnet2bin nnet3bin sgmm2bin kwsbin \
ivector ivectorbin online2 online2bin lmbin
ivector ivectorbin xvector xvectorbin online2 online2bin lmbin

CUDAMEMTESTDIR = cudamatrix

Expand Down Expand Up @@ -145,9 +145,9 @@ $(EXT_SUBDIRS) : mklibdir
# this is necessary for correct parallel compilation
#1)The tools depend on all the libraries

bin fstbin gmmbin fgmmbin sgmmbin sgmm2bin featbin nnetbin nnet2bin nnet3bin chainbin latbin ivectorbin lmbin kwsbin online2bin: \
bin fstbin gmmbin fgmmbin sgmmbin sgmm2bin featbin nnetbin nnet2bin nnet3bin chainbin latbin ivectorbin xvectorbin lmbin kwsbin online2bin: \
base matrix util feat tree optimization thread gmm transform sgmm sgmm2 fstext hmm \
lm decoder lat cudamatrix nnet nnet2 nnet3 ivector
lm decoder lat cudamatrix nnet nnet2 nnet3 ivector xvector

#2)The libraries have inter-dependencies
base:
Expand All @@ -172,6 +172,7 @@ nnet2: base util matrix thread lat gmm hmm tree transform cudamatrix
nnet3: base util matrix thread lat gmm hmm tree transform cudamatrix chain
chain: lat hmm tree fstext matrix cudamatrix util base
ivector: base util matrix thread transform tree gmm
xvector: base util matrix cudamatrix nnet3
#3)Dependencies for optional parts of Kaldi
onlinebin: base matrix util feat tree optimization gmm transform sgmm sgmm2 fstext hmm lm decoder lat cudamatrix nnet nnet2 online thread
# python-kaldi-decoding: base matrix util feat tree optimization thread gmm transform sgmm sgmm2 fstext hmm decoder lat online
Expand Down
3 changes: 1 addition & 2 deletions src/ivector/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ OBJFILES = ivector-extractor.o voice-activity-detection.o plda.o logistic-regres
LIBNAME = kaldi-ivector

ADDLIBS = ../gmm/kaldi-gmm.a ../tree/kaldi-tree.a ../transform/kaldi-transform.a \
../thread/kaldi-thread.a ../nnet3/kaldi-nnet3.a ../cudamatrix/kaldi-cudamatrix.a \
../matrix/kaldi-matrix.a ../base/kaldi-base.a \
../thread/kaldi-thread.a ../matrix/kaldi-matrix.a ../base/kaldi-base.a \
../util/kaldi-util.a

include ../makefiles/default_rules.mk

0 comments on commit c1fac7e

Please sign in to comment.