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

This commit is contained in:
Fangjun Kuang
2024-06-23 20:20:38 +08:00
committed by GitHub
parent 7a663afb76
commit 6b7ced2317
7 changed files with 7 additions and 7 deletions

View File

@@ -40,7 +40,7 @@ jobs:
uses: pypa/cibuildwheel@v2.16.5 uses: pypa/cibuildwheel@v2.16.5
env: env:
CIBW_BEFORE_ALL: | 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 cd alsa-lib
./gitcompile ./gitcompile
cd .. cd ..

View File

@@ -36,7 +36,7 @@ jobs:
uses: pypa/cibuildwheel@v2.16.5 uses: pypa/cibuildwheel@v2.16.5
env: env:
CIBW_BEFORE_ALL: | 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 cd alsa-lib
./gitcompile ./gitcompile
cd .. cd ..

View File

@@ -60,7 +60,7 @@ jobs:
cd /home/runner/work/sherpa-onnx/sherpa-onnx 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 pushd alsa-lib
./gitcompile ./gitcompile
popd popd

View File

@@ -88,7 +88,7 @@ jobs:
cd /home/runner/work/sherpa-onnx/sherpa-onnx 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 pushd alsa-lib
./gitcompile ./gitcompile
popd popd

View File

@@ -23,7 +23,7 @@ cd $dir
if [ ! -f alsa-lib/src/.libs/libasound.so ]; then if [ ! -f alsa-lib/src/.libs/libasound.so ]; then
echo "Start to cross-compile alsa-lib" echo "Start to cross-compile alsa-lib"
if [ ! -d alsa-lib ]; then 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 fi
# If it shows: # If it shows:
# ./gitcompile: line 79: libtoolize: command not found # ./gitcompile: line 79: libtoolize: command not found

View File

@@ -23,7 +23,7 @@ cd $dir
if [ ! -f alsa-lib/src/.libs/libasound.so ]; then if [ ! -f alsa-lib/src/.libs/libasound.so ]; then
echo "Start to cross-compile alsa-lib" echo "Start to cross-compile alsa-lib"
if [ ! -d alsa-lib ]; then 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 fi
pushd alsa-lib pushd alsa-lib
CC=arm-linux-gnueabihf-gcc ./gitcompile --host=arm-linux-gnueabihf CC=arm-linux-gnueabihf-gcc ./gitcompile --host=arm-linux-gnueabihf

View File

@@ -26,7 +26,7 @@ cd $dir
if [ ! -f alsa-lib/src/.libs/libasound.so ]; then if [ ! -f alsa-lib/src/.libs/libasound.so ]; then
echo "Start to cross-compile alsa-lib" echo "Start to cross-compile alsa-lib"
if [ ! -d alsa-lib ]; then 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 fi
# If it shows: # If it shows:
# ./gitcompile: line 79: libtoolize: command not found # ./gitcompile: line 79: libtoolize: command not found