From: Daniel Stenberg Date: Wed, 3 Nov 2021 13:25:49 +0000 (+0100) Subject: zuul: pin the quiche build to use an older cmake-rs X-Git-Tag: curl-7_80_0~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2f5049ae0255389ec997cb985f9bd7d74171407f;p=thirdparty%2Fcurl.git zuul: pin the quiche build to use an older cmake-rs The latest cmake-rs assumes cmake's --parallel works. That was added in cmake 3.12, but a lot of our CI builds run on Ubuntu Bionic which only has cmake 3.10. Fixes #7927 Closes #7952 --- diff --git a/scripts/zuul/before_script.sh b/scripts/zuul/before_script.sh index 79bdb04b56..82b9126037 100755 --- a/scripts/zuul/before_script.sh +++ b/scripts/zuul/before_script.sh @@ -120,6 +120,11 @@ if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then curl https://sh.rustup.rs -sSf | sh -s -- -y source $HOME/.cargo/env cd $HOME/quiche + + #### Work-around https://github.com/curl/curl/issues/7927 ####### + #### See https://github.com/alexcrichton/cmake-rs/issues/131 #### + sed -i -e 's/cmake = "0.1"/cmake = "=0.1.45"/' Cargo.toml + cargo build -v --release --features ffi,pkg-config-meta,qlog mkdir -v deps/boringssl/src/lib ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) deps/boringssl/src/lib/