Fangjun Kuang
Committed by GitHub

Fix the alsa-lib version to v1.2.12 (#1048)

... ... @@ -40,7 +40,7 @@ jobs:
uses: pypa/cibuildwheel@v2.16.5
env:
CIBW_BEFORE_ALL: |
git clone --depth 1 https://github.com/alsa-project/alsa-lib
git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
cd alsa-lib
./gitcompile
cd ..
... ...
... ... @@ -36,7 +36,7 @@ jobs:
uses: pypa/cibuildwheel@v2.16.5
env:
CIBW_BEFORE_ALL: |
git clone --depth 1 https://github.com/alsa-project/alsa-lib
git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
cd alsa-lib
./gitcompile
cd ..
... ...
... ... @@ -60,7 +60,7 @@ jobs:
cd /home/runner/work/sherpa-onnx/sherpa-onnx
git clone --depth 1 https://github.com/alsa-project/alsa-lib
git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
pushd alsa-lib
./gitcompile
popd
... ...
... ... @@ -88,7 +88,7 @@ jobs:
cd /home/runner/work/sherpa-onnx/sherpa-onnx
git clone --depth 1 https://github.com/alsa-project/alsa-lib
git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
pushd alsa-lib
./gitcompile
popd
... ...
... ... @@ -23,7 +23,7 @@ cd $dir
if [ ! -f alsa-lib/src/.libs/libasound.so ]; then
echo "Start to cross-compile alsa-lib"
if [ ! -d alsa-lib ]; then
git clone --depth 1 https://github.com/alsa-project/alsa-lib
git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
fi
# If it shows:
# ./gitcompile: line 79: libtoolize: command not found
... ...
... ... @@ -23,7 +23,7 @@ cd $dir
if [ ! -f alsa-lib/src/.libs/libasound.so ]; then
echo "Start to cross-compile alsa-lib"
if [ ! -d alsa-lib ]; then
git clone --depth 1 https://github.com/alsa-project/alsa-lib
git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
fi
pushd alsa-lib
CC=arm-linux-gnueabihf-gcc ./gitcompile --host=arm-linux-gnueabihf
... ...
... ... @@ -26,7 +26,7 @@ cd $dir
if [ ! -f alsa-lib/src/.libs/libasound.so ]; then
echo "Start to cross-compile alsa-lib"
if [ ! -d alsa-lib ]; then
git clone --depth 1 https://github.com/alsa-project/alsa-lib
git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
fi
# If it shows:
# ./gitcompile: line 79: libtoolize: command not found
... ...