Rev'd to 5.1.3 to add fix for parallel job compilation.

This commit is contained in:
kdlucas 2011-01-14 17:30:40 +00:00
parent f53eadaa3e
commit 7df8999264
3 changed files with 23 additions and 9 deletions

View File

@ -1,5 +1,5 @@
##############################################################################
# UnixBench v5.1.1
# UnixBench v5.1.3
# Based on The BYTE UNIX Benchmarks - Release 3
# Module: Makefile SID: 3.9 5/15/91 19:30:15
#
@ -30,6 +30,7 @@
# 09/26/07 changes for UnixBench 5.0
# 09/30/07 adding ubgears, GRAPHIC_TESTS switch
# 10/14/07 adding large.txt
# 01/13/11 added support for parallel compilation
##############################################################################
##############################################################################
@ -43,7 +44,7 @@ SHELL = /bin/sh
# X11 libraries on your system.
#
# Comment the line out to disable these tests.
GRAPHIC_TESTS = defined
# GRAPHIC_TESTS = defined
# Set "GL_LIBS" to the libraries needed to link a GL program.
GL_LIBS = -lGL -lXext -lX11
@ -228,10 +229,10 @@ $(PROGDIR)/dhry2: $(SRCDIR)/dhry_1.c $(SRCDIR)/dhry_2.c $(SRCDIR)/dhry.h
$(CC) -o $(PROGDIR)/dhry2 ${CFLAGS} ${OPTON} $(SRCDIR)/dhry_1.o $(SRCDIR)/dhry_2.o
cd $(SRCDIR); rm -f dhry_1.o dhry_2.o
$(PROGDIR)/dhry2reg: $(SRCDIR)/dhry_1.c $(SRCDIR)/dhry_2.c $(SRCDIR)/dhry.h
cd $(SRCDIR); $(CC) -c ${CFLAGS} -DREG=register -DHZ=${HZ} ${OPTON} dhry_1.c
cd $(SRCDIR); $(CC) -c ${CFLAGS} -DREG=register -DHZ=${HZ} ${OPTON} dhry_2.c
$(CC) -o $(PROGDIR)/dhry2reg ${CFLAGS} ${OPTON} $(SRCDIR)/dhry_1.o $(SRCDIR)/dhry_2.o
cd $(SRCDIR); rm -f dhry_1.o dhry_2.o
cd $(SRCDIR); $(CC) -c ${CFLAGS} -DREG=register -DHZ=${HZ} ${OPTON} dhry_1.c -o dhry_1_reg.o
cd $(SRCDIR); $(CC) -c ${CFLAGS} -DREG=register -DHZ=${HZ} ${OPTON} dhry_2.c -o dhry_2_reg.o
$(CC) -o $(PROGDIR)/dhry2reg ${CFLAGS} ${OPTON} $(SRCDIR)/dhry_1_reg.o $(SRCDIR)/dhry_2_reg.o
cd $(SRCDIR); rm -f dhry_1_reg.o dhry_2_reg.o
$(PROGDIR)/looper: $(SRCDIR)/looper.c
$(CC) -o $(PROGDIR)/looper ${CFLAGS} ${OPTON} $(SRCDIR)/looper.c

View File

@ -1,4 +1,4 @@
Version 5.1.2 -- 2007-12-26
Version 5.1.3 -- 2011-01-13
================================================================
To use Unixbench:
@ -27,6 +27,18 @@ For information on adding tests into the benchmark, see "WRITING_TESTS".
===================== RELEASE NOTES =====================================
======================== Jan 13 ==========================
v5.1.3
Fixed issue that would cause a race condition if you attempted to compile in
parallel with more than 3 parallel jobs.
Kelly Lucas, Jan 13, 2011
kdlucas at gmail period com
======================== Dec 07 ==========================
v5.1.2

View File

@ -8,7 +8,7 @@ use IO::Handle;
############################################################################
# UnixBench - Release 5.1.1, based on:
# UnixBench - Release 5.1.3, based on:
# The BYTE UNIX Benchmarks - Release 3
# Module: Run SID: 3.11 5/15/91 19:30:14
# Original Byte benchmarks written by:
@ -55,6 +55,7 @@ use IO::Handle;
# 2007.10.12 IS Added graphics tests, categories feature.
# 2007.10.14 IS Set and report LANG. Added "grep" and "sysexec".
# 2007.12.22 IS Tiny fixes; see README.
# 2011.01.13 KDL Fix for parallel compilation.
############################################################################
@ -62,7 +63,7 @@ use IO::Handle;
############################################################################
# Version number of the script.
my $version = "5.1.2";
my $version = "5.1.3";
# The setting of LANG makes a huge difference to some of the scores,
# particularly depending on whether UTF-8 is used. So we always set