github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/bench/microbenchmarks/http2/setup_nghttp.sh (about)

     1  #!/bin/bash
     2  #NGHTTP
     3  sudo apt-get install g++ make binutils autoconf automake autotools-dev libtool pkg-config \
     4        zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev libevent-dev libjansson-dev \
     5        libc-ares-dev libjemalloc-dev libsystemd-dev \
     6        cython python3-dev python-setuptools
     7  
     8  wget https://github.com/nghttp2/nghttp2/releases/download/v1.31.0/nghttp2-1.31.0.tar.bz2
     9  tar xf nghttp2-1.31.0.tar.bz2
    10  cd nghttp2-1.31.0
    11  ./configure --enable-apps
    12  make install
    13  
    14  # Set up links for shared libraries. See https://github.com/nghttp2/nghttp2/issues/916.
    15  sudo ldconfig -v
    16  
    17  cd -
    18  rm nghttp2-1.31.0.tar.bz2