aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2002-11-03 22:59:43 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2002-11-03 22:59:43 +0000
commit1f8d1998bb8d98cdce9b6cce1dd74716a4af0764 (patch)
treec393608ea2a8e778df7b774c4fbfb3af205169ea /benchmarks
parenta3be6877e57c88e355ea4c6db0954f57f62d766f (diff)
downloadports-1f8d1998bb8d98cdce9b6cce1dd74716a4af0764.tar.gz
ports-1f8d1998bb8d98cdce9b6cce1dd74716a4af0764.zip
Notes
Diffstat (limited to 'benchmarks')
-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 01a9013640cf..7cd11a8bd493 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 b2939967f7f4..663fe3a7dc6d 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 8d0a9a8b0ccf..3b61e0aa3e94 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 000000000000..5503f259a10b
--- /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 */