Merge commit '81396a5322a7a48764fcf254d5d933ba1e57bdc5' as 'kiwi'
This commit is contained in:
11
kiwi/benchmarks/build_and_run_bench.sh
Executable file
11
kiwi/benchmarks/build_and_run_bench.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -o errexit -o nounset # fail on error or on unset variables
|
||||
|
||||
# set default values if variables are unset
|
||||
: "${CXX_COMPILER:=g++}"
|
||||
: "${CXX_FLAGS:=-std=c++11}"
|
||||
|
||||
"$CXX_COMPILER" ${CXX_FLAGS} -O2 -Wall -pedantic -I.. enaml_like_benchmark.cpp -o run_bench
|
||||
|
||||
./run_bench
|
||||
Reference in New Issue
Block a user