head	1.65;
access;
symbols
	pkgsrc-2026Q1:1.65.0.8
	pkgsrc-2026Q1-base:1.65
	pkgsrc-2025Q4:1.65.0.6
	pkgsrc-2025Q4-base:1.65
	pkgsrc-2025Q3:1.65.0.4
	pkgsrc-2025Q3-base:1.65
	pkgsrc-2025Q2:1.65.0.2
	pkgsrc-2025Q2-base:1.65
	pkgsrc-2025Q1:1.63.0.22
	pkgsrc-2025Q1-base:1.63
	pkgsrc-2024Q4:1.63.0.20
	pkgsrc-2024Q4-base:1.63
	pkgsrc-2024Q3:1.63.0.18
	pkgsrc-2024Q3-base:1.63
	pkgsrc-2024Q2:1.63.0.16
	pkgsrc-2024Q2-base:1.63
	pkgsrc-2024Q1:1.63.0.14
	pkgsrc-2024Q1-base:1.63
	pkgsrc-2023Q4:1.63.0.12
	pkgsrc-2023Q4-base:1.63
	pkgsrc-2023Q3:1.63.0.10
	pkgsrc-2023Q3-base:1.63
	pkgsrc-2023Q2:1.63.0.8
	pkgsrc-2023Q2-base:1.63
	pkgsrc-2023Q1:1.63.0.6
	pkgsrc-2023Q1-base:1.63
	pkgsrc-2022Q4:1.63.0.4
	pkgsrc-2022Q4-base:1.63
	pkgsrc-2022Q3:1.63.0.2
	pkgsrc-2022Q3-base:1.63
	pkgsrc-2022Q2:1.62.0.2
	pkgsrc-2022Q2-base:1.62
	pkgsrc-2022Q1:1.61.0.8
	pkgsrc-2022Q1-base:1.61
	pkgsrc-2021Q4:1.61.0.6
	pkgsrc-2021Q4-base:1.61
	pkgsrc-2021Q3:1.61.0.4
	pkgsrc-2021Q3-base:1.61
	pkgsrc-2021Q2:1.61.0.2
	pkgsrc-2021Q2-base:1.61
	pkgsrc-2021Q1:1.60.0.6
	pkgsrc-2021Q1-base:1.60
	pkgsrc-2020Q4:1.60.0.4
	pkgsrc-2020Q4-base:1.60
	pkgsrc-2020Q3:1.60.0.2
	pkgsrc-2020Q3-base:1.60
	pkgsrc-2020Q2:1.59.0.8
	pkgsrc-2020Q2-base:1.59
	pkgsrc-2020Q1:1.59.0.4
	pkgsrc-2020Q1-base:1.59
	pkgsrc-2019Q4:1.59.0.6
	pkgsrc-2019Q4-base:1.59
	pkgsrc-2019Q3:1.59.0.2
	pkgsrc-2019Q3-base:1.59
	pkgsrc-2019Q2:1.58.0.8
	pkgsrc-2019Q2-base:1.58
	pkgsrc-2019Q1:1.58.0.6
	pkgsrc-2019Q1-base:1.58
	pkgsrc-2018Q4:1.58.0.4
	pkgsrc-2018Q4-base:1.58
	pkgsrc-2018Q3:1.58.0.2
	pkgsrc-2018Q3-base:1.58
	pkgsrc-2018Q2:1.57.0.18
	pkgsrc-2018Q2-base:1.57
	pkgsrc-2018Q1:1.57.0.16
	pkgsrc-2018Q1-base:1.57
	pkgsrc-2017Q4:1.57.0.14
	pkgsrc-2017Q4-base:1.57
	pkgsrc-2017Q3:1.57.0.12
	pkgsrc-2017Q3-base:1.57
	pkgsrc-2017Q2:1.57.0.8
	pkgsrc-2017Q2-base:1.57
	pkgsrc-2017Q1:1.57.0.6
	pkgsrc-2017Q1-base:1.57
	pkgsrc-2016Q4:1.57.0.4
	pkgsrc-2016Q4-base:1.57
	pkgsrc-2016Q3:1.57.0.2
	pkgsrc-2016Q3-base:1.57
	pkgsrc-2016Q2:1.55.0.8
	pkgsrc-2016Q2-base:1.55
	pkgsrc-2016Q1:1.55.0.6
	pkgsrc-2016Q1-base:1.55
	pkgsrc-2015Q4:1.55.0.4
	pkgsrc-2015Q4-base:1.55
	pkgsrc-2015Q3:1.55.0.2
	pkgsrc-2015Q3-base:1.55
	pkgsrc-2015Q2:1.54.0.2
	pkgsrc-2015Q2-base:1.54
	pkgsrc-2015Q1:1.53.0.4
	pkgsrc-2015Q1-base:1.53
	pkgsrc-2014Q4:1.53.0.2
	pkgsrc-2014Q4-base:1.53
	pkgsrc-2014Q3:1.50.0.4
	pkgsrc-2014Q3-base:1.50
	pkgsrc-2014Q2:1.50.0.2
	pkgsrc-2014Q2-base:1.50
	pkgsrc-2014Q1:1.49.0.8
	pkgsrc-2014Q1-base:1.49
	pkgsrc-2013Q4:1.49.0.6
	pkgsrc-2013Q4-base:1.49
	pkgsrc-2013Q3:1.49.0.4
	pkgsrc-2013Q3-base:1.49
	pkgsrc-2013Q2:1.49.0.2
	pkgsrc-2013Q2-base:1.49
	pkgsrc-2013Q1:1.48.0.2
	pkgsrc-2013Q1-base:1.48
	pkgsrc-2012Q4:1.46.0.2
	pkgsrc-2012Q4-base:1.46
	pkgsrc-2012Q3:1.45.0.2
	pkgsrc-2012Q3-base:1.45
	pkgsrc-2012Q2:1.44.0.2
	pkgsrc-2012Q2-base:1.44
	pkgsrc-2012Q1:1.43.0.2
	pkgsrc-2012Q1-base:1.43
	pkgsrc-2011Q4:1.42.0.2
	pkgsrc-2011Q4-base:1.42
	pkgsrc-2011Q3:1.41.0.8
	pkgsrc-2011Q3-base:1.41
	pkgsrc-2011Q2:1.41.0.6
	pkgsrc-2011Q2-base:1.41
	pkgsrc-2011Q1:1.41.0.4
	pkgsrc-2011Q1-base:1.41
	pkgsrc-2010Q4:1.41.0.2
	pkgsrc-2010Q4-base:1.41
	pkgsrc-2010Q3:1.40.0.12
	pkgsrc-2010Q3-base:1.40
	pkgsrc-2010Q2:1.40.0.10
	pkgsrc-2010Q2-base:1.40
	pkgsrc-2010Q1:1.40.0.8
	pkgsrc-2010Q1-base:1.40
	pkgsrc-2009Q4:1.40.0.6
	pkgsrc-2009Q4-base:1.40
	pkgsrc-2009Q3:1.40.0.4
	pkgsrc-2009Q3-base:1.40
	pkgsrc-2009Q2:1.40.0.2
	pkgsrc-2009Q2-base:1.40
	pkgsrc-2009Q1:1.39.0.8
	pkgsrc-2009Q1-base:1.39
	pkgsrc-2008Q4:1.39.0.6
	pkgsrc-2008Q4-base:1.39
	pkgsrc-2008Q3:1.39.0.4
	pkgsrc-2008Q3-base:1.39
	cube-native-xorg:1.39.0.2
	cube-native-xorg-base:1.39
	pkgsrc-2008Q2:1.38.0.6
	pkgsrc-2008Q2-base:1.38
	cwrapper:1.38.0.4
	pkgsrc-2008Q1:1.38.0.2
	pkgsrc-2008Q1-base:1.38
	pkgsrc-2007Q4:1.36.0.8
	pkgsrc-2007Q4-base:1.36
	pkgsrc-2007Q3:1.36.0.6
	pkgsrc-2007Q3-base:1.36
	pkgsrc-2007Q2:1.36.0.4
	pkgsrc-2007Q2-base:1.36
	pkgsrc-2007Q1:1.36.0.2
	pkgsrc-2007Q1-base:1.36
	pkgsrc-2006Q4:1.35.0.4
	pkgsrc-2006Q4-base:1.35
	pkgsrc-2006Q3:1.35.0.2
	pkgsrc-2006Q3-base:1.35
	pkgsrc-2006Q2:1.33.0.2
	pkgsrc-2006Q2-base:1.33
	pkgsrc-2006Q1:1.31.0.4
	pkgsrc-2006Q1-base:1.31
	pkgsrc-2005Q4:1.31.0.2
	pkgsrc-2005Q4-base:1.31
	pkgsrc-2005Q3:1.28.0.8
	pkgsrc-2005Q3-base:1.28
	pkgsrc-2005Q2:1.28.0.6
	pkgsrc-2005Q2-base:1.28
	pkgsrc-2005Q1:1.28.0.4
	pkgsrc-2005Q1-base:1.28
	pkgsrc-2004Q4:1.28.0.2
	pkgsrc-2004Q4-base:1.28
	pkgsrc-2004Q3:1.26.0.2
	pkgsrc-2004Q3-base:1.26
	pkgsrc-2004Q2:1.25.0.2
	pkgsrc-2004Q2-base:1.25
	pkgsrc-2004Q1:1.23.0.2
	pkgsrc-2004Q1-base:1.23
	pkgsrc-2003Q4:1.20.0.2
	pkgsrc-2003Q4-base:1.20
	netbsd-1-6-1:1.15.0.6
	netbsd-1-6-1-base:1.15
	netbsd-1-6:1.15.0.8
	netbsd-1-6-RELEASE-base:1.15
	pkgviews:1.15.0.4
	pkgviews-base:1.15
	buildlink2:1.15.0.2
	buildlink2-base:1.15
	netbsd-1-5-PATCH003:1.15
	netbsd-1-5-PATCH001:1.13
	netbsd-1-5-RELEASE:1.11
	netbsd-1-4-PATCH003:1.11
	netbsd-1-4-PATCH002:1.7
	comdex-fall-1999:1.7
	netbsd-1-4-PATCH001:1.7
	netbsd-1-4-RELEASE:1.6
	netbsd-1-3-PATCH003:1.4;
