summaryrefslogtreecommitdiff
path: root/benchmarks/nsieve
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/nsieve
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/nsieve')
-rw-r--r--benchmarks/nsieve/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/benchmarks/nsieve/Makefile b/benchmarks/nsieve/Makefile
index a771248e9ea..bf1c80e88f8 100644
--- a/benchmarks/nsieve/Makefile
+++ b/benchmarks/nsieve/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1998/10/22 06:23:09 garbled Exp $
+# $NetBSD: Makefile,v 1.2 1998/12/26 15:59:56 garbled Exp $
DISTNAME= nsieve.c
PKGNAME= nsieve-1.2b
@@ -21,6 +21,10 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nsieve ${PREFIX}/bin
benchmark:
- -@${WRKSRC}/nsieve
+ -@${WRKSRC}/nsieve | tee ${WRKSRC}/nsieve.out
+
+results:
+ -@${MKDIR} /tmp/benches/`domainname`
+ -@cp ${WRKSRC}/nsieve.out /tmp/benches/`domainname`/nsieve.`uname`-`uname -m`-`uname -r`.`hostname`
.include "../../mk/bsd.pkg.mk"