Skip to content

Commit

Permalink
Prefer ./configure --enable-release to RELEASE=y
Browse files Browse the repository at this point in the history
  • Loading branch information
tavianator committed May 2, 2024
1 parent 99260d3 commit cf080ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ Run the test suite to make sure it works correctly:

If you're interested in speed, you may want to build the release version instead:

$ ./configure RELEASE=y
$ ./configure --enable-release
$ make

Finally, if you want to install it globally, run
Expand Down
4 changes: 2 additions & 2 deletions bench/bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ setup() {
fi

echo "Building bfs ..."
as-user ./configure RELEASE=y
as-user ./configure --enable-release
as-user make -s -j"$nproc" all

as-user mkdir -p bench/corpus
Expand Down Expand Up @@ -255,7 +255,7 @@ setup() {
cd "$worktree"
as-user git checkout -qd "$commit" --
if [ -e configure ]; then
as-user ./configure RELEASE=1
as-user ./configure --enable-release
as-user make -s -j"$nproc"
else
as-user make -s -j"$nproc" release
Expand Down

0 comments on commit cf080ec

Please sign in to comment.