mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +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
|
bench: main
|
||||||
\t./main \$(BENCHFLAGS) | tee -a README.md
|
\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
|
.PHONY: rand
|
||||||
rand:
|
rand:
|
||||||
\t-rm main \$(OBJECTS)
|
\t-rm main
|
||||||
\tmake bench OBJECTS="\$\$(shuf -e \$(OBJECTS) | xargs)"
|
\tmake bench OBJECTS="\$\$(shuf -e \$(OBJECTS) | xargs)"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user