From 3199eb25dc20c15b01f1e5aa4b38195ac042ff61 Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Tue, 30 Nov 2021 13:37:36 +0000 Subject: [PATCH] HTTP3: update quiche build instructions The repo repo was re-organized a bit, so the build instructions need to be updated. Closes #8076 --- docs/HTTP3.md | 8 ++++---- scripts/zuul/before_script.sh | 6 +++--- zuul.d/jobs.yaml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/HTTP3.md b/docs/HTTP3.md index 4853e8da8..23a2d073b 100644 --- a/docs/HTTP3.md +++ b/docs/HTTP3.md @@ -120,9 +120,9 @@ Build quiche and BoringSSL: % git clone --recursive https://github.com/cloudflare/quiche % cd quiche - % cargo build --release --features ffi,pkg-config-meta,qlog - % mkdir deps/boringssl/src/lib - % ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) deps/boringssl/src/lib/ + % cargo build --package quiche --release --features ffi,pkg-config-meta,qlog + % mkdir quiche/deps/boringssl/src/lib + % ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) quiche/deps/boringssl/src/lib/ Build curl: @@ -130,7 +130,7 @@ Build curl: % git clone https://github.com/curl/curl % cd curl % autoreconf -fi - % ./configure LDFLAGS="-Wl,-rpath,$PWD/../quiche/target/release" --with-openssl=$PWD/../quiche/deps/boringssl/src --with-quiche=$PWD/../quiche/target/release + % ./configure LDFLAGS="-Wl,-rpath,$PWD/../quiche/target/release" --with-openssl=$PWD/../quiche/quiche/deps/boringssl/src --with-quiche=$PWD/../quiche/target/release % make % make install diff --git a/scripts/zuul/before_script.sh b/scripts/zuul/before_script.sh index 7025a160b..fb0634564 100755 --- a/scripts/zuul/before_script.sh +++ b/scripts/zuul/before_script.sh @@ -125,9 +125,9 @@ if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then #### 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/ + cargo build -v --package quiche --release --features ffi,pkg-config-meta,qlog + mkdir -v quiche/deps/boringssl/src/lib + ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) quiche/deps/boringssl/src/lib/ fi if [ "$TRAVIS_OS_NAME" = linux -a "$RUSTLS_VERSION" ]; then diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index d4c25426f..3211b212b 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -122,7 +122,7 @@ T: novalgrind QUICHE: "yes" C: >- - --with-openssl={{ ansible_user_dir }}/quiche/deps/boringssl/src + --with-openssl={{ ansible_user_dir }}/quiche/quiche/deps/boringssl/src --with-quiche={{ ansible_user_dir }}/quiche/target/release LD_LIBRARY_PATH: "{{ ansible_user_dir }}/quiche/target/release:/usr/local/lib"