setup_postgres.sh 518 B

123456789101112131415161718192021222324
  1. #!/bin/bash
  2. fw_depends wt
  3. g++-6 \
  4. -std=c++14 \
  5. -O3 -march=native -DNDEBUG \
  6. -I${BOOST_INC} \
  7. -L${BOOST_LIB} \
  8. -I${WT_INC} \
  9. -L${WT_LIB} \
  10. -o te-benchmark-pg.wt \
  11. -DBENCHMARK_USE_POSTGRES \
  12. benchmark.cpp \
  13. -lwthttp -lwt \
  14. -lwtdbo -lwtdbopostgres \
  15. -lboost_system \
  16. -lboost_program_options \
  17. -lboost_thread \
  18. -lboost_filesystem \
  19. -lpthread \
  20. -lpq
  21. ./te-benchmark-pg.wt -c wt_config.xml -t ${CPU_COUNT} --docroot . --approot . --http-listen 0.0.0.0:8080 --accesslog=- --no-compression