locks; strict;
comment	@# @;


1.65
date	2025.04.21.16.22.09;	author wiz;	state Exp;
branches;
next	1.64;
commitid	GvF7D8VEvYmlaWRF;

1.64
date	2025.03.31.14.13.21;	author wiz;	state Exp;
branches;
next	1.63;
commitid	rRXNRxkPwZ0R7ePF;

1.63
date	2022.06.28.11.30.59;	author wiz;	state Exp;
branches;
next	1.62;
commitid	D2UoJrTHpoHEANJD;

1.62
date	2022.05.28.11.39.57;	author adam;	state Exp;
branches;
next	1.61;
commitid	lNMVSMmCxkMIDOFD;

1.61
date	2021.05.24.19.49.09;	author wiz;	state Exp;
branches;
next	1.60;
commitid	qokaiStTApGMcrUC;

1.60
date	2020.08.31.18.06.38;	author wiz;	state Exp;
branches;
next	1.59;
commitid	7zxRbfOkDOoxbfmC;

1.59
date	2019.08.11.13.17.58;	author wiz;	state Exp;
branches;
next	1.58;
commitid	Ifet9Pg6Qt99ZByB;

1.58
date	2018.08.22.09.42.58;	author wiz;	state Exp;
branches;
next	1.57;
commitid	YLub8g3ofvFGb6PA;

1.57
date	2016.07.09.11.48.12;	author rillig;	state Exp;
branches;
next	1.56;
commitid	3v6BLvwHLFhBLDdz;

1.56
date	2016.07.09.06.37.50;	author wiz;	state Exp;
branches;
next	1.55;
commitid	dlqnocGpOoXV2Cdz;

1.55
date	2015.07.13.14.05.56;	author ryoon;	state Exp;
branches;
next	1.54;
commitid	fHPDnldSVvQba8ty;

1.54
date	2015.06.12.10.48.25;	author wiz;	state Exp;
branches;
next	1.53;
commitid	B4JmCfaVUbiY38py;

1.53
date	2014.12.09.13.56.44;	author mef;	state Exp;
branches;
next	1.52;
commitid	o93AuBwTSdyA3n1y;

1.52
date	2014.12.09.13.53.13;	author mef;	state Exp;
branches;
next	1.51;
commitid	B07jOSLrJ8H92n1y;

1.51
date	2014.10.09.14.05.59;	author wiz;	state Exp;
branches;
next	1.50;
commitid	fBDATFVmQ3454xTx;

1.50
date	2014.05.29.23.35.16;	author wiz;	state Exp;
branches;
next	1.49;
commitid	laryHfkCalgYtuCx;

