Files
ljkiwi/benchmarks/build_and_run_bench.sh
John K. Luebs 81396a5322 Squashed 'kiwi/' content from commit 268028e
git-subtree-dir: kiwi
git-subtree-split: 268028ee4a694dcd89e4b1e683bf2f9ac48c08d9
2024-02-11 15:32:50 -06:00

12 lines
283 B
Bash
Executable File

#!/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