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