Changeset 14347ac
- Timestamp:
- Aug 9, 2019, 5:03:08 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- ef46abb
- Parents:
- bbfd0e0
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
driver/cfa.cc
rbbfd0e0 r14347ac 140 140 141 141 // process command-line arguments 142 143 args[nargs] = "-x"; // turn off language 144 nargs += 1; 145 args[nargs] = "c"; 146 nargs += 1; 142 147 143 148 for ( int i = 1; i < argc; i += 1 ) { … … 303 308 } // for 304 309 305 args[nargs] = "-x"; // turn off language306 nargs += 1;307 args[nargs] = "none";308 nargs += 1;309 310 310 #ifdef __x86_64__ 311 311 args[nargs] = "-mcx16"; // allow double-wide CAA … … 557 557 if ( ! quiet ) { 558 558 cerr << "CFA " << "Version " << Version << heading << endl; 559 560 559 if ( help ) { 561 560 cerr << -
libcfa/Makefile.in
rbbfd0e0 r14347ac 276 276 LN_S = @LN_S@ 277 277 LOCAL_CFACC = @LOCAL_CFACC@ 278 LOCAL_CFACPP = @LOCAL_CFACPP@279 278 LTLIBOBJS = @LTLIBOBJS@ 280 279 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ -
libcfa/configure
rbbfd0e0 r14347ac 709 709 PRELUDEFLAG 710 710 CFADIR_HASH 711 LOCAL_CFACPP712 711 LOCAL_CFACC 713 712 CFACPP … … 2960 2959 if test x$enable_distcc = xno; then 2961 2960 CFACC=${DRIVER_DIR}cfa 2962 CFACPP=${DRIVER_DIR}cfa-cpp2963 2961 PRELUDEFLAG='-in-tree' 2964 2962 echo "no" … … 2967 2965 CFADIR_HASH=$(openssl dgst -sha256 <<< $path) 2968 2966 CFADIR_HASH="${CFADIR_HASH: -10}" 2969 CFACC="/home/tdelisle/workspace/master-cforall/main/tools/build/distcc ~/.cfadistcc/${CFADIR_HASH}/g++" 2970 CFACPP="/home/tdelisle/workspace/master-cforall/main/tools/build/distcc ~/.cfadistcc/${CFADIR_HASH}/cfa-cpp" 2967 CFACC="distcc ~/.cfadistcc/${CFADIR_HASH}/cfa" 2971 2968 PRELUDEFLAG='-dist-tree' 2972 2969 echo "yes (hash=${CFADIR_HASH})" 2973 2970 fi 2971 CFACPP=${DRIVER_DIR}cfa-cpp 2974 2972 LOCAL_CFACC=${DRIVER_DIR}cfa 2975 LOCAL_CFACPP=${DRIVER_DIR}cfa-cpp2976 2973 2977 2974 if test x$enable_distcc = xyes; then … … 2982 2979 ENABLE_DISTCC_FALSE= 2983 2980 fi 2984 2985 2981 2986 2982 -
libcfa/configure.ac
rbbfd0e0 r14347ac 34 34 if test x$enable_distcc = xno; then 35 35 CFACC=${DRIVER_DIR}cfa 36 CFACPP=${DRIVER_DIR}cfa-cpp37 36 PRELUDEFLAG='-in-tree' 38 37 echo "no" … … 41 40 CFADIR_HASH=$(openssl dgst -sha256 <<< $path) 42 41 CFADIR_HASH="${CFADIR_HASH: -10}" 43 CFACC="/home/tdelisle/workspace/master-cforall/main/tools/build/distcc ~/.cfadistcc/${CFADIR_HASH}/g++" 44 CFACPP="/home/tdelisle/workspace/master-cforall/main/tools/build/distcc ~/.cfadistcc/${CFADIR_HASH}/cfa-cpp" 42 CFACC="distcc ~/.cfadistcc/${CFADIR_HASH}/cfa" 45 43 PRELUDEFLAG='-dist-tree' 46 44 echo "yes (hash=${CFADIR_HASH})" 47 45 fi 46 CFACPP=${DRIVER_DIR}cfa-cpp 48 47 LOCAL_CFACC=${DRIVER_DIR}cfa 49 LOCAL_CFACPP=${DRIVER_DIR}cfa-cpp50 48 51 49 AM_CONDITIONAL([ENABLE_DISTCC], [test x$enable_distcc = xyes]) … … 54 52 AC_SUBST(CFACPP) 55 53 AC_SUBST(LOCAL_CFACC) 56 AC_SUBST(LOCAL_CFACPP)57 54 AC_SUBST(CFADIR_HASH) 58 55 AC_SUBST(CFA_VERSION) -
libcfa/prelude/Makefile.am
rbbfd0e0 r14347ac 60 60 include $(DEPDIR)/builtins.Po 61 61 62 bootloader.c : ${srcdir}/bootloader.cf prelude.cfa extras.cf gcc-builtins.cf builtins.cf @ LOCAL_CFACPP@63 ${AM_V_GEN}@ LOCAL_CFACPP@ --prelude-dir=${builddir} -tpm ${srcdir}/bootloader.cf $@ # use src/cfa-cpp as not in lib until after install62 bootloader.c : ${srcdir}/bootloader.cf prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACPP@ 63 ${AM_V_GEN}@CFACPP@ --prelude-dir=${builddir} -tpm ${srcdir}/bootloader.cf $@ # use src/cfa-cpp as not in lib until after install 64 64 65 65 maintainer-clean-local : … … 70 70 71 71 if ENABLE_DISTCC 72 distribution: @LOCAL_CFACC@ @ LOCAL_CFACPP@ gcc-builtins.cf builtins.cf extras.cf prelude.cfa bootloader.c $(srcdir)/../../tools/build/push2dist.sh72 distribution: @LOCAL_CFACC@ @CFACPP@ gcc-builtins.cf builtins.cf extras.cf prelude.cfa bootloader.c $(srcdir)/../../tools/build/push2dist.sh 73 73 ${AM_V_GEN}$(srcdir)/../../tools/build/push2dist.sh @CFADIR_HASH@ 74 74 echo "Dummy file to track distribution to remote hosts" > ${@} -
libcfa/prelude/Makefile.in
rbbfd0e0 r14347ac 219 219 LN_S = @LN_S@ 220 220 LOCAL_CFACC = @LOCAL_CFACC@ 221 LOCAL_CFACPP = @LOCAL_CFACPP@222 221 LTLIBOBJS = @LTLIBOBJS@ 223 222 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ … … 565 564 include $(DEPDIR)/builtins.Po 566 565 567 bootloader.c : ${srcdir}/bootloader.cf prelude.cfa extras.cf gcc-builtins.cf builtins.cf @ LOCAL_CFACPP@568 ${AM_V_GEN}@ LOCAL_CFACPP@ --prelude-dir=${builddir} -tpm ${srcdir}/bootloader.cf $@ # use src/cfa-cpp as not in lib until after install566 bootloader.c : ${srcdir}/bootloader.cf prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACPP@ 567 ${AM_V_GEN}@CFACPP@ --prelude-dir=${builddir} -tpm ${srcdir}/bootloader.cf $@ # use src/cfa-cpp as not in lib until after install 569 568 570 569 maintainer-clean-local : 571 570 rm -rf $(DEPDIR) 572 571 573 @ENABLE_DISTCC_TRUE@distribution: @LOCAL_CFACC@ @ LOCAL_CFACPP@ gcc-builtins.cf builtins.cf extras.cf prelude.cfa bootloader.c $(srcdir)/../../tools/build/push2dist.sh572 @ENABLE_DISTCC_TRUE@distribution: @LOCAL_CFACC@ @CFACPP@ gcc-builtins.cf builtins.cf extras.cf prelude.cfa bootloader.c $(srcdir)/../../tools/build/push2dist.sh 574 573 @ENABLE_DISTCC_TRUE@ ${AM_V_GEN}$(srcdir)/../../tools/build/push2dist.sh @CFADIR_HASH@ 575 574 @ENABLE_DISTCC_TRUE@ echo "Dummy file to track distribution to remote hosts" > ${@} -
libcfa/src/Makefile.am
rbbfd0e0 r14347ac 30 30 # use -no-include-stdhdr to prevent rebuild cycles 31 31 # The built sources must not depend on the installed headers 32 AM_CFAFLAGS = - v@PRELUDEFLAG@ -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@32 AM_CFAFLAGS = -quiet @PRELUDEFLAG@ -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@ 33 33 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC @ARCH_FLAGS@ @CONFIG_CFLAGS@ 34 34 AM_CCASFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@ … … 62 62 # add dependency of cfa files 63 63 libobjs = $(addsuffix .lo, $(basename $(filter %.cfa,$(libsrc)))) 64 $(libobjs) : @LOCAL_CFACC@ @ LOCAL_CFACPP@ prelude.cfa64 $(libobjs) : @LOCAL_CFACC@ @CFACPP@ prelude.cfa 65 65 66 66 thread_libobjs = $(addsuffix .lo, $(basename $(filter %.cfa,$(thread_libsrc)))) 67 $(thread_libobjs) : @LOCAL_CFACC@ @ LOCAL_CFACPP@ prelude.cfa67 $(thread_libobjs) : @LOCAL_CFACC@ @CFACPP@ prelude.cfa 68 68 69 69 … … 84 84 85 85 86 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @ LOCAL_CFACPP@86 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @CFACPP@ 87 87 ${AM_V_GEN}$(CFACOMPILE) -quiet @PRELUDEFLAG@ -XCFA -l ${<} -c -o ${@} 88 88 89 prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @ LOCAL_CFACPP@89 prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @CFACPP@ 90 90 ${AM_V_GEN}$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile \ 91 91 $(CFACOMPILE) -quiet @PRELUDEFLAG@ -XCFA -l ${<} -c -o ${@} -
libcfa/src/Makefile.in
rbbfd0e0 r14347ac 329 329 LN_S = @LN_S@ 330 330 LOCAL_CFACC = @LOCAL_CFACC@ 331 LOCAL_CFACPP = @LOCAL_CFACPP@332 331 LTLIBOBJS = @LTLIBOBJS@ 333 332 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ … … 444 443 # use -no-include-stdhdr to prevent rebuild cycles 445 444 # The built sources must not depend on the installed headers 446 AM_CFAFLAGS = - v@PRELUDEFLAG@ -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@445 AM_CFAFLAGS = -quiet @PRELUDEFLAG@ -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@ 447 446 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC @ARCH_FLAGS@ @CONFIG_CFLAGS@ 448 447 AM_CCASFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@ … … 940 939 $(LTCFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 941 940 $(am__mv) $$depbase.Tpo $$depbase.Plo 942 $(libobjs) : @LOCAL_CFACC@ @ LOCAL_CFACPP@ prelude.cfa943 $(thread_libobjs) : @LOCAL_CFACC@ @ LOCAL_CFACPP@ prelude.cfa941 $(libobjs) : @LOCAL_CFACC@ @CFACPP@ prelude.cfa 942 $(thread_libobjs) : @LOCAL_CFACC@ @CFACPP@ prelude.cfa 944 943 945 944 -include $(libdeps) … … 947 946 -include $(thread_libdeps) 948 947 949 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @ LOCAL_CFACPP@948 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @CFACPP@ 950 949 ${AM_V_GEN}$(CFACOMPILE) -quiet @PRELUDEFLAG@ -XCFA -l ${<} -c -o ${@} 951 950 952 prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @ LOCAL_CFACPP@951 prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @CFACPP@ 953 952 ${AM_V_GEN}$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile \ 954 953 $(CFACOMPILE) -quiet @PRELUDEFLAG@ -XCFA -l ${<} -c -o ${@}
Note: See TracChangeset
for help on using the changeset viewer.