diff options
author | John Criswell <criswell@uiuc.edu> | 2003-10-07 21:57:39 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2003-10-07 21:57:39 +0000 |
commit | 5512659f3669ccb1a434843be7a0bda89a547c91 (patch) | |
tree | ae4794708999e8bd5d8e8bdd7d33a14d1284556e /autoconf | |
parent | 47ad72ca5f97a340d194197f3feefd0cd07cda5f (diff) | |
download | external_llvm-5512659f3669ccb1a434843be7a0bda89a547c91.zip external_llvm-5512659f3669ccb1a434843be7a0bda89a547c91.tar.gz external_llvm-5512659f3669ccb1a434843be7a0bda89a547c91.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8949 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 2d8070a..3df9b9b 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -521,11 +521,24 @@ else 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 @@ -572,9 +585,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])) |