]> granicus.if.org Git - curl/commitdiff
HTTP3.md: Update quiche build instructions
authorAlex Mayorga <alex-mayorga@users.noreply.github.com>
Sat, 10 Aug 2019 05:57:04 +0000 (00:57 -0500)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 10 Aug 2019 08:51:18 +0000 (10:51 +0200)
Added cloning for quiche and BoringSSL and modified the build
instructions so they work on a clean folder.

Closes #4208

docs/HTTP3.md

index 092d4d3e4d83c56e59029fcc476ae58b49ca7a31..98ffe2dcfd897fdb99c444dd3cc84552000f6c32 100644 (file)
@@ -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`