summaryrefslogtreecommitdiff
path: root/benchmarks/iozone/Makefile
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/iozone/Makefile
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/iozone/Makefile')
-rw-r--r--benchmarks/iozone/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile
index 5d8a7e858af..957a2020aab 100644
--- a/benchmarks/iozone/Makefile
+++ b/benchmarks/iozone/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 1998/09/24 09:20:08 agc Exp $
+# $NetBSD: Makefile,v 1.5 1998/12/26 15:59:56 garbled Exp $
DISTNAME= iozone
PKGNAME= iozone-1.14b
@@ -17,6 +17,10 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin
benchmark:
- @(cd ${WRKSRC}; ./iozone)
+ @(cd ${WRKSRC}; ./iozone 100 | tee iozone.out)
+
+results:
+ -@${MKDIR} /tmp/benches/`domainname`
+ -@cp ${WRKSRC}/iozone.out /tmp/benches/`domainname`/iozone.`uname`-`uname -m`-`uname -r`.`hostname`
.include "../../mk/bsd.pkg.mk"