Skip to content

Commit

Permalink
Some genericizing of make_and_run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesEbke committed Mar 24, 2013
1 parent 376a39e commit 0e1c9f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions root_test/make_and_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/../install/lib
set -e
set -u

DBBASE=/home/sirius/Projekte/drillbit/install
DBBASE=../install

CXXFLAGS="$(root-config --cflags) -I$DBBASE/include"
LINKFLAGS="$(root-config --libs) -L$DBBASE/lib -ldrillbit -ldrillbit_root"
CXX=g++-4.7
CXX=g++

CXXLINE="$CXX -Wl,--no-as-needed -std=c++0x -O3"
CMD="$CXXLINE $CXXFLAGS $LINKFLAGS PhotonTree.C -o PhotonTree"
Expand All @@ -18,11 +18,11 @@ time $CMD

echo
echo "Timing ROOT..."
time ./PhotonTree ../data/NTUP_PHOTON.693445._000001.root.1 > /dev/shm/test_root
time ./PhotonTree /dev/shm/NTUP_PHOTON.693445._000001.root.1 > /dev/shm/test_root

echo
echo "Timing DIT..."
time ./PhotonTree ../dit/*.dit > /dev/shm/test_dit
time ./PhotonTree /dev/shm/dit/*.dit > /dev/shm/test_dit

echo
echo "Output Diff:"
Expand Down

0 comments on commit 0e1c9f9

Please sign in to comment.