1.49
date	2013.05.31.12.39.38;	author wiz;	state Exp;
branches;
next	1.48;
commitid	hIeXGcx6VfKHwMRw;

1.48
date	2013.03.18.17.01.26;	author ast;	state Exp;
branches;
next	1.47;

1.47
date	2013.03.18.09.29.17;	author ast;	state Exp;
branches;
next	1.46;

1.46
date	2012.10.03.21.53.58;	author wiz;	state Exp;
branches;
next	1.45;

1.45
date	2012.09.11.22.37.12;	author asau;	state Exp;
branches;
next	1.44;

1.44
date	2012.06.07.15.57.20;	author asau;	state Exp;
branches;
next	1.43;

1.43
date	2012.01.12.15.11.37;	author hans;	state Exp;
branches;
next	1.42;

1.42
date	2011.12.02.15.31.44;	author hauke;	state Exp;
branches;
next	1.41;

1.41
date	2010.12.30.07.41.27;	author obache;	state Exp;
branches;
next	1.40;

1.40
date	2009.05.19.08.59.04;	author wiz;	state Exp;
branches;
next	1.39;

1.39
date	2008.08.25.19.35.30;	author bjs;	state Exp;
branches;
next	1.38;

1.38
date	2008.03.03.00.51.44;	author jlam;	state Exp;
branches;
next	1.37;

1.37
date	2008.01.19.09.16.18;	author wiz;	state Exp;
branches;
next	1.36;

1.36
date	2007.01.07.09.13.47;	author rillig;	state Exp;
branches;
next	1.35;

1.35
date	2006.09.09.02.41.55;	author obache;	state Exp;
branches;
next	1.34;

1.34
date	2006.07.13.13.42.12;	author adam;	state Exp;
branches;
next	1.33;

1.33
date	2006.05.02.13.53.18;	author gdt;	state Exp;
branches;
next	1.32;

1.32
date	2006.04.22.09.22.06;	author rillig;	state Exp;
branches;
next	1.31;

1.31
date	2005.12.05.20.49.51;	author rillig;	state Exp;
branches;
next	1.30;

1.30
date	2005.10.31.17.26.02;	author tv;	state Exp;
branches;
next	1.29;

1.29
date	2005.10.19.15.27.19;	author adam;	state Exp;
branches;
next	1.28;

1.28
date	2004.12.03.15.14.51;	author wiz;	state Exp;
branches;
next	1.27;

1.27
date	2004.11.10.14.13.21;	author adam;	state Exp;
branches;
next	1.26;

1.26
date	2004.07.30.15.50.37;	author minskim;	state Exp;
branches;
next	1.25;

1.25
date	2004.05.10.16.33.03;	author jschauma;	state Exp;
branches;
next	1.24;

1.24
date	2004.05.05.00.43.10;	author danw;	state Exp;
branches;
next	1.23;

1.23
date	2004.01.21.22.31.56;	author wiz;	state Exp;
branches;
next	1.22;

1.22
date	2004.01.20.12.08.12;	author agc;	state Exp;
branches;
next	1.21;

1.21
date	2003.12.13.10.48.33;	author wiz;	state Exp;
branches;
next	1.20;

1.20
date	2003.06.24.07.34.13;	author wiz;	state Exp;
branches;
next	1.19;

1.19
date	2003.04.15.08.34.32;	author wiz;	state Exp;
branches;
next	1.18;

1.18
date	2003.03.29.12.40.11;	author jmmv;	state Exp;
branches;
next	1.17;

1.17
date	2003.03.11.12.42.04;	author wiz;	state Exp;
branches;
next	1.16;

1.16
date	2003.03.10.11.06.49;	author wiz;	state Exp;
branches;
next	1.15;

1.15
date	2001.07.16.22.04.54;	author garbled;	state Exp;
branches;
next	1.14;

1.14
date	2001.06.04.23.10.35;	author jtb;	state Exp;
branches;
next	1.13;

1.13
date	2001.04.09.11.45.37;	author wiz;	state Exp;
branches;
next	1.12;

1.12
date	2001.02.16.13.37.53;	author wiz;	state Exp;
branches;
next	1.11;

1.11
date	2000.05.04.10.38.27;	author pooka;	state Exp;
branches;
next	1.10;

1.10
date	2000.05.03.09.13.15;	author pooka;	state Exp;
branches;
next	1.9;

1.9
date	2000.05.02.15.17.45;	author pooka;	state Exp;
branches;
next	1.8;

1.8
date	2000.03.16.12.16.52;	author wiz;	state Exp;
branches;
next	1.7;

1.7
date	99.06.21.09.57.03;	author agc;	state Exp;
branches;
next	1.6;

1.6
date	99.03.16.09.02.27;	author agc;	state Exp;
branches;
next	1.5;

1.5
date	98.12.26.15.59.56;	author garbled;	state Exp;
branches;
next	1.4;

1.4
date	98.09.24.09.20.08;	author agc;	state Exp;
branches;
next	1.3;

1.3
date	98.09.23.16.09.05;	author agc;	state Exp;
branches;
next	1.2;

1.2
date	98.09.01.16.42.33;	author mrg;	state Exp;
branches;
next	1.1;

1.1
date	98.08.30.17.42.25;	author garbled;	state Exp;
branches;
next	;


desc
@@


1.65
log
@*: remove Interix support
@
text
@# $NetBSD: Makefile,v 1.64 2025/03/31 14:13:21 wiz Exp $

DISTNAME=	iozone3_493
PKGNAME=	${DISTNAME:S/3_/-3./}
PKGREVISION=	1
CATEGORIES=	benchmarks
MASTER_SITES=	http://www.iozone.org/src/current/
EXTRACT_SUFX=	.tgz

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	http://www.iozone.org/
COMMENT=	Benchmark for file read and write speed
# No derivative works
LICENSE=	iozone-license

WRKSRC=			${WRKDIR}/${DISTNAME}/src/current
MAKE_FILE=		makefile
USE_TOOLS+=		gmake perl tee
MAKE_JOBS_SAFE=		no

CPPFLAGS.SunOS+=	-Dsolaris

.include "../../mk/bsd.prefs.mk"

.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386)
BUILD_TARGET=		netbsd
.elif !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64)
BUILD_TARGET=		netbsd-AMD64
.elif !empty(OPSYS:M*BSD) || ${OPSYS} == "Linux" || ${OPSYS} == "DragonFly"
BUILD_TARGET=		${LOWER_OPSYS}
.elif (${OPSYS} == "SunOS")
BUILD_TARGET=		Solaris
.elif (${OPSYS} == "Darwin")
BUILD_TARGET=		macosx
.elif (${OPSYS} == "IRIX")
BUILD_TARGET=		${OPSYS}${ABI:M64}
.elif (${OPSYS} == "AIX")
BUILD_TARGET=		${OPSYS}
.else
# XXX: generic should work, but specific target would be better
BUILD_TARGET=		generic
.endif

