summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-11-03 14:25:49 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-11-03 23:22:39 +0100
commit2f5049ae0255389ec997cb985f9bd7d74171407f (patch)
treecc9be31814abeb7e716be5194fd9aa2fd60da6bf
parent45a7821eefc564d0da100dafbe26d1fd61134fa9 (diff)
downloadcurl-2f5049ae0255389ec997cb985f9bd7d74171407f.tar.gz
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
-rwxr-xr-xscripts/zuul/before_script.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/zuul/before_script.sh b/scripts/zuul/before_script.sh
index 79bdb04b5..82b912603 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/