travis: simplify quiche build instructions wrt boringssl

quiche builds boringssl as static library, reuse that instead of
building another shared library.

Closes #5438
This commit is contained in:
Peter Wu 2020-05-10 16:53:00 +02:00
parent 06e266e0a5
commit 421171a8d4
3 changed files with 10 additions and 22 deletions

View file

@ -91,11 +91,13 @@ fi
if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then
cd $HOME
git clone --depth=1 https://github.com/cloudflare/quiche.git
git clone --depth=1 --recursive https://github.com/cloudflare/quiche.git
curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
cd $HOME/quiche
QUICHE_BSSL_PATH=$HOME/boringssl cargo build -v --release --features pkg-config-meta,qlog
cargo build -v --release --features pkg-config-meta,qlog
mkdir -v deps/boringssl/lib
ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) deps/boringssl/lib/
fi
# Install common libraries.