REPLACE_PERL=		iozone_visualizer.pl report.pl

EGDIR=			share/examples/IOzone
DOCDIR=			share/doc/IOzone
INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 ${EGDIR} ${DOCDIR}

#.include "options.mk"

IOZONE_TEST_ARGS=		-Ea
.if !empty(PKG_OPTIONS:Mthreads)
IOZONE_TEST_ARGS+=		-T -t4
.endif

do-install:
.for bb in fileop iozone pit_server
	${INSTALL_PROGRAM} ${WRKSRC}/${bb} ${DESTDIR}${PREFIX}/bin
.endfor
	${INSTALL_SCRIPT} ${WRKSRC}/iozone_visualizer.pl \
		${DESTDIR}${PREFIX}/bin/iozone_visualizer
	${INSTALL_SCRIPT} ${WRKSRC}/report.pl \
		${DESTDIR}${PREFIX}/bin/iozone_report
	${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/iozone.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.for dd in IOzone_msword_98.pdf Iozone_ps.gz Run_rules.doc
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/docs/${dd} \
		${DESTDIR}${PREFIX}/${DOCDIR}/
.endfor
.for ee in Generate_Graphs Gnuplot.txt client_list gengnuplot.sh \
	gnu3d.dem gnuplot.dem gnuplotps.dem read_telemetry write_telemetry
	${INSTALL_DATA} ${WRKSRC}/${ee} \
		${DESTDIR}${PREFIX}/${EGDIR}/
.endfor

benchmark:
	cd ${WRKSRC} && ./iozone ${IOZONE_TEST_ARGS} | ${TEE} iozone.out

results:
	${MKDIR} /tmp/benches/`domainname`
	${CP} ${WRKSRC}/iozone.out /tmp/benches/`domainname`/iozone.`uname`-`uname -m`-`uname -r`.`hostname`

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.64
log
@*: remove incomplete BSD/OS support

As proposed on tech-pkg.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.63 2022/06/28 11:30:59 wiz Exp $
a15 2
NOT_FOR_PLATFORM=	Interix-*-* # has only 32-bit off_t

@


1.63
log
@*: recursive bump for perl 5.36
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.62 2022/05/28 11:39:57 adam Exp $
a38 2
.elif (${OPSYS} == "BSDOS")
BUILD_TARGET=		bsdi
@


1.62
log
@iozone: updated to 3.493

Revision 3.432
Adding NetBSD 64 bit.

Revision 3.434
Adding code from Alexey Skidanov. Pthread burst I/O.

Revision 3.434
Convert calls from atoi() into atoll() for those things that are actually long longs.

Revision 3.436
Code cleanup for casting consistency

Revision 3.442
Code cleanup for casting consistency and *&(^&*( compiler warnings !!!

Revision 3.443
Code cleanup for all of the un-needed void * maddness.

Revision 3.444
Cleanup 64 bit compiles.

Revision 3.445
Some BSD changes to avoid compiler complaints.

Revision 3.446
Some BSD changes to avoid compiler complaints.

Revision 3.447
Make sure we don't have missing prototypes.

Revision 3.448
Add support for building targets with NO_SIGNAL, NO_FORK, NO_SOCKET

Revision 3.449
Add support for building targets with NO_SIGNAL, NO_FORK, NO_SOCKET

Revision 3.450
Fix missing typedef in FreeBSD.

Revision 3.451
Fix typeoh in spelling of DragonFly.

Revision 3.452
Make the sighandler_t change effective for all BSD derivatives.

Revision 3.454
Make the my_sig_t change effective for all BSD derivatives.

Revision 3.455
Unify the usage of __FreeBSD__

Revision 3.456
Build on BSD 10.3 without warnings.  Clang compilers.

Revision 3.457
Build on BSD 10.3 without warnings.  Clang compilers.

Revision 3.458
Make more friendly to build on Solaris.

Revision 3.459
Make more friendly to build on Solaris.

Revision 3.460
Make more friendly to build on Solaris.

Revision 3.461
Make more friendly to build on Solaris.

Revision 3.462
Make more friendly to build on Solaris.

Revision 3.463
Make more friendly to build on Solaris.

Revision 3.464
Make more friendly to build on Solaris.

Revision 3.465
Make more friendly to build on Solaris.

Revision 3.466
Fix error messages to use the correct file name from dummyfile[xx] instead of
"filename" in the thread tests.

Revision 3.467
Fix compiler warning from Clang on MacOS for mythread_create(). Prototype
didn't match the formal function definition.

Revision 3.469
Switch to IOZ_macosx everywhere for compatibility with Mountain Lion.

Revision 3.470
Increase MAXSTREAMS to 1024. Systems have more power today than 20+ years ago.

Revision 3.471
Make -+W -+C -+y use a flag instead of its option value to indiate its usage.

Revision 3.472
Adding -+M (special dedupe layout)
Adding -+a (set compression in special layout)
Adding -+Q (set dedupe granule size in special layout)

Revision 3.473
no change.

Revision 3.474
Cleanup for Cygwin64 build.

Revision 3.475
Cleanup for Cygwin64 build warnings.

Revision 3.476
Cleanup compiler warnings.

Revision 3.477
Bug fix code in special_gen_new_buf..

Revision 3.478
Bug fix code in special_gen_new_buf.. More copies of the other bug.

Revision 3.479
Bug fix code in special_gen_new_buf.. needed (*op ==0) in one more line.

Revision 3.480
Add -+R option to specify the file names are in a file.

Revision 3.481
Adding new contributor Sudhir Kumar

Revision 3.482
Fix help menu for -+R option.  It does not also use -F
Bug fix for case of -H where gcc seems to think the size of long long
is != size of off64_t
Bug fix for prototype mismatch in async_write_no_copy.

Revision 3.483
Fix nesting of #ifdefs so that Windows lack of support for O_DIRECT presents
splash indication.
Enable O_DIRECT for Windows builds.

Revision 3.485
Improvements for building under Android

Revision 3.486
Fix compiler warning on Android.

Revision 3.488
Improve the Yates/Knuth method for shuffle.

Revision 3.489
Fix gcc-10 warning about no-common.

Revision 3.490
Fix compiler warning when HAVE_ANSIC is not defined

Revision 3.491
Fix CFLAGS issue from Fedora maintainer.

Revision 3.492
Improve the -+M option's compression pattern so that the achieved
compressibility is closer to the value specifed in the -+a option.

Revision 3.493
Move memorey allocaiton of main buffer to after the getopt, else
the -S can cause issues later.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.61 2021/05/24 19:49:09 wiz Exp $
d5 1
@


1.61
log
@*: recursive bump for perl 5.34
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.60 2020/08/31 18:06:38 wiz Exp $
d3 1
a3 1
DISTNAME=	iozone3_430
a4 1
PKGREVISION=	5
d7 1
a7 1
EXTRACT_SUFX=	.tar
d19 2
a20 1
USE_TOOLS+=		tee perl
a47 5
SUBST_CLASSES+=		crlf
SUBST_MESSAGE.crlf=	Stripping EOL CR in ${REPLACE_PERL}
SUBST_STAGE.crlf=	post-extract
SUBST_FILES.crlf=	${REPLACE_PERL}
SUBST_FILTER_CMD.crlf=	${TR} -d '\r'
d53 1
a53 1
.include "options.mk"
d81 1
a81 1
	cd ${WRKSRC}; ./iozone ${IOZONE_TEST_ARGS} | ${TEE} iozone.out
@


1.60
log
@*: bump PKGREVISION for perl-5.32.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.59 2019/08/11 13:17:58 wiz Exp $
d5 1
a5 1
PKGREVISION=	4
@


1.59
log
@Bump PKGREVISIONs for perl 5.30.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.58 2018/08/22 09:42:58 wiz Exp $
d5 1
a5 1
PKGREVISION=	3
@


1.58
log
@Recursive bump for perl5-5.28.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.57 2016/07/09 11:48:12 rillig Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.57
log
@Fixed some pkglint warnings.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.56 2016/07/09 06:37:50 wiz Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.56
log
@Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.55 2015/07/13 14:05:56 ryoon Exp $
d47 1
a47 1
REPLACE_PERL =		iozone_visualizer.pl report.pl
d54 2
a55 2
EGDIR =			share/examples/IOzone
DOCDIR =		share/doc/IOzone
@


1.55
log
@Update to 3.430

* Enable async and thread options under NetBSD.

Changelog:
Revision 3.430
Adding -+b option for bursty operations.
Donated by: Avi Shchislowski <Avi.Shchislowski@@sandisk.com>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2015/06/12 10:48:25 wiz Exp $
d5 1
@


1.54
log
@Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2014/12/09 13:56:44 mef Exp $
d3 1
a3 1
DISTNAME=	iozone3_429
a4 1
PKGREVISION=	1
d25 5
a29 1
.if !empty(OPSYS:M*BSD) || ${OPSYS} == "Linux" || ${OPSYS} == "DragonFly"
@


1.53
log
@Correction on PKGNAME, and deleting patch-aa for previous commit
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2014/12/09 13:53:13 mef Exp $
d5 1
@


1.52
log
@Update 3.408 to 3.429
---------------------
Revision 3.409
   Bug fix for using -m in combination with -+d
Revision 3.410
   Bug fix: Improve consistency of use_thread in thread_fread and thread_fwrite.
Revision 3.411
   Compat fix: Move from using macosx to IOZ_macosx, because APPLE started
   using macosx in Mountain Lion.
Revision 3.412
   Adding -+F flag for trunc before thread_write. Needed by Vangel for
   thread_mix_test.
Revision 3.413
   Bug fix for -+F flag.
Revision 3.414
   Add Vangel to the contributors list
Revision 3.415
   Minor bug fix for -J option (think time) in the thread_pread_test()
Revision 3.417
   Add -+J option. Include think time (-j #) in throughput calculation
Revision 3.419
   Add better handling of exit values.
Revision 3.420
   Add new contributor to list.
Revision 3.421
   Bug fix from Alp Aker:
   Patch for a minor issue in IOzone's signal_handler() function:
   the no_unlink option is respected only for the first member of the dummyfile[]
   array; the rest of the dummy files are unconditionally deleted, whether or not
   the '+w' flag has been passed to the program.
Revision 3.422
   Code cleanup. No functional changes.
Revision 3.423
   Improve consistency of Kbytes instead of kbytes, KBytes, kBytes...
Revision 3.424
   Fix for 64 bit and touch_dedup.
Revision 3.425
   Fix for 64 bit and gen_new_buf
Revision 3.427
   Adjust formatting so fields don't run together.
Revision 3.428
   Adjust formatting so fields don't run together.
Revision 3.429
   Add two more characters to array my_port_num.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2014/10/09 14:05:59 wiz Exp $
d4 1
a4 1
PKGNAME=	${DISTNAME:S/3_/-3-/}
@


1.51
log
@Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2014/05/29 23:35:16 wiz Exp $
d3 2
a4 3
DISTNAME=	iozone3_408
PKGNAME=	iozone-3.408
PKGREVISION=	4
@


1.50
log
@Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2013/05/31 12:39:38 wiz Exp $
a17 2
PKG_INSTALLATION_TYPES=	overwrite pkgviews

@


1.49
log
@Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2013/03/18 17:01:26 ast Exp $
d5 1
a5 1
PKGREVISION=	3
@


1.48
log
@Two installed files changed, so bumping PKGREVISION.
Noted by wiz, thanks.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2013/03/18 09:29:17 ast Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.47
log
@Avoid getting "/usr/pkg/bin/perl^M: bad interpreter ..." error on
the auxiliary perl scripts iozone_report and iozone_visualizer.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2012/10/03 21:53:58 wiz Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.46
log
@Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2012/09/11 22:37:12 asau Exp $
d46 5
@


1.45
log
@"user-destdir" is default these days
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2012/06/07 15:57:20 asau Exp $
d5 1
@


1.44
log
@Update to IOzone 3.408


Changes since version 3.397:

Revision 3.408
Bug fix for clobbering of buffer. "tfile" needed to be bigger, as its
address was loaded into filearray[] and then that was overwritten
by the mfflag causing parsed names to get loaded.

Revision 3.407
Work around for cache_line_size suddenly becoming zero and breaking fetchit()

Revision 3.406
Increase buffer size for configuration lines. They might be 700 chars long.

Revision 3.405
Reduce CPU consumption in the op_rate control mechanism.

Revision 3.404
Fix type-oh in usage message.

Revision 3.403
Add -+W to permit chid_skew. This permits adding files, and continuing
the proper sharing/dedup within each quadrant, within same seed group
and with previously existing files that were created with a different
number of threads.

Revision 3.402
Mods for DragonFly support.

Revision 3.401
bug fix for re-write rec.

Revision 3.398
Adding thread_read_test and thread_write_test.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2012/01/12 15:11:37 hans Exp $
a17 1
PKG_DESTDIR_SUPPORT=	user-destdir
@


1.43
log
@Fix build on SunOS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2011/12/02 15:31:44 hauke Exp $
d3 2
a4 2
DISTNAME=	iozone3_397
PKGNAME=	iozone-3.397
@


1.42
log
@Update by a few dozen patch releases (3.308 -> 3.397).

Install two report Perl scripts, example files, and more docs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2010/12/30 07:41:27 obache Exp $
d24 2
@


1.41
log
@Fixes BUILD_TARGET for DragonFly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2009/05/19 08:59:04 wiz Exp $
d3 2
a4 2
DISTNAME=	iozone3_308
PKGNAME=	iozone-3.308
d22 1
a22 1
USE_TOOLS+=		tee
d43 5
a47 1
INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
d57 7
a63 1
	${INSTALL_PROGRAM} ${WRKSRC}/iozone ${DESTDIR}${PREFIX}/bin
d66 9
a74 3
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/IOzone
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/docs/Iozone_ps.gz \
		${DESTDIR}${PREFIX}/share/doc/IOzone
@


1.40
log
@Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2008/08/25 19:35:30 bjs Exp $
d26 1
a26 1
.if !empty(OPSYS:M*BSD) || ${OPSYS} == "Linux"
@


1.39
log
@Update to iozone 3.308.

pkgsrc changes:
- add 'tee' to USE_TOOLS.
- support an optional build with threads support and also support this in the
  'benchmark' target.

Changes since version 2.263

	-Bug fix for -k used in conjunction with -t and content
	 validation.
	-Add DragonFly target.
	-Put PER_VECTOR_OFFSET in for HP-UX
	-Fix compiler warning messages
	-Enforce minimum file size of page_size
	-Minor fixes.
	-Check fsync and close for errors.
	-Adding support for testing block devices. Will be done is phases.
	 This is phase 1. (Single threaded mode only)
	-Adding 4 token support to client_list. Each entry may now contain
	 4 tokens and the new one is the absolute path to the temp
	 file for testing.
	-Add support for external monitor start & stop for throughput
	 tests.
	-IMON_START and IMON_STOP environmental variables used.
	-Bug fix for systems without O_DIRECT. Fall through in switch
	 statement.
	-Fix for -c -t over NFS and initial writer close() when told by
	 another to stop
	-Add Benny Halevy to contributors list.
	-Fix for Cygwin environment.
	-Code cleanup, and add arg to external trigger.
	-Code fixes for macosx
	-Add support for building with Sun's Studio 11 compiler
	-Bug fix for fread/fwrite with > 2Gig files.
	-Add O_DIRECT for Windows
	-Add -+w dedup testing mode.
	-Make remaining non-dedup data unique.
	-Make non-dedupable more unique.
	-Bug fix for non-dedup.
	-Make random offsets unique, using Knuth shuffle.
	-free memory used for random offset uniqueness.
	-Make unique/random offsets 64bits.
	-Add fallback for random/unique.
	-Make non-dedup region more unique
	-Add -+y ## to set percentage of interior dedup.
	-Add -+y ## to set percentage of interior dedup.
	-Bug fixes for -+w and -+y
	-Minor fix for dedup
	-Adding -+C to set percent of dedupable within a file.
	-Add solaris to read sync O_RSYNC
	-Add space to avoid field output touching each other.
	-Add check for config file exceeding MAXSTREAMS.
	-Add new contributor's name.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2008/03/03 00:51:44 jlam Exp $
a11 1

@


1.38
log
@Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2008/01/19 09:16:18 wiz Exp $
d3 2
a4 2
DISTNAME=	iozone3_263
PKGNAME=	iozone-3.263
d23 1
d46 7
d62 1
a62 1
	cd ${WRKSRC}; ./iozone -Ea | ${TEE} iozone.out
d68 1
@


1.37
log
@Reset maintainer on his request.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2007/01/07 09:13:47 rillig Exp $
d19 1
d46 4
a49 3
	${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin
	${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/iozone.1 ${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/IOzone
d51 1
a51 1
		${PREFIX}/share/doc/IOzone
@


1.36
log
@Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2006/09/09 02:41:55 obache Exp $
d9 1
a9 1
MAINTAINER=	root@@garbled.net
@


1.35
log
@Rename variable MAKEFILE to MAKE_FILE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2006/07/13 13:42:12 adam Exp $
d42 1
a42 1
INSTALLATION_DIRS=	bin man/man1
d46 1
a46 1
	${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/iozone.1 ${PREFIX}/man/man1
@


1.34
log
@Changes 3.263:
* Change the default pattern. Samba is trying to cheat by
  special casing IOZONE.tmp, and the pattern of 0xA5.
* Make the default pattern random, and based on Iozone version.
  This is to prevent the hack from Richard Sharpe (in Samba)
  from special casing Iozone, and lying to the user.
* bug fix in pattern gen.
* Add -+Z  old data set mode.
* Add -+X  constant data for short circuit testing only.
* Multi-node changes for new options. (-+Z and -+X)
* Add -+K flag for Sony.
* Move -+K outside of Windows only.
* Simplify percentage calculation
* Add error checking for -f and -F in the wrong modes.
* Bug fix for pbuffer allocation on remote clients.
* Check for max_rec_size when using ranges. -r -r -r
* Fix for Debian user bug. -r 1m -n 1m -g 2m gave bogus error.
* Bug fix for -k used in conjunction with -t and content validation.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2006/05/02 13:53:18 gdt Exp $
d21 1
a21 1
MAKEFILE=		makefile
@


1.33
log
@Set LICENSE, remove RESTRICTED (issue is no derivative works).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2006/04/22 09:22:06 rillig Exp $
d3 2
a4 2
DISTNAME=	iozone3_248
PKGNAME=	iozone-3.248
d52 1
a52 1
	@@(cd ${WRKSRC}; ./iozone -Ea | tee iozone.out)
d55 2
a56 2
	@@${MKDIR} /tmp/benches/`domainname`
	-@@${CP} ${WRKSRC}/iozone.out /tmp/benches/`domainname`/iozone.`uname`-`uname -m`-`uname -r`.`hostname`
@


1.32
log
@Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2005/12/05 20:49:51 rillig Exp $
d13 2
a14 1
RESTRICTED=	Publication of derivative works not allowed
@


1.31
log
@Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2005/10/31 17:26:02 tv Exp $
d13 1
a13 1
RESTRICTED=	"Publication of derivative works not allowed"
@


1.30
log
@NOT_FOR_PLATFORM Interix (only 32-bit off_t).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2005/10/19 15:27:19 adam Exp $
d25 1
a25 1
  BUILD_TARGET=		${LOWER_OPSYS}
d27 1
a27 1
  BUILD_TARGET=		Solaris
d29 1
a29 1
  BUILD_TARGET=		macosx
d31 1
a31 1
  BUILD_TARGET=		${OPSYS}${ABI:M64}
d33 1
a33 1
  BUILD_TARGET=		bsdi
d35 1
a35 1
  BUILD_TARGET=		${OPSYS}
d37 2
a38 2
  # XXX: generic should work, but specific target would be better
  BUILD_TARGET=		generic
@


1.29
log
@Changes 3.248:
* Improvements
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2004/12/03 15:14:51 wiz Exp $
d15 2
@


1.28
log
@Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2004/11/10 14:13:21 adam Exp $
d3 2
a4 2
DISTNAME=	iozone3_226
PKGNAME=	iozone-3.226
d17 1
a17 1
WRKSRC=			${WRKDIR}/src/current
d43 1
a43 1
	${INSTALL_MAN} ${WRKDIR}/docs/iozone.1 ${PREFIX}/man/man1
d45 2
a46 1
	${INSTALL_DATA} ${WRKDIR}/docs/Iozone_ps.gz ${PREFIX}/share/doc/IOzone
@


1.27
log
@Changes 3.218
	Add label to Excel spreadsheet that describes the rows and columns.
	Add support for Solaris64 with VxFS.
	Add support for Linux-arm

Changes 3.219
	Add sleep to permit child to get connection up before master does
	connect.

Changes 3.220
	Improve master connect to child, without delays.

Changes 3.221
	Add -+B Mixed sequential testing. BlueArc request.

Changes 3.222
	Workaround for bug in Cygwin's sscanf

Changes 3.223
	Add transfer size to the output from -Q

Changes 3.224
	Work around for TCP_WAIT in Windows.

Changes 3.225
	Fix for broken rsh on Windows.

Changes 3.226
	Workaround for gcc 3.4. From the folks at Gentoo.org.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2004/07/30 15:50:37 minskim Exp $
d23 1
a23 1
  ALL_TARGET=		${LOWER_OPSYS}
d25 1
a25 1
  ALL_TARGET=		Solaris
d27 1
a27 1
  ALL_TARGET=		macosx
d29 1
a29 1
  ALL_TARGET=		${OPSYS}${ABI:M64}
d31 1
a31 1
  ALL_TARGET=		bsdi
d33 1
a33 1
  ALL_TARGET=		${OPSYS}
d36 1
a36 1
  ALL_TARGET=		generic
@


1.26
log
@Enable pkgviews installation.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2004/05/10 16:33:03 jschauma Exp $
d3 9
a11 9
DISTNAME=		iozone3_217
PKGNAME=		iozone-3.217
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
d13 1
a13 1
RESTRICTED=		"Publication of derivative works not allowed"
@


1.25
log
@Add correct ALL_TARGET for some more platforms.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2004/05/05 00:43:10 danw Exp $
d15 2
d39 2
@


1.24
log
@add an ALL_TARGET for darwin and patch the package Makefile so the
build errors out if no platform-specific target is specified (so that
pkgsrc will recognize that the build failed)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2004/01/21 22:31:56 wiz Exp $
d20 2
a21 2
.if (${OPSYS} == "NetBSD")
  ALL_TARGET=		netbsd
d26 9
@


1.23
log
@Update to 3.217:
Revision 3.212
Add record locking
Add single file, file sharing.
Revision 3.213
Enhance fill/verify (diag mode) for shared file.
Revision 3.214
Remove warnings.
Revision 3.215
Add prototype for mylockr()
Revision 3.216
Fix prototype for mylockr
Revision 3.217
Enable options for Windows systems.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2004/01/20 12:08:12 agc Exp $
d24 2
@


1.22
log
@Move WRKSRC definition away from the first paragraph in a Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2003/12/13 10:48:33 wiz Exp $
d3 2
a4 2
DISTNAME=		iozone3_211
PKGNAME=		iozone-3.211
@


1.21
log
@Update to 3.211:
Add -+n option to disable re-testing.
Fixup -+n for throughput mode.
Fix Excel output when -+n is used.
Add support for the IBM S390 running Linux.
Cleanup naming conventions for the S390 and fixup a #define.
Add 64 bit compiles for s390x
Move BIG_ENDIAN to ZBIG_ENDIAN to avoid header conflicts.
Make random offsets always based on 48 bit random values.
Addition for make random offsets always based on 48 bit random values.
Make rands long longs.
Bug fix for 48 bit rands in bsd4_2 and Windows.
Make big_rand a long long.
Inject Erik's changes for Multi-client Windows.
Change proto version due to changes in Windows -+m support.
Add Eric to the contributors list.
Add more Windows support.
Spelling error.
Bug fixes from Erik H.
Reduce usage of shared memory.
Eliminate STUPID warning from the silly compiler.
Changes to remove warnings on BSD. Thanks to Christian Weisgerber
Support for the AMD64
Add -+k for constant aggregate data set size in throughput mode.
Add pread support for the TRU64 target. Department of Defense in Canada.
Add -+q for delay in seconds between tests.
Move variable up, GCC on Solaris was getting a bogus parse error
Add support for -+D (O_DSYNC) mode testing.
Make O_DSYNC conditional.
Add telemetry support for pread/pwrite
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2003/06/24 07:34:13 wiz Exp $
a4 1
WRKSRC=			${WRKDIR}/src/current
d15 1
@


1.20
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2003/04/15 08:34:32 wiz Exp $
d3 2
a4 2
DISTNAME=		iozone3_185
PKGNAME=		iozone-3.185
@


1.19
log
@Update to 3.167:
Zero compute_val inside of loops.
Add support for O_DIRECT for IRIX and IRIX64
Improve macros and add prototypes.
Improve resolution of get_resolution().
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2003/03/29 12:40:11 jmmv Exp $
d3 2
a4 2
DISTNAME=		iozone3_167
PKGNAME=		iozone-3.167
@


1.18
log
@Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2003/03/11 12:42:04 wiz Exp $
d3 2
a4 2
DISTNAME=		iozone3_163
PKGNAME=		iozone-3.163
@


1.17
log
@Update to 3.163:
Fixup for systems that do not have O_DIRECT.
Simplify the prototype for do_compute()
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2003/03/10 11:06:49 wiz Exp $
d5 1
a15 1
WRKSRC=			${WRKDIR}/src/current
@


1.16
log
@Update to 3.161. Extract of changes, excluding bug fixes
and portability stuff:
Added -z option. This is to be used with the -a option. It
provides more complete testing for small record sizes
when the file sizes are very large.
Added -y and -q to set record size range
Added command line to output
Put auto cross over back to 16 Meg
Add labels to the latency/offset output files.
Prevent mixed modes. Auto and throughput.
Added support for the Plus extended options.
Added support for -+u option. Cpu utilization.
Added network testing mode. -+m  (Experimental) Tested: Linux, HP-UX
Added -xflag support for distributed mode.
Handle interrupts when in distributed mode.
Disable CPU utilization in distributed mode.
Add -+m cluster option to the help list and the list of options.
Enable more options in Cluster mode.
Add protocol version checking for distributed messages.
Add -+d file I/O diagnostic mode.
Fix some compiler warnings and implement the -+x option for
setting the multiplier used for file and record size incrementing.
Reduce the message traffic due to master's distribution of STOP. Only
one STOP distribution is needed. More can lead to socket buffer overflows.
Add -+p percentage read option.
Improve the mixed mode distribution algorithm.
Introduce -+r for O_RSYNC.
Add speed check code.
Increase maximum threads/procs to 256
Add contribs and -+t to help splash screen.
Disable fread and fwrite testing if mmap or async is in use.
Add pread/pwrite throughput testing
Permit smaller values for -n and -g
Make initial write in initfile() a page size request.
Stop test if file can not be written.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2001/07/16 22:04:54 garbled Exp $
d3 2
a4 2
DISTNAME=		iozone3_161
PKGNAME=		iozone-3.161
@


1.15
log
@Update this pkg to 3.56.  Changes are mostly bugfixes, available at:
http://www.iozone.org/src/current/Changes.txt

I have patched the source however, to allow use of the pread/prwite
tests, via the -E extension mode.  Also, the benchmark target has been fixed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2001/06/04 23:10:35 jtb Exp $
d3 2
a4 2
DISTNAME=		iozone3_56
PKGNAME=		iozone-3.56
d30 1
a30 1
	${INSTALL_DATA} ${WRKDIR}/docs/IOzone_ps.gz ${PREFIX}/share/doc/IOzone
@


1.14
log
@Publication of derivative works not allowed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2001/04/09 11:45:37 wiz Exp $
d3 2
a4 2
DISTNAME=		iozone3_9
PKGNAME=		iozone-3.09
d6 1
a6 1
MASTER_SITES=		http://www.iozone.org/src/stable/
d15 1
a15 1
WRKSRC=			${WRKDIR}/src
d21 1
a21 1
  ALL_TARGET=		NetBSD
d28 1
a28 1
	${INSTALL_MAN} ${WRKSRC}/iozone.1 ${PREFIX}/man/man1
d33 1
a33 1
	@@(cd ${WRKSRC}; ./iozone 100 | tee iozone.out)
@


1.13
log
@Remove unneeded '-' before ${MKDIR} or ${INSTALL_DATA_DIR}
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2001/02/16 13:37:53 wiz Exp $
d12 2
@


1.12
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2000/05/04 10:38:27 pooka Exp $
d34 1
a34 1
	-@@${MKDIR} /tmp/benches/`domainname`
@


1.11
log
@oops, restore `benchmark:' and `results:'
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2000/05/03 09:13:15 pooka Exp $
d11 1
@


1.10
log
@Install ps documentation also.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2000/05/02 15:17:45 pooka Exp $
d28 7
@


1.9
log
@Update iozone to lastest stable (3.09), addresses pkg/10020.

The change-list is huge (src/Changes.txt in the distribution) and users
probably should upgrade since the previous version was ancient.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2000/03/16 12:16:52 wiz Exp $
d26 2
@


1.8
log
@cp -> ${CP}, chmod -> ${CHMOD}
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 1999/06/21 09:57:03 agc Exp $
d3 2
a4 2
DISTNAME=		iozone
PKGNAME=		iozone-1.14b
d6 2
a7 2
MASTER_SITES=		ftp://ftp.bme.hu/pub/OS/Linux/tsx-11/sources/test_suites/
EXTRACT_SUFX=		.tar.Z
d10 1
d12 2
a13 1
NO_WRKSUBDIR=		yes
d15 7
a21 8
do-build:
	(cd ${WRKDIR} &&					\
	case `uname -s` in					\
	SunOS)							\
		${CC} -O2 -DSYSTYPE_SYSV -o iozone iozone.c ;;	\
	NetBSD)							\
		${CC} -O2 -o iozone iozone.c ;;			\
	esac)
d25 1
a25 7

benchmark:
	@@(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`
@


1.7
log
@Make this package work on Solaris.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 1999/03/16 09:02:27 agc Exp $
d30 1
a30 1
	-@@cp ${WRKSRC}/iozone.out /tmp/benches/`domainname`/iozone.`uname`-`uname -m`-`uname -r`.`hostname`
@


1.6
log
@s/cc/${CC}/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 1998/12/26 15:59:56 garbled Exp $
d14 7
a20 1
	(cd ${WRKDIR} && ${CC} -O2 -o iozone iozone.c)
@


1.5
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1998/09/24 09:20:08 agc Exp $
d14 1
a14 1
	(cd ${WRKDIR} && cc -O2 -o iozone iozone.c)
@


1.4
log
@Run the benchmarks in ${WRKSRC}.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1998/09/23 16:09:05 agc Exp $
d20 5
a24 1
	@@(cd ${WRKSRC}; ./iozone)
@


1.3
log
@Add a benchmark target to the package Makefile to enable the benchmark
to be run.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1998/09/01 16:42:33 mrg Exp $
d20 1
a20 1
	@@${WRKSRC}/iozone
@


1.2
log
@use ${WRKDIR} not `work'
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 1998/08/30 17:42:25 garbled Exp $
d18 3
@


1.1
log
@Oops.. forgot the Makefile..
@
text
@d1 1
a1 1
# $NetBSD$
d14 1
a14 1
	(cd work && cc -O2 -o iozone iozone.c)
@
