Skip to content

Commit

Permalink
[C++] Create a symlink to make testing with test.conf easier
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Feb 16, 2024
1 parent b8bb2c8 commit 1fda501
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion benchmarks/C++/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ BENCHMARKS=("NBody 10 250000"
"Mandelbrot 10 500"
"Havlak 10 1500")

pushd "$SCRIPT_PATH"

if [ "$1" = "style" ]
then
Expand Down Expand Up @@ -155,4 +156,5 @@ else
fi

echo Binary name: harness-$CXX$NAME_OPT
exec $CXX $WARNINGS $SANATIZE $OPT $COMP_OPT $SRC -o harness-$CXX$NAME_OPT
eval $CXX $WARNINGS $SANATIZE $OPT $COMP_OPT $SRC -o harness-$CXX$NAME_OPT
ln -sf harness-$CXX$NAME_OPT harness

0 comments on commit 1fda501

Please sign in to comment.