libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

1-build.sh (652B)


      1 #!/bin/bash
      2 set -exuo pipefail
      3 
      4 # The every-push configuration of TESTING.md P3:
      5 #
      6 #   --enable-asserts --enable-sanitizers=address,undefined
      7 #
      8 # Both halves matter.  mhd_assert() is compiled out of an ordinary build,
      9 # so the invariants the library documents are only actually checked with
     10 # --enable-asserts; and three of the four v1.0.7 findings were memory
     11 # safety defects that ASAN reports on the spot but that an unsanitised
     12 # build happily runs through.  Anything that is not this configuration is
     13 # nightly (see job 3-build-matrix).
     14 
     15 ./bootstrap
     16 ./configure \
     17     --enable-asserts \
     18     --enable-sanitizers=address,undefined
     19 make -j"$(nproc)"