mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 16:48:49 -05:00
travis: update quiche builds for new boringssl layout
This is required after https://github.com/cloudflare/quiche/pull/593 moved BoringSSL around slightly. This also means that Go is not needed to build BoringSSL anymore (the one provided by quiche anyway). Closes #5691
This commit is contained in:
parent
ae5b6deb15
commit
d10cd52406
@ -101,10 +101,8 @@ jobs:
|
|||||||
before_install:
|
before_install:
|
||||||
- eval "$(gimme stable)"; gimme --list # Install latest Go (for boringssl)
|
- eval "$(gimme stable)"; gimme --list # Install latest Go (for boringssl)
|
||||||
- env:
|
- env:
|
||||||
- T=novalgrind QUICHE="yes" C="--with-ssl=$HOME/quiche/deps/boringssl --with-quiche=$HOME/quiche/target/release --enable-alt-svc" LD_LIBRARY_PATH=$HOME/quiche/target/release:/usr/local/lib
|
- T=novalgrind QUICHE="yes" C="--with-ssl=$HOME/quiche/deps/boringssl/src --with-quiche=$HOME/quiche/target/release --enable-alt-svc" LD_LIBRARY_PATH=$HOME/quiche/target/release:/usr/local/lib
|
||||||
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
||||||
before_install:
|
|
||||||
- eval "$(gimme stable)"; gimme --list # Install latest Go (for boringssl)
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
<<: *common_apt
|
<<: *common_apt
|
||||||
|
@ -117,8 +117,8 @@ Build quiche and BoringSSL:
|
|||||||
% git clone --recursive https://github.com/cloudflare/quiche
|
% git clone --recursive https://github.com/cloudflare/quiche
|
||||||
% cd quiche
|
% cd quiche
|
||||||
% cargo build --release --features pkg-config-meta,qlog
|
% cargo build --release --features pkg-config-meta,qlog
|
||||||
% mkdir deps/boringssl/lib
|
% mkdir deps/boringssl/src/lib
|
||||||
% ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) deps/boringssl/lib/
|
% ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) deps/boringssl/src/lib/
|
||||||
|
|
||||||
Build curl:
|
Build curl:
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ Build curl:
|
|||||||
% git clone https://github.com/curl/curl
|
% git clone https://github.com/curl/curl
|
||||||
% cd curl
|
% cd curl
|
||||||
% ./buildconf
|
% ./buildconf
|
||||||
% ./configure LDFLAGS="-Wl,-rpath,$PWD/../quiche/target/release" --with-ssl=$PWD/../quiche/deps/boringssl --with-quiche=$PWD/../quiche/target/release --enable-alt-svc
|
% ./configure LDFLAGS="-Wl,-rpath,$PWD/../quiche/target/release" --with-ssl=$PWD/../quiche/deps/boringssl/src --with-quiche=$PWD/../quiche/target/release --enable-alt-svc
|
||||||
% make
|
% make
|
||||||
|
|
||||||
## Run
|
## Run
|
||||||
|
@ -96,8 +96,8 @@ if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then
|
|||||||
source $HOME/.cargo/env
|
source $HOME/.cargo/env
|
||||||
cd $HOME/quiche
|
cd $HOME/quiche
|
||||||
cargo build -v --release --features pkg-config-meta,qlog
|
cargo build -v --release --features pkg-config-meta,qlog
|
||||||
mkdir -v deps/boringssl/lib
|
mkdir -v deps/boringssl/src/lib
|
||||||
ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) deps/boringssl/lib/
|
ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) deps/boringssl/src/lib/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install common libraries.
|
# Install common libraries.
|
||||||
|
Loading…
Reference in New Issue
Block a user