provide default values for CXX, remove duplicate define

This commit is contained in:
Thomas Capricelli
2010-02-22 15:39:17 +01:00
parent e6f0cd7121
commit d3b314569b
2 changed files with 3 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/bash
CXX=${CXX-g++} # default value unless caller has defined CXX
echo "Fixed size 3x3, column-major, -DNDEBUG"
$CXX -O3 -I .. -DNDEBUG benchmark.cpp -o benchmark && time ./benchmark >/dev/null
echo "Fixed size 3x3, column-major, with asserts"