Changeset 95d0a5db
- Timestamp:
- Dec 13, 2018, 4:22:08 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 93fe3154
- Parents:
- 0765121
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
r0765121 r95d0a5db 16 16 17 17 AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names 18 BACKEND_CC = @BACKEND_CC@ # C compiler used to compile Cforall programs, versus C++ compiler used to build cfa command19 18 20 19 MAINTAINERCLEANFILES = lib/* bin/* tests/.deps/* tests/.out/* -
Makefile.in
r0765121 r95d0a5db 252 252 AUTOMAKE = @AUTOMAKE@ 253 253 AWK = @AWK@ 254 BACKEND_CC = @BACKEND_CC@ # C compiler used to compile Cforall programs, versus C++ compiler used to build cfa command255 254 BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@ 256 255 CC = @CC@ -
benchmark/Makefile.in
r0765121 r95d0a5db 188 188 AUTOMAKE = @AUTOMAKE@ 189 189 AWK = @AWK@ 190 BACKEND_CC = @BACKEND_CC@191 190 BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@ 192 191 CC = @CC@ -
configure
r0765121 r95d0a5db 626 626 LTLIBOBJS 627 627 LIBOBJS 628 CFA_BACKEND_CC 628 629 ALLOCA 629 630 EGREP … … 687 688 CFA_INCDIR 688 689 CFA_PREFIX 689 CFA_BACKEND_CC690 BACKEND_CC691 690 DOendif 692 691 DOifskipcompile … … 763 762 enable_silent_rules 764 763 with_cfa_name 765 with_backend_compiler766 764 with_target_hosts 767 765 enable_dependency_tracking … … 1423 1421 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1424 1422 --with-cfa-name=NAME NAME too which cfa will be installed 1425 --with-backend-compiler=PROGRAM PROGRAM that performs the final code compilation (must be gcc-compatible)1426 1423 --with-target-hosts=HOSTS HOSTS comma seperated list of hosts to build for, format ARCH:debug|nodebug|nolib 1427 1424 … … 3166 3163 3167 3164 #============================================================================== 3168 # backend compiler implementation3169 3170 # Check whether --with-backend-compiler was given.3171 if test "${with_backend_compiler+set}" = set; then :3172 withval=$with_backend_compiler; backendcompiler=$withval3173 else3174 backendcompiler=""3175 fi3176 3177 if test "x$backendcompiler" != "x"; then3178 BACKEND_CC=${backendcompiler}3179 else3180 # Extract the first word of "gcc", so it can be a program name with args.3181 set dummy gcc; ac_word=$23182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53183 $as_echo_n "checking for $ac_word... " >&6; }3184 if ${ac_cv_path_BACKEND_CC+:} false; then :3185 $as_echo_n "(cached) " >&63186 else3187 case $BACKEND_CC in3188 [\\/]* | ?:[\\/]*)3189 ac_cv_path_BACKEND_CC="$BACKEND_CC" # Let the user override the test with a path.3190 ;;3191 *)3192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3193 for as_dir in $PATH3194 do3195 IFS=$as_save_IFS3196 test -z "$as_dir" && as_dir=.3197 for ac_exec_ext in '' $ac_executable_extensions; do3198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3199 ac_cv_path_BACKEND_CC="$as_dir/$ac_word$ac_exec_ext"3200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53201 break 23202 fi3203 done3204 done3205 IFS=$as_save_IFS3206 3207 ;;3208 esac3209 fi3210 BACKEND_CC=$ac_cv_path_BACKEND_CC3211 if test -n "$BACKEND_CC"; then3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKEND_CC" >&53213 $as_echo "$BACKEND_CC" >&6; }3214 else3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53216 $as_echo "no" >&6; }3217 fi3218 3219 # check gcc installed3220 if test "x$BACKEND_CC" = "x"; then3221 as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 53222 exit 13223 fi3224 fi3225 3226 cat >>confdefs.h <<_ACEOF3227 #define CFA_BACKEND_CC "${BACKEND_CC}"3228 _ACEOF3229 3230 3231 3232 #==============================================================================3233 3165 # Installation paths 3234 3166 … … 6381 6313 fi 6382 6314 done 6315 6316 6317 #============================================================================== 6318 # backend compiler implementation 6319 6320 cat >>confdefs.h <<_ACEOF 6321 #define CFA_BACKEND_CC "${CC}" 6322 _ACEOF 6323 6383 6324 6384 6325 -
configure.ac
r0765121 r95d0a5db 55 55 AC_SUBST([DOendif]) 56 56 AM_SUBST_NOTMAKE([DOendif]) 57 58 #==============================================================================59 # backend compiler implementation60 AC_ARG_WITH(backend-compiler,61 [ --with-backend-compiler=PROGRAM PROGRAM that performs the final code compilation (must be gcc-compatible) ],62 backendcompiler=$withval, backendcompiler="")63 if test "x$backendcompiler" != "x"; then64 BACKEND_CC=${backendcompiler}65 else66 AC_PATH_PROG(BACKEND_CC, gcc, []) # check gcc installed67 if test "x$BACKEND_CC" = "x"; then68 AC_MSG_ERROR(some version of gcc is needed. Get it at ftp://ftp.gnu.org)69 exit 170 fi71 fi72 AC_DEFINE_UNQUOTED(CFA_BACKEND_CC, "${BACKEND_CC}", [Location of include files.])73 AC_SUBST(CFA_BACKEND_CC)74 57 75 58 #============================================================================== … … 228 211 229 212 #============================================================================== 213 # backend compiler implementation 214 AC_DEFINE_UNQUOTED(CFA_BACKEND_CC, "${CC}", [Backend compiler to use.]) 215 AC_SUBST(CFA_BACKEND_CC) 216 217 #============================================================================== 230 218 AC_CONFIG_FILES([ 231 219 Makefile -
driver/Makefile.in
r0765121 r95d0a5db 181 181 AUTOMAKE = @AUTOMAKE@ 182 182 AWK = @AWK@ 183 BACKEND_CC = @BACKEND_CC@184 183 BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@ 185 184 CC = @CC@ -
libcfa/configure
r0765121 r95d0a5db 2970 2970 CONFIG_CFAFLAGS="-nodebug" 2971 2971 CONFIG_BUILDLIB="no" 2972 ;; 2973 *) 2974 as_fn_error $? "'Invalid value $CONFIGURATION for \$CONFIGURATION'" "$LINENO" 5 2972 2975 ;; 2973 2976 esac -
libcfa/src/Makefile.in
r0765121 r95d0a5db 922 922 $(libobjs) : @CFACC@ @CFACPP@ prelude.cfa 923 923 924 include $(libdeps) 925 926 $(libdeps): 927 @mkdir -p $(dir $@) 928 @echo '#dummy' > $@ 924 -include $(libdeps) 929 925 930 926 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@ -
src/Makefile.in
r0765121 r95d0a5db 395 395 AUTOMAKE = @AUTOMAKE@ 396 396 AWK = @AWK@ 397 BACKEND_CC = @BACKEND_CC@398 397 BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@ 399 398 CC = @CC@ -
tests/Makefile.in
r0765121 r95d0a5db 176 176 AUTOMAKE = @AUTOMAKE@ 177 177 AWK = @AWK@ 178 BACKEND_CC = @BACKEND_CC@179 178 BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@ 180 179 CC = @CFACC@ -
tests/preempt_longrun/Makefile.in
r0765121 r95d0a5db 337 337 AUTOMAKE = @AUTOMAKE@ 338 338 AWK = @AWK@ 339 BACKEND_CC = @BACKEND_CC@340 339 BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@ 341 340 CC = @CFACC@ -
tools/Makefile.am
r0765121 r95d0a5db 17 17 AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names 18 18 19 CC = @BACKEND_CC@20 19 AM_CFLAGS = -Wall -Wextra -O2 -g 21 20 -
tools/Makefile.in
r0765121 r95d0a5db 186 186 AUTOMAKE = @AUTOMAKE@ 187 187 AWK = @AWK@ 188 BACKEND_CC = @BACKEND_CC@189 188 BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@ 190 CC = @ BACKEND_CC@189 CC = @CC@ 191 190 CCAS = @CCAS@ 192 191 CCASDEPMODE = @CCASDEPMODE@ -
tools/prettyprinter/Makefile.in
r0765121 r95d0a5db 210 210 AUTOMAKE = @AUTOMAKE@ 211 211 AWK = @AWK@ 212 BACKEND_CC = @BACKEND_CC@213 212 BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@ 214 213 CC = @CC@
Note: See TracChangeset
for help on using the changeset viewer.