Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit fb11851

Browse files
committed
Fixing compilation. Now pyfst should be statically inside.
1 parent 1bbd9ad commit fb11851

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

prepare_env.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,3 @@ make -C libs/kaldi/tools atlas
3333

3434
# Build Kaldi.
3535
make -C libs/kaldi/src
36-
37-
pushd libs/pyfst
38-
LIBRARY_PATH=${FSTDIR}/lib:${FSTDIR}/lib/fst CPLUS_INCLUDE_PATH=${FSTDIR}/include ${PYTHON} setup.py build_ext --inplace
39-
popd

setup.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
extra_link_args = []
2222
extra_objects = environ.get('ADDLIBS', '').split()
2323
extra_compile_args = environ.get('CXXFLAGS', '').split()
24-
pyfst_dir = environ.get('PYFST_DIR', 'libs/pyfst')
2524
kaldi_dir = environ.get('KALDI_DIR', 'libs/kaldi')
2625
version = environ.get('PYKALDI_VERSION', 'unknown')
2726
library_dirs = ['/usr/lib']
@@ -41,7 +40,6 @@ def kaldi_path(path):
4140
'.',
4241
kaldi_path('tools/openfst/include'),
4342
kaldi_path('src'),
44-
pyfst_dir,
4543
],
4644
library_dirs=library_dirs,
4745
libraries=libraries,
@@ -55,7 +53,6 @@ def kaldi_path(path):
5553
'.',
5654
kaldi_path('tools/openfst/include'),
5755
kaldi_path('src'),
58-
pyfst_dir,
5956
],
6057
extra_objects=extra_objects,
6158
sources=['alex_asr/fst/_fst.pyx'],

0 commit comments

Comments
 (0)