fix building monotonic alignment

This commit is contained in:
Fangjun Kuang 2024-10-28 23:08:54 +08:00
parent 761bc76c45
commit 908da44978

View File

@ -36,11 +36,11 @@ if [ $stage -le -1 ] && [ $stop_stage -ge -1 ]; then
if [ ! -f ./matcha/monotonic_align/core.cpython-38-x86_64-linux-gnu.so ]; then
pushd matcha/monotonic_align
python3 setup.py build_ext --inplace
mv -v matcha/monotonic_align/core.cpython-38-x86_64-linux-gnu.so ./
rm -rf matcha
python3 setup.py build
mv -v build/lib.*/matcha/monotonic_align/core.*.so .
rm -rf build
rm core.c
ls -lh
popd
else
log "monotonic_align lib for matcha-tts already built"