3 # Copyright (C) 2011 Sebastian Pop <sebpop@gmail.com>.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details. A copy of this license
13 # can be downloaded from http://www.gnu.org/copyleft/gpl.html
17 tar -zxf bullet-2.75.tgz
20 make AppBenchmarks
-j $procs CFLAGS
="$CFLAGS" CXXFLAGS
="$CXXFLAGS"
23 .
/AppBenchmarks
> $p/log
2>&1
26 echo "bullet run time: `echo "$after - $before" | bc`" >> $p/log
27 sed -i -e'/\.\./d' -e'/BenchmarkDemo:/d' -e'/rays in/d' -e'/Profil/d' -e'/--/d' -e'/Unaccounted:/d' $p/log
28 cd $p; rm -rf bullet-2.75