aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2005-08-08 21:26:12 +0000
committerJohn Criswell <criswell@uiuc.edu>2005-08-08 21:26:12 +0000
commitc19dffb06a0ba0ac5075573acd683f18d671e721 (patch)
tree96dc6196718fac37b35154473f2c38a0809b0169
parent777b266cfabcf2022fd52625ee9f83c85aad61fd (diff)
Added the configure option for the ALPBench benchmark suite.
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@22713 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Makefile.config.in4
-rw-r--r--autoconf/configure.ac1
-rwxr-xr-xconfigure108
3 files changed, 84 insertions, 29 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index 586d4b79..beda4e60 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -72,6 +72,10 @@ SWEEP3D_ROOT := @SWEEP3D_ROOT@
@USE_FPGROWTH@
FPGROWTH_ROOT := @FPGROWTH_ROOT@
+# Path to the ALP source code
+@USE_ALP@
+ALP_ROOT := @ALP_ROOT@
+
# Disable LLC diffs for testing.
@DISABLE_LLC_DIFFS@
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 4ce51390..ac1b2a62 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -115,6 +115,7 @@ EXTERNAL_BENCHMARK(povray,/home/vadve/shared/benchmarks/povray31)
EXTERNAL_BENCHMARK(namd,/home/vadve/shared/benchmarks/spec_namd)
EXTERNAL_BENCHMARK(sweep3d,/home/vadve/criswell/umt2k)
EXTERNAL_BENCHMARK(fpgrowth,/home/vadve/shared/benchmarks/fpgrowth)
+EXTERNAL_BENCHMARK(alp,/home/vadve/shared/benchmarks/ALP)
dnl Create the output files
AC_OUTPUT
diff --git a/configure b/configure
index feb5b294..13c2c8a8 100755
--- a/configure
+++ b/configure
@@ -465,7 +465,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LLVM_SRC LLVM_OBJ DISABLE_LLC_DIFFS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL USE_F2C F2C F2C_BIN F2C_DIR F2C_INC F2C_LIB USE_F95 F95 F95_BIN F95_DIR F95_INC F95_LIB HAVE_RE_COMP SPEC95_ROOT USE_SPEC95 SPEC2000_ROOT USE_SPEC2000 POVRAY_ROOT USE_POVRAY NAMD_ROOT USE_NAMD SWEEP3D_ROOT USE_SWEEP3D FPGROWTH_ROOT USE_FPGROWTH LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LLVM_SRC LLVM_OBJ DISABLE_LLC_DIFFS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL USE_F2C F2C F2C_BIN F2C_DIR F2C_INC F2C_LIB USE_F95 F95 F95_BIN F95_DIR F95_INC F95_LIB HAVE_RE_COMP SPEC95_ROOT USE_SPEC95 SPEC2000_ROOT USE_SPEC2000 POVRAY_ROOT USE_POVRAY NAMD_ROOT USE_NAMD SWEEP3D_ROOT USE_SWEEP3D FPGROWTH_ROOT USE_FPGROWTH ALP_ROOT USE_ALP LIBOBJS LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
@@ -1036,6 +1036,7 @@ Optional Features:
--enable-namd=ARG Use namd as a benchmark (srcs in DIR)
--enable-sweep3d=ARG Use sweep3d as a benchmark (srcs in DIR)
--enable-fpgrowth=ARG Use fpgrowth as a benchmark (srcs in DIR)
+ --enable-alp=ARG Use alp as a benchmark (srcs in DIR)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -3987,7 +3988,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 3990 "configure"' > conftest.$ac_ext
+ echo '#line 3991 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -4861,7 +4862,7 @@ fi
# Provide some information about the compiler.
-echo "$as_me:4864:" \
+echo "$as_me:4865:" \
"checking for Fortran 77 compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
@@ -5918,11 +5919,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:5921: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:5922: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:5925: \$? = $ac_status" >&5
+ echo "$as_me:5926: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -6161,11 +6162,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6164: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6165: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:6168: \$? = $ac_status" >&5
+ echo "$as_me:6169: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -6221,11 +6222,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6224: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6225: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:6228: \$? = $ac_status" >&5
+ echo "$as_me:6229: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -8406,7 +8407,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 8409 "configure"
+#line 8410 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -8504,7 +8505,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 8507 "configure"
+#line 8508 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10697,11 +10698,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:10700: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:10701: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:10704: \$? = $ac_status" >&5
+ echo "$as_me:10705: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -10757,11 +10758,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:10760: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:10761: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:10764: \$? = $ac_status" >&5
+ echo "$as_me:10765: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -12118,7 +12119,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 12121 "configure"
+#line 12122 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12216,7 +12217,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 12219 "configure"
+#line 12220 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13053,11 +13054,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13056: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13057: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:13060: \$? = $ac_status" >&5
+ echo "$as_me:13061: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -13113,11 +13114,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13116: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13117: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:13120: \$? = $ac_status" >&5
+ echo "$as_me:13121: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -15152,11 +15153,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15155: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15156: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:15159: \$? = $ac_status" >&5
+ echo "$as_me:15160: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -15395,11 +15396,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15398: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15399: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:15402: \$? = $ac_status" >&5
+ echo "$as_me:15403: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -15455,11 +15456,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15458: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15459: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:15462: \$? = $ac_status" >&5
+ echo "$as_me:15463: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -17640,7 +17641,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 17643 "configure"
+#line 17644 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -17738,7 +17739,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 17741 "configure"
+#line 17742 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -19997,6 +19998,53 @@ echo "${ECHO_T}$checkresult" >&6
+ # Check whether --enable-alp or --disable-alp was given.
+if test "${enable_alp+set}" = set; then
+ enableval="$enable_alp"
+ checkresult=$enableval
+else
+ checkresult=auto
+fi;
+echo "$as_me:$LINENO: checking for alp benchmark sources" >&5
+echo $ECHO_N "checking for alp benchmark sources... $ECHO_C" >&6
+case "$checkresult" in
+auto|yes)
+ defaultdir=/home/vadve/shared/benchmarks/ALP
+ if test -d "$defaultdir"
+ then
+ ALP_ROOT=$defaultdir
+
+ USE_ALP=USE_ALP=1
+
+ checkresult="yes, found in $defaultdir"
+ else
+ checkresult=no
+ fi
+ ;;
+no)
+
+
+ checkresult=no
+ ;;
+*) if test -d "$checkresult"
+ then
+ ALP_ROOT="$checkresult"
+
+ USE_ALP=USE_ALP=1
+
+ checkresult="yes, in $checkresult"
+ else
+
+
+ checkresult="no, not found in $checkresult"
+ fi
+ ;;
+esac
+echo "$as_me:$LINENO: result: $checkresult" >&5
+echo "${ECHO_T}$checkresult" >&6
+
+
+
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
@@ -20744,6 +20792,8 @@ s,@SWEEP3D_ROOT@,$SWEEP3D_ROOT,;t t
s,@USE_SWEEP3D@,$USE_SWEEP3D,;t t
s,@FPGROWTH_ROOT@,$FPGROWTH_ROOT,;t t
s,@USE_FPGROWTH@,$USE_FPGROWTH,;t t
+s,@ALP_ROOT@,$ALP_ROOT,;t t
+s,@USE_ALP@,$USE_ALP,;t t
s,@LIBOBJS@,$LIBOBJS,;t t
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
CEOF