Skip to content

Commit

Permalink
bench.sh: configure build (fixes #5)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastinas committed Oct 11, 2023
1 parent e4db1ce commit 3d80d8c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ ALL="FAEST_128S FAEST_128F FAEST_192S FAEST_192F FAEST_256S FAEST_256F FAEST_EM_
BUILD_DIR="build_release"

clean () {
make clean
(cd ${BUILD_DIR} && ninja clean)
}

Expand Down Expand Up @@ -148,4 +147,9 @@ bench_spec_variants () {
done
}

mkdir -p "${BUILD_DIR}"
pushd "${BUILD_DIR}"
meson setup .. --buildtype release -Dbenchmarks=enabled -Dcatch2=enabled -Dmarch-native=enabled
popd

bench_spec_variants

0 comments on commit 3d80d8c

Please sign in to comment.