zuul: fix the ngtcp2-gnutls build

Add packages and tweak the configure options.

Use the GnuTLS 3.7.4 branch (not main).

Closes #8829
This commit is contained in:
Daniel Stenberg 2022-05-10 09:33:02 +02:00
parent b01f3e679f
commit 3be1e9c642
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 6 additions and 2 deletions

View File

@ -35,10 +35,10 @@ if [ "$NGTCP2" = yes ]; then
make install
cd $HOME
git clone --depth 1 https://gitlab.com/gnutls/gnutls.git pgtls
git clone --depth 1 -b 3.7.4 https://gitlab.com/gnutls/gnutls.git pgtls
cd pgtls
./bootstrap
./configure PKG_CONFIG_PATH=$HOME/ngbuild/lib/pkgconfig LDFLAGS="-Wl,-rpath,$HOME/ngbuild/lib" --with-included-libtasn1 --with-included-unistring --disable-guile --disable-doc --prefix=$HOME/ngbuild
./configure PKG_CONFIG_PATH=$HOME/ngbuild/lib/pkgconfig LDFLAGS="-Wl,-rpath,$HOME/ngbuild/lib" --with-included-libtasn1 --with-included-unistring --disable-guile --disable-doc --disable-tools --without-zstd --disable-psk-authentication --prefix=$HOME/ngbuild
make
make install
else

View File

@ -125,6 +125,7 @@
- libpsl-dev
- libbrotli-dev
- libzstd-dev
- zlib1g-dev
- autogen
- automake
- autopoint
@ -135,6 +136,9 @@
- libp11-kit-dev
- libtasn1-6-dev
- nettle-dev
- gtk-doc-tools
- gnulib
- libtasn1-bin
curl_env:
CC: gcc-8
CXX: g++-8