项目文件夹

文件
T
2020-06-02 00:36:16 +02:00

18 行
423 B
Bash
可执行文件

#!/bin/bash
set -e -x
export KALDI_ROOT=/opt/kaldi
# Compile wheels
for pypath in /opt/python/cp3[56789]*; do
export VOSK_SOURCE=/io/src
mkdir -p /opt/wheelhouse
rm -rf /io/python/build
"${pypath}/bin/pip" -v wheel /io/python -w /opt/wheelhouse
done
# Bundle external shared libraries into the wheels
for whl in /opt/wheelhouse/*.whl; do
auditwheel repair "$whl" --plat $PLAT -w /io/wheelhouse/
done