mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
bench: simplify the rand target
* etc/bench.pl.in: There is no need to recompile the bench cases themselves.
This commit is contained in:
@@ -954,9 +954,11 @@ EOF
|
||||
bench: main
|
||||
\t./main \$(BENCHFLAGS) | tee -a README.md
|
||||
|
||||
# Link the bench cases in a different order to run the bench case in a
|
||||
# different order.
|
||||
.PHONY: rand
|
||||
rand:
|
||||
\t-rm main \$(OBJECTS)
|
||||
\t-rm main
|
||||
\tmake bench OBJECTS="\$\$(shuf -e \$(OBJECTS) | xargs)"
|
||||
EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user