[llvm-commits] CVS: llvm/autoconf/configure.ac
John Criswell
criswell at cs.uiuc.edu
Tue Oct 7 16:58:14 PDT 2003
Changes in directory llvm/autoconf:
configure.ac updated: 1.35 -> 1.36
---
Log message:
Renamed -use-spec to -use-spec2000.
The pathname to SPEC2000 is now given with the -use-spec2000 option.
On our machines, SPEC2000 will be enabled by default.
---
Diffs of the changes: (+15 -5)
Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.35 llvm/autoconf/configure.ac:1.36
--- llvm/autoconf/configure.ac:1.35 Tue Oct 7 16:13:46 2003
+++ llvm/autoconf/configure.ac Tue Oct 7 16:57:39 2003
@@ -521,11 +521,24 @@
fi
dnl Spec Benchmarks
-AC_ARG_ENABLE(spec,AC_HELP_STRING([--enable-spec],[Compile SPEC benchmarks (default is NO)]),,enableval=no)
+AC_ARG_ENABLE(spec2000,AC_HELP_STRING([--enable-spec],[Compile SPEC 2000 benchmarks (default is NO)]),,enableval=no)
if test ${enableval} = "no"
then
- AC_SUBST(USE_SPEC,[[]])
+ if test -d /home/vadve/shared/benchmarks/speccpu2000/benchspec
+ then
+ AC_SUBST(SPEC_ROOT,[/home/vadve/shared/benchmarks/speccpu2000/benchspec])
+ AC_SUBST(USE_SPEC,[[USE_SPEC=1]])
+ else
+ AC_SUBST(USE_SPEC,[[]])
+ AC_SUBST(SPEC_ROOT,[])
+ fi
else
+ if test ${enableval} = ""
+ then
+ AC_SUBST(SPEC_ROOT,[/home/vadve/shared/benchmarks/speccpu2000/benchspec])
+ else
+ AC_SUBST(SPEC_ROOT,[${enableval}])
+ fi
AC_SUBST(USE_SPEC,[[USE_SPEC=1]])
fi
@@ -571,9 +584,6 @@
dnl **************************************************************************
dnl * Set the location of various third-party software packages
dnl **************************************************************************
-
-dnl Location of SPEC benchmarks
-AC_ARG_WITH(spec,AC_HELP_STRING([--with-spec],[Location of SPEC benchmarks]),AC_SUBST(SPEC_ROOT,[$withval]),AC_SUBST(SPEC_ROOT,[/home/vadve/shared/benchmarks/speccpu2000/benchspec]))
dnl Location of the LLVM C front end
AC_ARG_WITH(llvmgccdir,AC_HELP_STRING([--with-llvmgccdir],[Location of LLVM GCC front-end]),AC_SUBST(LLVMGCCDIR,[$withval]))
More information about the llvm-commits
mailing list