Update compile.sh

This commit is contained in:
__Rylex__
2024-02-01 22:25:00 -08:00
committed by GitHub
parent 104303598c
commit 5a17517553

View File

@@ -78,6 +78,7 @@ autoreconf -i &&
CXXFLAGS="-pthread -r -O3 -flto" LDFLAGS="-O3 -pthread -flto" emconfigure ./configure --prefix=$OPENFST --enable-static --disable-shared --enable-ngram-fsts --enable-lookahead-fsts --disable-bin --with-pic && CXXFLAGS="-pthread -r -O3 -flto" LDFLAGS="-O3 -pthread -flto" emconfigure ./configure --prefix=$OPENFST --enable-static --disable-shared --enable-ngram-fsts --enable-lookahead-fsts --disable-bin --with-pic &&
emmake make -j$COMPILE_JOBS install && emmake make -j$COMPILE_JOBS install &&
echo "PACKAGE_VERSION = 1.8.0" >> $OPENFST/Makefile && echo "PACKAGE_VERSION = 1.8.0" >> $OPENFST/Makefile &&
rm -rf /tmp/openfst &&
cd $KALDI/src && cd $KALDI/src &&
git apply $SRC/kaldi.patch && git apply $SRC/kaldi.patch &&