diff options
author | miwi <miwi@FreeBSD.org> | 2007-04-30 15:10:52 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-04-30 15:10:52 +0800 |
commit | d4d1c6d9b1bbaf60a19c45a7aadb0fb9a9faa646 (patch) | |
tree | ca7294851760c86e2866bf5f7532faa49d798c7e /benchmarks | |
parent | 08c17f69613ba87300339ace187ab8647701e6de (diff) | |
download | freebsd-ports-gnome-d4d1c6d9b1bbaf60a19c45a7aadb0fb9a9faa646.tar.gz freebsd-ports-gnome-d4d1c6d9b1bbaf60a19c45a7aadb0fb9a9faa646.tar.zst freebsd-ports-gnome-d4d1c6d9b1bbaf60a19c45a7aadb0fb9a9faa646.zip |
The mdtest software is used for testing the metadata
performance of a file system.
WWW: http://www.llnl.gov/icc/lc/siop/
PR: ports/112237
Submitted by: Chao Shin <quakelee at cn.freebsd.org>
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/Makefile | 1 | ||||
-rw-r--r-- | benchmarks/mdtest/Makefile | 42 | ||||
-rw-r--r-- | benchmarks/mdtest/distinfo | 3 | ||||
-rw-r--r-- | benchmarks/mdtest/files/patch-Makefile | 10 | ||||
-rw-r--r-- | benchmarks/mdtest/pkg-descr | 4 |
5 files changed, 60 insertions, 0 deletions
diff --git a/benchmarks/Makefile b/benchmarks/Makefile index b72ac1ca0795..7ea1cb2ccd47 100644 --- a/benchmarks/Makefile +++ b/benchmarks/Makefile @@ -24,6 +24,7 @@ SUBDIR += iperf SUBDIR += libmicro SUBDIR += lmbench + SUBDIR += mdtest SUBDIR += nbench SUBDIR += netio SUBDIR += netperf diff --git a/benchmarks/mdtest/Makefile b/benchmarks/mdtest/Makefile new file mode 100644 index 000000000000..f2e1c4a5b13c --- /dev/null +++ b/benchmarks/mdtest/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: mdtest +# Date created: 2007-4-20 +# Whom: Chao Shin <quakelee@cn.freebsd.org> +# +# $FreeBSD$ +# + +PORTNAME= mdtest +PORTVERSION= 1.7.1 +CATEGORIES= benchmarks +MASTER_SITES= http://www.llnl.gov/icc/lc/siop/downloads/ + +MAINTAINER= quakelee@cn.FreeBSD.org +COMMENT= A filesystem metadata benchmark utility + +PLIST_FILES= bin/mdtest + +OPTIONS= OPENMPI "Use openmpi instead of mpich2" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_OPENMPI) +BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpicc:${PORTSDIR}/net/openmpi +RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:${PORTSDIR}/net/openmpi +MPICC= ${LOCALBASE}/mpi/openmpi/bin/mpicc +.else +BUILD_DEPENDS+= ${LOCALBASE}/mpich2/bin/mpicc:${PORTSDIR}/net/mpich2 +RUN_DEPENDS+= ${LOCALBASE}/mpich2/lib/libmpich.so:${PORTSDIR}/net/mpich2 +MPICC= ${LOCALBASE}/mpich2/bin/mpicc +.endif + +USE_GMAKE= yes +ALL_TARGET= mdtest + +post-patch: + @${REINPLACE_CMD} -e 's|%%MPICC%%|${MPICC}|' ${WRKSRC}/${MAKEFILE} + +do-install: + ${STRIP_CMD} ${WRKSRC}/mdtest + ${INSTALL_PROGRAM} ${WRKSRC}/mdtest ${PREFIX}/bin + +.include <bsd.port.post.mk> diff --git a/benchmarks/mdtest/distinfo b/benchmarks/mdtest/distinfo new file mode 100644 index 000000000000..108cefdf04c9 --- /dev/null +++ b/benchmarks/mdtest/distinfo @@ -0,0 +1,3 @@ +MD5 (mdtest-1.7.1.tar.gz) = 4ea34d1f9d0c498e47edf694a3962e9b +SHA256 (mdtest-1.7.1.tar.gz) = 1ebe974d1c275c2abb9ab06a09506ab908718f2e6a73780956d0a89db40c3024 +SIZE (mdtest-1.7.1.tar.gz) = 11344 diff --git a/benchmarks/mdtest/files/patch-Makefile b/benchmarks/mdtest/files/patch-Makefile new file mode 100644 index 000000000000..0609ddecb018 --- /dev/null +++ b/benchmarks/mdtest/files/patch-Makefile @@ -0,0 +1,10 @@ +--- Makefile.orig Sun Apr 29 16:35:18 2007 ++++ Makefile Sun Apr 29 16:42:07 2007 +@@ -21,6 +21,7 @@ + + CC.AIX = mpcc_r -bmaxdata:0x80000000 + CC.Linux = mpicc -Wall ++CC.FreeBSD = %%MPICC%% -Wall + + # Requires GNU Make + OS=$(shell uname) diff --git a/benchmarks/mdtest/pkg-descr b/benchmarks/mdtest/pkg-descr new file mode 100644 index 000000000000..3ba0939f5e1a --- /dev/null +++ b/benchmarks/mdtest/pkg-descr @@ -0,0 +1,4 @@ +The mdtest software is used for testing the metadata +performance of a file system. + +WWW: http://www.llnl.gov/icc/lc/siop/ |