pkgsrc/benchmarks/iozone/Makefile
wiz aba28d9e7b Update to 3.185:
Improve macros and add prototypes.
Improve resolution of get_resolution().
Changes to support RedHat 9.0.
Special handling of NAME for broken frontend in Cygwin/Windows env.
Add support for the CrayX1
Remove reference to PAGE_SIZE for linux. This causes problems
with SuSe 8.
Fixup for SCO build.
Add -DHAVE_PREAD for Solaris8-64 target.
Code cleanup for Linux
Improve -+d so that each byte is more unique.
Improve byte level validation.
Provide byte level error detection with Found char and Expecting Char in
  -+d mode.
Improve speed of -+d without losing uniqueness of bytes.
Fix so that Windows can use multiple processes. Needed mmap like SCO.
Use malloc() instead of mmap() for threads memory, instead of mmap.
Make CPU utilization use doubles everywhere.
Add support for CPU utilization while in distributed mode.
Make all times relative so multi node can do CPU usage.
Remove unused variables.
2003-06-24 07:34:13 +00:00

39 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.20 2003/06/24 07:34:13 wiz Exp $
DISTNAME= iozone3_185
PKGNAME= iozone-3.185
WRKSRC= ${WRKDIR}/src/current
CATEGORIES= benchmarks
MASTER_SITES= http://www.iozone.org/src/current/
EXTRACT_SUFX= .tar
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.iozone.org/
COMMENT= Benchmark for file read and write speed
RESTRICTED= "Publication of derivative works not allowed"
MAKEFILE= makefile
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "NetBSD")
ALL_TARGET= netbsd
.elif (${OPSYS} == "SunOS")
ALL_TARGET= Solaris
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin
${INSTALL_MAN} ${WRKDIR}/docs/iozone.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/IOzone
${INSTALL_DATA} ${WRKDIR}/docs/Iozone_ps.gz ${PREFIX}/share/doc/IOzone
benchmark:
@(cd ${WRKSRC}; ./iozone -Ea | 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"