]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/kaldi.git/blob - src/INSTALL
[build] dependency-check: that python2.7 and python3 exist and 2.7 is default (#1876)
[processor-sdk/kaldi.git] / src / INSTALL
2 These instructions are valid for UNIX-like systems (these steps have
3 been run on various Linux distributions; Darwin; Cygwin).  For native Windows
4 compilation, see ../windows/INSTALL.
6 You must first have completed the installation steps in ../tools/INSTALL
7 (compiling OpenFst; getting ATLAS and CLAPACK headers).
9 The installation instructions are
11   ./configure --shared
12   make depend
13   make
15 Note that "make" takes a long time. You can speed it up by running make
16 in parallel if you have multiple CPUs, e.g. to use 8 CPUs
18   make depend -j 8
19   make -j 8
21 Kaldi requires a relatively recent C++ compiler with C++11 support,
22 e.g. g++ >= 4.7, Apple clang >= 5.0 or LLVM clang >= 3.3. If your system
23 default compiler does not support C++11, you can specify a C++11 compliant
24 compiler by setting the CXX environment variable, e.g.
26   CXX=g++-4.8 ./configure --shared
28 For more information, see documentation at http://kaldi-asr.org/doc/
29 and click on "The build process (how Kaldi is compiled)".