diff options
author | garbled <garbled@pkgsrc.org> | 2005-03-03 08:58:27 +0000 |
---|---|---|
committer | garbled <garbled@pkgsrc.org> | 2005-03-03 08:58:27 +0000 |
commit | 9c5eac92b59ee2566212eb3a9cea8754453d43ad (patch) | |
tree | f2374008c6ba9f71bf74d41fca87f6bb1555b49a /benchmarks/bonnie/Makefile | |
parent | 314ae767c78b65bcfc3c38652bbb415e31b2f820 (diff) | |
download | pkgsrc-9c5eac92b59ee2566212eb3a9cea8754453d43ad.tar.gz |
Apply patches to bonnie from PR 21421 by Greg Woods. Fixes a number of
issues with the program. Bumping pkgrevsision to 1.
Diffstat (limited to 'benchmarks/bonnie/Makefile')
-rw-r--r-- | benchmarks/bonnie/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/benchmarks/bonnie/Makefile b/benchmarks/bonnie/Makefile index aedd1cc6a55..28e3a35a9e2 100644 --- a/benchmarks/bonnie/Makefile +++ b/benchmarks/bonnie/Makefile @@ -1,15 +1,16 @@ -# $NetBSD: Makefile,v 1.21 2004/07/30 15:50:37 minskim Exp $ +# $NetBSD: Makefile,v 1.22 2005/03/03 08:58:27 garbled Exp $ # FreeBSD Id: Makefile,v 1.5 1997/11/26 23:09:14 jseger Exp # DISTNAME= bonnie PKGNAME= bonnie-2.06 +PKGREVISION= 1 CATEGORIES= benchmarks MASTER_SITES= http://www.textuality.com/bonnie/ MAINTAINER= root@garbled.net HOMEPAGE= http://www.textuality.com/bonnie/index.html -COMMENT= Performance Test of Filesystem I/O +COMMENT= Performance Test of Sequential Filesystem I/O and STDIO PKG_INSTALLATION_TYPES= overwrite pkgviews @@ -23,11 +24,13 @@ INSTALLATION_DIRS= bin man/cat1 man/man1 post-extract: ${MV} ${WRKSRC}/Bonnie.c ${WRKSRC}/bonnie.c +SYSCTL?= /sbin/sysctl + benchmark: - @(cd ${WRKSRC}; ./bonnie | tee bonnie.out) + @(cd ${WRKSRC}; ./bonnie -m nb$$(uname -r) -s $$(${EXPR} 4 \* $$(${SYSCTL} -n hw.physmem) / 1024 / 1024) | tee bonnie.out) results: - @${MKDIR} /tmp/benches/`domainname` - -@${CP} ${WRKSRC}/bonnie.out /tmp/benches/`domainname`/bonnie.`uname`-`uname -m`-`uname -r`.`hostname` + @${MKDIR} /tmp/benches/$$(domainname) + -@${CP} ${WRKSRC}/bonnie.out /tmp/benches/$$(domainname)/bonnie.$$(uname)-$$(uname -m)-$$(uname -r).$$(hostname) .include "../../mk/bsd.pkg.mk" |