litespeed-quic/ci/build_boringssl.sh
2018-04-23 14:54:12 -04:00

16 lines
376 B
Bash
Executable file

#!/bin/sh
#build last boringssl master (for Travis)
cd ..
git clone --depth 1 https://boringssl.googlesource.com/boringssl
cd boringssl
git checkout chromium-stable
mkdir build
cd build
cmake ..
make -j$(nproc)
BORINGSSL_SOURCE=$PWD
mkdir -p $HOME/tmp/boringssl-libs
cd $HOME/tmp/boringssl-libs
ln -s $BORINGSSL_SOURCE/ssl/libssl.a
ln -s $BORINGSSL_SOURCE/crypto/libcrypto.a