From 661b4e715c647b037b6a3f5f2965d07692929335 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Thu, 11 Jul 2024 19:06:39 +0800 Subject: [PATCH] fix the version of alsa-lib (#348) --- .github/workflows/build-wheels-aarch64.yaml | 2 +- .github/workflows/build-wheels-linux.yaml | 2 +- build-aarch64-linux-gnu.sh | 2 +- build-arm-linux-gnueabihf.sh | 2 +- build-riscv64-linux-gnu.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-wheels-aarch64.yaml b/.github/workflows/build-wheels-aarch64.yaml index 16694f15..f4e852ad 100644 --- a/.github/workflows/build-wheels-aarch64.yaml +++ b/.github/workflows/build-wheels-aarch64.yaml @@ -39,7 +39,7 @@ jobs: uses: pypa/cibuildwheel@v2.15.0 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 .. diff --git a/.github/workflows/build-wheels-linux.yaml b/.github/workflows/build-wheels-linux.yaml index 7945fb11..54d68b01 100644 --- a/.github/workflows/build-wheels-linux.yaml +++ b/.github/workflows/build-wheels-linux.yaml @@ -34,7 +34,7 @@ jobs: uses: pypa/cibuildwheel@v2.15.0 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 .. diff --git a/build-aarch64-linux-gnu.sh b/build-aarch64-linux-gnu.sh index 560bb2bd..42773fa2 100755 --- a/build-aarch64-linux-gnu.sh +++ b/build-aarch64-linux-gnu.sh @@ -17,7 +17,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 diff --git a/build-arm-linux-gnueabihf.sh b/build-arm-linux-gnueabihf.sh index 667b8115..db4fdf96 100755 --- a/build-arm-linux-gnueabihf.sh +++ b/build-arm-linux-gnueabihf.sh @@ -17,7 +17,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 diff --git a/build-riscv64-linux-gnu.sh b/build-riscv64-linux-gnu.sh index 05dd4323..6e331c6d 100755 --- a/build-riscv64-linux-gnu.sh +++ b/build-riscv64-linux-gnu.sh @@ -18,7 +18,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