diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-06-06 13:36:39 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-06-06 13:36:39 +0000 |
commit | 539331c4d9e500b1772f05cbaf01d83bcbe60db6 (patch) | |
tree | 4b7f4a6c26b9876a1173be958fa24ea5720a0ada /benchmarks/ubench/files | |
parent | Fix build. (diff) |
Initial import of ubench - yet another *nix benchmarking utility.
PR: 19049
Submitted by: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
Notes
Notes:
svn path=/head/; revision=29261
Diffstat (limited to 'benchmarks/ubench/files')
-rw-r--r-- | benchmarks/ubench/files/patch-aa | 38 | ||||
-rw-r--r-- | benchmarks/ubench/files/patch-ab | 11 | ||||
-rw-r--r-- | benchmarks/ubench/files/patch-ac | 11 | ||||
-rw-r--r-- | benchmarks/ubench/files/patch-ad | 11 |
4 files changed, 71 insertions, 0 deletions
diff --git a/benchmarks/ubench/files/patch-aa b/benchmarks/ubench/files/patch-aa new file mode 100644 index 000000000000..3c31523047fd --- /dev/null +++ b/benchmarks/ubench/files/patch-aa @@ -0,0 +1,38 @@ +--- configure.orig Mon May 29 04:46:09 2000 ++++ configure Tue Jun 6 16:21:42 2000 +@@ -12,7 +12,8 @@ + ############################################################################### + + #DEFINES=-DDEBUG +-INSTALLDIR= /usr/local/bin ++INSTALLDIR= \$(PREFIX)/bin ++MANDIR= \$(PREFIX)/man/man8 + + ! + +@@ -113,8 +114,8 @@ + ;; + *) + cat <<! >> Makefile +-CC = cc +-CFLAGS = ++CC ?= cc ++CFLAGS += -D${SYSTEM} + LDFLAGS = -lm + INCLUDES = -I. + +@@ -134,11 +135,11 @@ + %.o: %.c + \$(CC) \$(CFLAGS) \$(INCLUDES) -c \$< + +-default: ubench ++all: ubench + + install: ubench +- mv -f \$(INSTALLDIR)/ubench \$(INSTALLDIR)/ubench.old +- install -c -m 0555 ubench \$(INSTALLDIR) ++ \$(BSD_INSTALL_MAN) ubench.8 \$(MANDIR) ++ \$(BSD_INSTALL_PROGRAM) ubench \$(INSTALLDIR) + + utime: \$(utimeobjects) + \$(CC) \$(CFLAGS) \$(LDFLAGS) -o \$@ \$^ diff --git a/benchmarks/ubench/files/patch-ab b/benchmarks/ubench/files/patch-ab new file mode 100644 index 000000000000..2a7a03629b51 --- /dev/null +++ b/benchmarks/ubench/files/patch-ab @@ -0,0 +1,11 @@ +--- cpubench.c.orig Tue Jun 6 14:33:33 2000 ++++ cpubench.c Tue Jun 6 14:34:40 2000 +@@ -41,7 +41,7 @@ + #define sys_errlist _sys_errlist + #endif + +-#ifdef SunOS ++#if defined SunOS || defined FreeBSD + extern sigjmp_buf env; + #else + extern jmp_buf env; diff --git a/benchmarks/ubench/files/patch-ac b/benchmarks/ubench/files/patch-ac new file mode 100644 index 000000000000..f625642fe9cf --- /dev/null +++ b/benchmarks/ubench/files/patch-ac @@ -0,0 +1,11 @@ +--- membench.c.orig Tue Jun 6 14:33:33 2000 ++++ membench.c Tue Jun 6 14:34:29 2000 +@@ -41,7 +41,7 @@ + #define sys_errlist _sys_errlist + #endif + +-#ifdef SunOS ++#if defined SunOS || defined FreeBSD + extern sigjmp_buf env; + #else + extern jmp_buf env; diff --git a/benchmarks/ubench/files/patch-ad b/benchmarks/ubench/files/patch-ad new file mode 100644 index 000000000000..bc6ef63c360b --- /dev/null +++ b/benchmarks/ubench/files/patch-ad @@ -0,0 +1,11 @@ +--- signals.c.orig Tue Jun 6 14:33:33 2000 ++++ signals.c Tue Jun 6 14:35:08 2000 +@@ -22,7 +22,7 @@ + #include <signal.h> + #include <setjmp.h> + +-#ifdef SunOS ++#if defined SunOS || defined FreeBSD + sigjmp_buf env; + #else + jmp_buf env; |