nostrdb

an unfairly fast embedded nostr database backed by lmdb
git clone git://jb55.com/nostrdb
Log | Files | Refs | Submodules | README | LICENSE

test_dblcnv.sh (324B)


      1 #!/bin/sh
      2 
      3 set -e
      4 
      5 cd $(dirname $0)
      6 mkdir -p build
      7 
      8 CC=cc
      9 
     10 $CC -g -Wall -Wextra $INCLUDE -I.. grisu3_test_dblcnv.c -o build/grisu3_test_dblcnv_d
     11 $CC -DNDEBUG -Wall -Wextra -O2  $INCLUDE -I.. grisu3_test_dblcnv.c -o build/grisu3_test_dblcnv
     12 echo "DEBUG:"
     13 build/grisu3_test_dblcnv_d
     14 echo "OPTIMIZED:"
     15 build/grisu3_test_dblcnv