[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/3] bench: simplify the `rand` target
From: |
Akim Demaille |
Subject: |
[PATCH 2/3] bench: simplify the `rand` target |
Date: |
Mon, 29 Jun 2020 19:10:35 +0200 |
* etc/bench.pl.in: There is no need to recompile the bench cases
themselves.
---
etc/bench.pl.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/etc/bench.pl.in b/etc/bench.pl.in
index 2f669091..66e11d30 100755
--- a/etc/bench.pl.in
+++ b/etc/bench.pl.in
@@ -954,9 +954,10 @@ EOF
bench: main
\t./main \$(BENCHFLAGS) | tee -a README.md
+# Link the bench cases in a different order.
.PHONY: rand
rand:
-\t-rm main \$(OBJECTS)
+\t-rm main
\tmake bench OBJECTS="\$\$(shuf -e \$(OBJECTS) | xargs)"
EOF
--
2.27.0