summaryrefslogtreecommitdiffstats
path: root/bench/bench.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bench/bench.sh')
-rw-r--r--bench/bench.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/bench/bench.sh b/bench/bench.sh
index 1d379ca..cf1ae49 100644
--- a/bench/bench.sh
+++ b/bench/bench.sh
@@ -221,7 +221,7 @@ setup() {
fi
echo "Building bfs ..."
- as-user make -s -j"$nproc" RELEASE=y
+ as-user ./configure --enable-release
as-user make -s -j"$nproc" all
as-user mkdir -p bench/corpus
@@ -254,9 +254,8 @@ setup() {
echo "Building bfs $commit ..."
cd "$worktree"
as-user git checkout -qd "$commit" --
- ls
- if [ -e config ]; then
- as-user make -s -j"$nproc" config RELEASE=1
+ if [ -e configure ]; then
+ as-user ./configure --enable-release
as-user make -s -j"$nproc"
else
as-user make -s -j"$nproc" release