diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2005-09-03 05:57:45 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2005-09-03 05:57:45 +0000 |
commit | 7844bb2f3e51da8d0e965c500116f6fb8708a672 (patch) | |
tree | ea39bf0d42b96511ff34507fd5115b85b619bfc3 /benchmarks/ubench | |
parent | 6b4ddbe438f2679b7b44af78706d52de442f04ea (diff) | |
download | pkgsrc-7844bb2f3e51da8d0e965c500116f6fb8708a672.tar.gz |
Initial import of ubench-0.32.
The Unix Benchmark Utility "ubench" provides a single mesure of
performance for machines running various flavors of Unix operating
systems.
Diffstat (limited to 'benchmarks/ubench')
-rw-r--r-- | benchmarks/ubench/DESCR | 3 | ||||
-rw-r--r-- | benchmarks/ubench/Makefile | 19 | ||||
-rw-r--r-- | benchmarks/ubench/PLIST | 2 | ||||
-rw-r--r-- | benchmarks/ubench/distinfo | 6 | ||||
-rw-r--r-- | benchmarks/ubench/patches/patch-aa | 29 |
5 files changed, 59 insertions, 0 deletions
diff --git a/benchmarks/ubench/DESCR b/benchmarks/ubench/DESCR new file mode 100644 index 00000000000..f4ae9866326 --- /dev/null +++ b/benchmarks/ubench/DESCR @@ -0,0 +1,3 @@ +The Unix Benchmark Utility "ubench" provides a single mesure of +performance for machines running various flavors of Unix operating +systems. diff --git a/benchmarks/ubench/Makefile b/benchmarks/ubench/Makefile new file mode 100644 index 00000000000..918da5a2372 --- /dev/null +++ b/benchmarks/ubench/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/09/03 05:57:45 xtraeme Exp $ +# + +DISTNAME= ubench-0.32 +CATEGORIES= benchmarks +MASTER_SITES= http://www.phystech.com/ftp/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.phystech.com/ftp/ +COMMENT= The Unix Benchmark utility + +BUILD_TARGET= ubench + +SUBST_CLASSES= path +SUBST_STAGE.path= post-configure +SUBST_FILES.path= Makefile +SUBST_SED.path= -e "s,/usr/local,${PREFIX}," + +.include "../../mk/bsd.pkg.mk" diff --git a/benchmarks/ubench/PLIST b/benchmarks/ubench/PLIST new file mode 100644 index 00000000000..a9dcb176d84 --- /dev/null +++ b/benchmarks/ubench/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/09/03 05:57:45 xtraeme Exp $ +bin/ubench diff --git a/benchmarks/ubench/distinfo b/benchmarks/ubench/distinfo new file mode 100644 index 00000000000..ecdb49aaa9d --- /dev/null +++ b/benchmarks/ubench/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/09/03 05:57:45 xtraeme Exp $ + +SHA1 (ubench-0.32.tar.gz) = 749ae490c95b9fe95753b47b5711cbeb9bdb3a29 +RMD160 (ubench-0.32.tar.gz) = 33a2e7b869af1e7c81eb2211b3ee4946e97933d2 +Size (ubench-0.32.tar.gz) = 9341 bytes +SHA1 (patch-aa) = 07a31eccb56a50b6a5261a6db7b4d37bdc57a3a6 diff --git a/benchmarks/ubench/patches/patch-aa b/benchmarks/ubench/patches/patch-aa new file mode 100644 index 00000000000..20e9762a1ce --- /dev/null +++ b/benchmarks/ubench/patches/patch-aa @@ -0,0 +1,29 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/09/03 05:57:45 xtraeme Exp $ + +--- Makefile.orig 2005-09-03 07:50:21.000000000 +0200 ++++ Makefile 2005-09-03 07:51:42.000000000 +0200 +@@ -8,11 +8,11 @@ + ############################################################################### + + #DEFINES=-DDEBUG +-INSTALLDIR= /usr/local/bin ++INSTALLDIR=/usr/local/bin + +-CC = gcc +-CFLAGS = -O2 -m486 -Wall -malign-loops=2 -malign-jumps=2 -malign-functions=2 -fomit-frame-pointer +-LDFLAGS = -s -lm ++#CC = gcc ++#CFLAGS = -O2 -m486 -Wall -malign-loops=2 -malign-jumps=2 -malign-functions=2 -fomit-frame-pointer ++LDFLAGS += -s -lm + INCLUDES = -I. + + objects = signals.o cpubench.o membench.o ubench.o +@@ -29,7 +29,7 @@ + default: ubench + + install: ubench +- install -c -m 0555 ubench $(INSTALLDIR) ++ $(BSD_INSTALL_PROGRAM) ubench $(INSTALLDIR) + + utime: $(utimeobjects) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ |