|
@@ -1,7 +1,14 @@
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
|
|
+export BOOST_ROOT=/usr/local
|
|
|
|
+export BOOST_INC=${BOOST_ROOT}/include
|
|
|
|
+export BOOST_LIB=${BOOST_ROOT}/lib
|
|
|
|
+
|
|
|
|
+export WT_ROOT=${IROOT}/wt
|
|
|
|
+export WT_LIB=${WT_ROOT}/lib
|
|
|
|
+export WT_INC=${WT_ROOT}/include
|
|
|
|
|
|
-# This has to be included here since it is one of the vars NOT copied from the original environment
|
|
|
|
export LD_LIBRARY_PATH="${BOOST_LIB}:${WT_LIB}:${LD_LIBRARY_PATH}"
|
|
export LD_LIBRARY_PATH="${BOOST_LIB}:${WT_LIB}:${LD_LIBRARY_PATH}"
|
|
|
|
+
|
|
export CPLUS_INCLUDE_PATH=/usr/include/postgresql:/usr/include/postgresql/9.3/server:$CPLUS_INCLUDE_PATH
|
|
export CPLUS_INCLUDE_PATH=/usr/include/postgresql:/usr/include/postgresql/9.3/server:$CPLUS_INCLUDE_PATH
|
|
|
|
|
|
sed -i 's|INSERT_DB_HOST_HERE|'"${DBHOST}"'|g' benchmark.cpp
|
|
sed -i 's|INSERT_DB_HOST_HERE|'"${DBHOST}"'|g' benchmark.cpp
|