exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

build.sh (371B)


      1 #!/bin/bash
      2 set -exuo pipefail
      3 
      4 apt-get update
      5 apt-get upgrade -yqq
      6 
      7 build_command() {
      8   ./bootstrap
      9   ./configure CFLAGS="-ggdb -O0" \
     10   	    --enable-logging=verbose \
     11         --enable-converage \
     12   	    --disable-doc
     13 
     14   nump=$(grep processor /proc/cpuinfo | wc -l)
     15   make -j$(( $nump / 2 ))
     16 }
     17 
     18 if ! build_command; then
     19   cat build/meson-logs/meson-log.txt
     20   exit 1
     21 fi