Fix the alsa-lib version to v1.2.12 (#1048)
This commit is contained in:
2
.github/workflows/build-wheels-aarch64.yaml
vendored
2
.github/workflows/build-wheels-aarch64.yaml
vendored
@@ -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 ..
|
||||||
|
|||||||
2
.github/workflows/build-wheels-linux.yaml
vendored
2
.github/workflows/build-wheels-linux.yaml
vendored
@@ -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 ..
|
||||||
|
|||||||
2
.github/workflows/linux-jni.yaml
vendored
2
.github/workflows/linux-jni.yaml
vendored
@@ -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
|
||||||
|
|||||||
2
.github/workflows/linux.yaml
vendored
2
.github/workflows/linux.yaml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user