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
This commit is contained in:
Alex Mayorga 2019-08-10 00:57:04 -05:00 коммит произвёл Daniel Stenberg
Родитель 084404b8ab
Коммит 14b1fb1c68
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 5CC908FDB71E12C2
1 изменённых файлов: 12 добавлений и 2 удалений

Просмотреть файл

@ -51,10 +51,19 @@ you'll just get ld.so linker errors.
## build ## 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): Build BoringSSL (it needs to be built manually so it can be reused with curl):
% mkdir -p quiche/deps/boringssl/build % mkdir build
% cd quiche/deps/boringssl/build % cd build
% cmake -DCMAKE_POSITION_INDEPENDENT_CODE=on .. % cmake -DCMAKE_POSITION_INDEPENDENT_CODE=on ..
% make -j`nproc` % make -j`nproc`
% cd .. % cd ..
@ -71,6 +80,7 @@ Clone and build curl:
% cd .. % cd ..
% git clone https://github.com/curl/curl % git clone https://github.com/curl/curl
% cd curl
% ./buildconf % ./buildconf
% ./configure --with-ssl=$PWD/../quiche/deps/boringssl/.openssl --with-quiche=$PWD/../quiche --enable-debug % ./configure --with-ssl=$PWD/../quiche/deps/boringssl/.openssl --with-quiche=$PWD/../quiche --enable-debug
% make -j`nproc` % make -j`nproc`