From c0aec19d44b5a0dd4a7f2e8754f3463fc2152fc5 Mon Sep 17 00:00:00 2001 From: Georg Auge Date: Sat, 7 Dec 2024 17:05:24 +0100 Subject: [PATCH] fix broken benchmark script --- benchmarks/benchmark.sh | 5 +---- build.sh | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/benchmarks/benchmark.sh b/benchmarks/benchmark.sh index d95f3a4..84db4b0 100755 --- a/benchmarks/benchmark.sh +++ b/benchmarks/benchmark.sh @@ -8,16 +8,13 @@ if [ ! -f "benchmark.sh" ]; then exit 1 fi +# change to root directory cd .. || exit # === Build project === echo "Building mandelbrot benchmark" bash build.sh # run build script -# Change back to root directory -cd .. || exit - - # === Run benchmarks === echo "Running benchmarks" diff --git a/build.sh b/build.sh index d03f56f..63d3aed 100755 --- a/build.sh +++ b/build.sh @@ -28,4 +28,4 @@ cd build || exit cmake .. # Compile files -make -j +make -j8