CNTK/kaldi_vars.mk

26 строки
899 B
Makefile
Исходник Обычный вид История

2015-04-05 23:28:16 +03:00
########## Set your Kaldi location and the Kaldi includes / libs you want to use ##########
2015-04-08 20:25:35 +03:00
############### make sure your kaldi is compiled by --share mode so we can find the lib ##############################
2015-04-09 08:09:58 +03:00
KALDI_PATH = /data/sls/scratch/leoliu/software/kaldi-hostd/
2015-04-05 23:28:16 +03:00
KALDI_INCLUDES = -I $(KALDI_PATH)/src
KALDI_LIBS = -L$(KALDI_PATH)/src/lib -lkaldi-util -lkaldi-matrix -lkaldi-base -lkaldi-hmm -lkaldi-cudamatrix -lkaldi-nnet
########## Copy includes and defines from $(KALDI_PATH)/src/kaldi.mk ##########
FSTROOT = $(KALDI_PATH)/tools/openfst
ATLASINC = $(KALDI_PATH)/tools/ATLAS/include
KALDI_INCLUDES += \
-I $(ATLASINC) \
-I $(FSTROOT)/include
KALDI_DEFINES = \
-DKALDI_DOUBLEPRECISION=0 \
-DHAVE_POSIX_MEMALIGN \
-DHAVE_EXECINFO_H=1 \
-DHAVE_CXXABI_H \
-DHAVE_ATLAS \
########## KALDI_LIBS, KALDI_INCLUDES, and KALDI_DEFINES are the only variables used outside this file ##########