summaryrefslogtreecommitdiffstats
path: root/benchmarks/iozone
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2002-11-03 22:59:43 +0000
committerjmz <jmz@FreeBSD.org>2002-11-03 22:59:43 +0000
commita09ee5f014d4ddd4f12d40d90ca851f83aa4daca (patch)
tree3db359648358098a7de44f45d68c5904c4f90842 /benchmarks/iozone
parent6689ca064d27ab40c210f47bc24b734d74f28a2a (diff)
downloadFreeBSD-ports-a09ee5f014d4ddd4f12d40d90ca851f83aa4daca.zip
FreeBSD-ports-a09ee5f014d4ddd4f12d40d90ca851f83aa4daca.tar.gz
Upgrade to version 3.137
Diffstat (limited to 'benchmarks/iozone')
-rw-r--r--benchmarks/iozone/Makefile4
-rw-r--r--benchmarks/iozone/distinfo2
-rw-r--r--benchmarks/iozone/files/patch-ab18
-rw-r--r--benchmarks/iozone/files/patch-ac20
4 files changed, 32 insertions, 12 deletions
diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile
index 01a9013..7cd11a8 100644
--- a/benchmarks/iozone/Makefile
+++ b/benchmarks/iozone/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= iozone
-PORTVERSION= 3.83
-PORTREVISION= 1
+PORTVERSION= 3.137
+PORTREVISION= 0
CATEGORIES= benchmarks
MASTER_SITES= http://www.iozone.org/src/current/
DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/}
diff --git a/benchmarks/iozone/distinfo b/benchmarks/iozone/distinfo
index b293996..663fe3a7 100644
--- a/benchmarks/iozone/distinfo
+++ b/benchmarks/iozone/distinfo
@@ -1 +1 @@
-MD5 (iozone3_83.tar) = d281b36dea3ec847c9ad16fb01af6a27
+MD5 (iozone3_137.tar) = af2a2e75b51c18dd78e3ea4205c8ea0d
diff --git a/benchmarks/iozone/files/patch-ab b/benchmarks/iozone/files/patch-ab
index 8d0a9a8..3b61e0a 100644
--- a/benchmarks/iozone/files/patch-ab
+++ b/benchmarks/iozone/files/patch-ab
@@ -1,23 +1,23 @@
---- makefile~ Tue Mar 5 00:09:11 2002
-+++ makefile Tue Mar 5 15:44:53 2002
-@@ -253,7 +253,7 @@
+--- makefile.orig Thu Oct 31 18:41:26 2002
++++ makefile Sun Nov 3 23:51:04 2002
+@@ -304,7 +304,7 @@
#
- freebsd: iozone_freebsd.o libbif.o
+ freebsd: iozone_freebsd.o libbif.o
- cc -O -Dunix -DHAVE_ANSIC_C -DNO_THREADS -DSHARED_MEM \
+ cc ${CFLAGS} -Dunix -DHAVE_ANSIC_C -DNO_THREADS -DSHARED_MEM \
iozone_freebsd.o libbif.o -o iozone
+
#
- # GNU C compiler OpenBSD build with no threads, no largefiles, no async I/O
-@@ -601,9 +601,9 @@
+@@ -730,9 +730,9 @@
@echo ""
@echo "Build iozone for FreeBSD"
@echo ""
- cc -c -O -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
-+ cc -c ${CFLAGS} -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
++ cc -c ${CFLAGS} -Dunix -DHAVE_ANSIC_C -DNO_THREADS \
-DSHARED_MEM iozone.c -o iozone_freebsd.o
- cc -c -O -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
-+ cc -c ${CFLAGS} -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
++ cc -c ${CFLAGS} -Dunix -DHAVE_ANSIC_C -DNO_THREADS \
-DSHARED_MEM libbif.c -o libbif.o
- iozone_openbsd.o: iozone.c libbif.c
+ iozone_macosx.o: iozone.c libbif.c
diff --git a/benchmarks/iozone/files/patch-ac b/benchmarks/iozone/files/patch-ac
new file mode 100644
index 0000000..5503f25
--- /dev/null
+++ b/benchmarks/iozone/files/patch-ac
@@ -0,0 +1,20 @@
+--- iozone.c.orig Thu Oct 31 18:41:26 2002
++++ iozone.c Sun Nov 3 23:56:59 2002
+@@ -285,7 +285,7 @@
+ #endif
+
+ #ifdef unix
+-#ifdef __APPLE__
++#if defined (__APPLE__) || defined (__FreeBSD__)
+ #include <sys/time.h>
+ #endif
+ #include <sys/times.h>
+@@ -802,7 +802,7 @@
+ void throughput_test(); /* Multi process throughput */
+ void multi_throughput_test(); /* Multi process throughput */
+ void prepage(); /* Pre-fault user buffer */
+-#if defined(linux) || defined(solaris) || defined(__AIX__) || defined(OSFV5) || defined(UWIN) || defined(Windows) || defined(__APPLE__) || defined(OSFV4) || defined(IRIX) || defined(IRIX64)
++#if defined(linux) || defined(solaris) || defined(__AIX__) || defined(OSFV5) || defined(UWIN) || defined(Windows) || defined(__APPLE__) || defined(OSFV4) || defined(IRIX) || defined(IRIX64) || defined (__FreeBSD__)
+ float do_compute(float); /* compute cycle simulation */
+ #else
+ float do_compute(); /* compute cycle simulation */
OpenPOWER on IntegriCloud