summaryrefslogtreecommitdiff
path: root/benchmarks/heapsort
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>1998-12-26 15:59:54 +0000
committergarbled <garbled@pkgsrc.org>1998-12-26 15:59:54 +0000
commitf544fc14ed1e41244d3fba2d11315ca2098805a0 (patch)
tree6958f25a4817a66619dea1a60f9498023655b3f2 /benchmarks/heapsort
parent1da2cee3915634868a6be87188747112cdf205cc (diff)
downloadpkgsrc-f544fc14ed1e41244d3fba2d11315ca2098805a0.tar.gz
Fix all the benchmark targets so they work properly, and work with the
package uninstalled, with the exceptionof lmbench. Make non-batch targets for all the benchmarks, and create a results target which places all the results in /tmp for easier collection.
Diffstat (limited to 'benchmarks/heapsort')
-rw-r--r--benchmarks/heapsort/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/benchmarks/heapsort/Makefile b/benchmarks/heapsort/Makefile
index 312b82e2118..55d2f77efc9 100644
--- a/benchmarks/heapsort/Makefile
+++ b/benchmarks/heapsort/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1998/10/22 06:07:24 garbled Exp $
+# $NetBSD: Makefile,v 1.2 1998/12/26 15:59:56 garbled Exp $
DISTNAME= heapsort.c
PKGNAME= heapsort-1.0
@@ -21,6 +21,10 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/heapsort ${PREFIX}/bin
benchmark:
- -@${WRKSRC}/heapsort
+ -@${WRKSRC}/heapsort | tee ${WRKSRC}/heapsort.out
+
+results:
+ -@${MKDIR} /tmp/benches/`domainname`
+ -@cp ${WRKSRC}/heapsort.out /tmp/benches/`domainname`/heapsort.`uname`-`uname -m`-`uname -r`.`hostname`
.include "../../mk/bsd.pkg.mk"