llvm.org GIT mirror llvm / 5512659
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 John Criswell 16 years ago
2 changed file(s) with 69 addition(s) and 54 deletion(s). Raw diff Collapse all Expand all
520520 fi
521521
522522 dnl Spec Benchmarks
523 AC_ARG_ENABLE(spec,AC_HELP_STRING([--enable-spec],[Compile SPEC benchmarks (default is NO)]),,enableval=no)
523 AC_ARG_ENABLE(spec2000,AC_HELP_STRING([--enable-spec],[Compile SPEC 2000 benchmarks (default is NO)]),,enableval=no)
524524 if test ${enableval} = "no"
525525 then
526 AC_SUBST(USE_SPEC,[[]])
526 if test -d /home/vadve/shared/benchmarks/speccpu2000/benchspec
527 then
528 AC_SUBST(SPEC_ROOT,[/home/vadve/shared/benchmarks/speccpu2000/benchspec])
529 AC_SUBST(USE_SPEC,[[USE_SPEC=1]])
530 else
531 AC_SUBST(USE_SPEC,[[]])
532 AC_SUBST(SPEC_ROOT,[])
533 fi
527534 else
535 if test ${enableval} = ""
536 then
537 AC_SUBST(SPEC_ROOT,[/home/vadve/shared/benchmarks/speccpu2000/benchspec])
538 else
539 AC_SUBST(SPEC_ROOT,[${enableval}])
540 fi
528541 AC_SUBST(USE_SPEC,[[USE_SPEC=1]])
529542 fi
530543
571584 dnl * Set the location of various third-party software packages
572585 dnl **************************************************************************
573586
574 dnl Location of SPEC benchmarks
575 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]))
576
577587 dnl Location of the LLVM C front end
578588 AC_ARG_WITH(llvmgccdir,AC_HELP_STRING([--with-llvmgccdir],[Location of LLVM GCC front-end]),AC_SUBST(LLVMGCCDIR,[$withval]))
579589
465465 #endif"
466466
467467 ac_unique_file=""Makefile.config.in""
468 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 subdirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED USE_SPEC UPB DISABLE_LLC_DIFFS JIT SPEC_ROOT BCR PAPIDIR PURIFY LTLIBOBJS'
468 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 subdirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED SPEC_ROOT USE_SPEC UPB DISABLE_LLC_DIFFS JIT BCR PAPIDIR PURIFY LTLIBOBJS'
469469 ac_subst_files=''
470470
471471 # Initialize some variables set by options.
10321032 --disable-libtool-lock avoid locking (might break parallel builds)
10331033 --enable-purify Compile with purify (default is NO)
10341034 --enable-optimized Compile with optimizations enabled (default is NO)
1035 --enable-spec Compile SPEC benchmarks (default is NO)
1035 --enable-spec Compile SPEC 2000 benchmarks (default is NO)
10361036 --enable-precompiled_bytecode
10371037 Use pre-compiled bytecode (default is NO)
10381038 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
10461046 both]
10471047 --with-tags[=TAGS]
10481048 include additional configurations [automatic]
1049 --with-spec Location of SPEC benchmarks
10501049 --with-llvmgccdir Location of LLVM GCC front-end
10511050 --with-bcrepos Location of Bytecode Repository
10521051 --with-papi Location of PAPI
44224421 ;;
44234422 *-*-irix6*)
44244423 # Find out which ABI we are using.
4425 echo '#line 4426 "configure"' > conftest.$ac_ext
4424 echo '#line 4425 "configure"' > conftest.$ac_ext
44264425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44274426 (eval $ac_compile) 2>&5
44284427 ac_status=$?
52635262
52645263
52655264 # Provide some information about the compiler.
5266 echo "$as_me:5267:" \
5265 echo "$as_me:5266:" \
52675266 "checking for Fortran 77 compiler version" >&5
52685267 ac_compiler=`set X $ac_compile; echo $2`
52695268 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5
62726271 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
62736272 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
62746273 -e 's:$: $lt_compiler_flag:'`
6275 (eval echo "\"\$as_me:6276: $lt_compile\"" >&5)
6274 (eval echo "\"\$as_me:6275: $lt_compile\"" >&5)
62766275 (eval "$lt_compile" 2>conftest.err)
62776276 ac_status=$?
62786277 cat conftest.err >&5
6279 echo "$as_me:6280: \$? = $ac_status" >&5
6278 echo "$as_me:6279: \$? = $ac_status" >&5
62806279 if (exit $ac_status) && test -s "$ac_outfile"; then
62816280 # The compiler can only warn and ignore the option if not recognized
62826281 # So say no if there are warnings
65046503 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
65056504 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
65066505 -e 's:$: $lt_compiler_flag:'`
6507 (eval echo "\"\$as_me:6508: $lt_compile\"" >&5)
6506 (eval echo "\"\$as_me:6507: $lt_compile\"" >&5)
65086507 (eval "$lt_compile" 2>conftest.err)
65096508 ac_status=$?
65106509 cat conftest.err >&5
6511 echo "$as_me:6512: \$? = $ac_status" >&5
6510 echo "$as_me:6511: \$? = $ac_status" >&5
65126511 if (exit $ac_status) && test -s "$ac_outfile"; then
65136512 # The compiler can only warn and ignore the option if not recognized
65146513 # So say no if there are warnings
65716570 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
65726571 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
65736572 -e 's:$: $lt_compiler_flag:'`
6574 (eval echo "\"\$as_me:6575: $lt_compile\"" >&5)
6573 (eval echo "\"\$as_me:6574: $lt_compile\"" >&5)
65756574 (eval "$lt_compile" 2>out/conftest.err)
65766575 ac_status=$?
65776576 cat out/conftest.err >&5
6578 echo "$as_me:6579: \$? = $ac_status" >&5
6577 echo "$as_me:6578: \$? = $ac_status" >&5
65796578 if (exit $ac_status) && test -s out/conftest2.$ac_objext
65806579 then
65816580 # The compiler can only warn and ignore the option if not recognized
85838582 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
85848583 lt_status=$lt_dlunknown
85858584 cat > conftest.$ac_ext <
8586 #line 8587 "configure"
8585 #line 8586 "configure"
85878586 #include "confdefs.h"
85888587
85898588 #if HAVE_DLFCN_H
86818680 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
86828681 lt_status=$lt_dlunknown
86838682 cat > conftest.$ac_ext <
8684 #line 8685 "configure"
8683 #line 8684 "configure"
86858684 #include "confdefs.h"
86868685
86878686 #if HAVE_DLFCN_H
1081710816 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1081810817 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1081910818 -e 's:$: $lt_compiler_flag:'`
10820 (eval echo "\"\$as_me:10821: $lt_compile\"" >&5)
10819 (eval echo "\"\$as_me:10820: $lt_compile\"" >&5)
1082110820 (eval "$lt_compile" 2>conftest.err)
1082210821 ac_status=$?
1082310822 cat conftest.err >&5
10824 echo "$as_me:10825: \$? = $ac_status" >&5
10823 echo "$as_me:10824: \$? = $ac_status" >&5
1082510824 if (exit $ac_status) && test -s "$ac_outfile"; then
1082610825 # The compiler can only warn and ignore the option if not recognized
1082710826 # So say no if there are warnings
1088410883 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1088510884 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1088610885 -e 's:$: $lt_compiler_flag:'`
10887 (eval echo "\"\$as_me:10888: $lt_compile\"" >&5)
10886 (eval echo "\"\$as_me:10887: $lt_compile\"" >&5)
1088810887 (eval "$lt_compile" 2>out/conftest.err)
1088910888 ac_status=$?
1089010889 cat out/conftest.err >&5
10891 echo "$as_me:10892: \$? = $ac_status" >&5
10890 echo "$as_me:10891: \$? = $ac_status" >&5
1089210891 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1089310892 then
1089410893 # The compiler can only warn and ignore the option if not recognized
1212712126 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1212812127 lt_status=$lt_dlunknown
1212912128 cat > conftest.$ac_ext <
12130 #line 12131 "configure"
12129 #line 12130 "configure"
1213112130 #include "confdefs.h"
1213212131
1213312132 #if HAVE_DLFCN_H
1222512224 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1222612225 lt_status=$lt_dlunknown
1222712226 cat > conftest.$ac_ext <
12228 #line 12229 "configure"
12227 #line 12228 "configure"
1222912228 #include "confdefs.h"
1223012229
1223112230 #if HAVE_DLFCN_H
1304713046 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1304813047 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1304913048 -e 's:$: $lt_compiler_flag:'`
13050 (eval echo "\"\$as_me:13051: $lt_compile\"" >&5)
13049 (eval echo "\"\$as_me:13050: $lt_compile\"" >&5)
1305113050 (eval "$lt_compile" 2>conftest.err)
1305213051 ac_status=$?
1305313052 cat conftest.err >&5
13054 echo "$as_me:13055: \$? = $ac_status" >&5
13053 echo "$as_me:13054: \$? = $ac_status" >&5
1305513054 if (exit $ac_status) && test -s "$ac_outfile"; then
1305613055 # The compiler can only warn and ignore the option if not recognized
1305713056 # So say no if there are warnings
1311413113 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1311513114 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1311613115 -e 's:$: $lt_compiler_flag:'`
13117 (eval echo "\"\$as_me:13118: $lt_compile\"" >&5)
13116 (eval echo "\"\$as_me:13117: $lt_compile\"" >&5)
1311813117 (eval "$lt_compile" 2>out/conftest.err)
1311913118 ac_status=$?
1312013119 cat out/conftest.err >&5
13121 echo "$as_me:13122: \$? = $ac_status" >&5
13120 echo "$as_me:13121: \$? = $ac_status" >&5
1312213121 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1312313122 then
1312413123 # The compiler can only warn and ignore the option if not recognized
1505815057 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1505915058 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1506015059 -e 's:$: $lt_compiler_flag:'`
15061 (eval echo "\"\$as_me:15062: $lt_compile\"" >&5)
15060 (eval echo "\"\$as_me:15061: $lt_compile\"" >&5)
1506215061 (eval "$lt_compile" 2>conftest.err)
1506315062 ac_status=$?
1506415063 cat conftest.err >&5
15065 echo "$as_me:15066: \$? = $ac_status" >&5
15064 echo "$as_me:15065: \$? = $ac_status" >&5
1506615065 if (exit $ac_status) && test -s "$ac_outfile"; then
1506715066 # The compiler can only warn and ignore the option if not recognized
1506815067 # So say no if there are warnings
1529015289 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1529115290 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1529215291 -e 's:$: $lt_compiler_flag:'`
15293 (eval echo "\"\$as_me:15294: $lt_compile\"" >&5)
15292 (eval echo "\"\$as_me:15293: $lt_compile\"" >&5)
1529415293 (eval "$lt_compile" 2>conftest.err)
1529515294 ac_status=$?
1529615295 cat conftest.err >&5
15297 echo "$as_me:15298: \$? = $ac_status" >&5
15296 echo "$as_me:15297: \$? = $ac_status" >&5
1529815297 if (exit $ac_status) && test -s "$ac_outfile"; then
1529915298 # The compiler can only warn and ignore the option if not recognized
1530015299 # So say no if there are warnings
1535715356 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1535815357 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1535915358 -e 's:$: $lt_compiler_flag:'`
15360 (eval echo "\"\$as_me:15361: $lt_compile\"" >&5)
15359 (eval echo "\"\$as_me:15360: $lt_compile\"" >&5)
1536115360 (eval "$lt_compile" 2>out/conftest.err)
1536215361 ac_status=$?
1536315362 cat out/conftest.err >&5
15364 echo "$as_me:15365: \$? = $ac_status" >&5
15363 echo "$as_me:15364: \$? = $ac_status" >&5
1536515364 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1536615365 then
1536715366 # The compiler can only warn and ignore the option if not recognized
1736917368 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1737017369 lt_status=$lt_dlunknown
1737117370 cat > conftest.$ac_ext <
17372 #line 17373 "configure"
17371 #line 17372 "configure"
1737317372 #include "confdefs.h"
1737417373
1737517374 #if HAVE_DLFCN_H
1746717466 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1746817467 lt_status=$lt_dlunknown
1746917468 cat > conftest.$ac_ext <
17470 #line 17471 "configure"
17469 #line 17470 "configure"
1747117470 #include "confdefs.h"
1747217471
1747317472 #if HAVE_DLFCN_H
2270522704
2270622705 fi
2270722706
22708 # Check whether --enable-spec or --disable-spec was given.
22709 if test "${enable_spec+set}" = set; then
22710 enableval="$enable_spec"
22707 # Check whether --enable-spec2000 or --disable-spec2000 was given.
22708 if test "${enable_spec2000+set}" = set; then
22709 enableval="$enable_spec2000"
2271122710
2271222711 else
2271322712 enableval=no
2271422713 fi;
2271522714 if test ${enableval} = "no"
2271622715 then
22717 USE_SPEC=
22718
22719 else
22716 if test -d /home/vadve/shared/benchmarks/speccpu2000/benchspec
22717 then
22718 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22719
22720 USE_SPEC=USE_SPEC=1
22721
22722 else
22723 USE_SPEC=
22724
22725
22726 fi
22727 else
22728 if test ${enableval} = ""
22729 then
22730 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22731
22732 else
22733 SPEC_ROOT=${enableval}
22734
22735 fi
2272022736 USE_SPEC=USE_SPEC=1
2272122737
2272222738 fi
2278322799 esac
2278422800 fi
2278522801
22786
22787
22788 # Check whether --with-spec or --without-spec was given.
22789 if test "${with_spec+set}" = set; then
22790 withval="$with_spec"
22791 SPEC_ROOT=$withval
22792
22793 else
22794 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22795
22796 fi;
2279722802
2279822803
2279922804 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
2387723882 s,@MMAP_FILE@,$MMAP_FILE,;t t
2387823883 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
2387923884 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23885 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
2388023886 s,@USE_SPEC@,$USE_SPEC,;t t
2388123887 s,@UPB@,$UPB,;t t
2388223888 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
2388323889 s,@JIT@,$JIT,;t t
23884 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
2388523890 s,@BCR@,$BCR,;t t
2388623891 s,@PAPIDIR@,$PAPIDIR,;t t
2388723892 s,@PURIFY@,$PURIFY,;t t