mirror of
https://github.com/curl/curl.git
synced 2025-09-18 10:02:45 +03:00
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:
parent
45a7821eef
commit
2f5049ae02
|
@ -120,6 +120,11 @@ if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||||
source $HOME/.cargo/env
|
source $HOME/.cargo/env
|
||||||
cd $HOME/quiche
|
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
|
cargo build -v --release --features ffi,pkg-config-meta,qlog
|
||||||
mkdir -v deps/boringssl/src/lib
|
mkdir -v deps/boringssl/src/lib
|
||||||
ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) deps/boringssl/src/lib/
|
ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) deps/boringssl/src/lib/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user