aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlex Mayorga <alex-mayorga@users.noreply.github.com>2019-08-10 00:57:04 -0500
committerDaniel Stenberg <daniel@haxx.se>2019-08-10 10:51:18 +0200
commit14b1fb1c68fd738ffb1dd4eff9615df6c0eee66f (patch)
tree5afb49df7bf04e3280a6a426eb59db83169139ad /docs
parent084404b8abccd57f2dff95b1be601f287c1aec57 (diff)
HTTP3.md: Update quiche build instructions
Added cloning for quiche and BoringSSL and modified the build instructions so they work on a clean folder. Closes #4208
Diffstat (limited to 'docs')
-rw-r--r--docs/HTTP3.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/docs/HTTP3.md b/docs/HTTP3.md
index 092d4d3e4..98ffe2dcf 100644
--- a/docs/HTTP3.md
+++ b/docs/HTTP3.md
@@ -51,10 +51,19 @@ you'll just get ld.so linker errors.
## build
+Clone quiche and BoringSSL:
+
+ % git clone https://github.com/cloudflare/quiche
+ % cd quiche/
+ % mkdir deps
+ % cd deps
+ % git clone https://github.com/google/boringssl
+ % cd boringssl
+
Build BoringSSL (it needs to be built manually so it can be reused with curl):
- % mkdir -p quiche/deps/boringssl/build
- % cd quiche/deps/boringssl/build
+ % mkdir build
+ % cd build
% cmake -DCMAKE_POSITION_INDEPENDENT_CODE=on ..
% make -j`nproc`
% cd ..
@@ -71,6 +80,7 @@ Clone and build curl:
% cd ..
% git clone https://github.com/curl/curl
+ % cd curl
% ./buildconf
% ./configure --with-ssl=$PWD/../quiche/deps/boringssl/.openssl --with-quiche=$PWD/../quiche --enable-debug
% make -j`nproc`