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
This commit is contained in:
Daniel Stenberg 2021-11-03 14:25:49 +01:00
parent 45a7821eef
commit 2f5049ae02
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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/