Changeset 7c6b262
- Timestamp:
- May 12, 2020, 1:58:59 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 730f4f1
- Parents:
- a7b486b
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
ra7b486b r7c6b262 802 802 with_cfa_name 803 803 enable_distcc 804 with_bwlimit 804 805 with_target_hosts 805 806 enable_gprofiler … … 1481 1482 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1482 1483 --with-cfa-name=NAME NAME too which cfa will be installed 1484 --with-bwlimit=RATE RATE the maximum rate at which rsync will be limited when using distributed builds 1483 1485 --with-target-hosts=HOSTS HOSTS comma seperated list of hosts to build for, format ARCH:debug|nodebug|nolib 1484 1486 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use … … 3198 3200 else 3199 3201 enable_distcc=no 3202 fi 3203 3204 3205 3206 # Check whether --with-bwlimit was given. 3207 if test "${with_bwlimit+set}" = set; then : 3208 withval=$with_bwlimit; 3200 3209 fi 3201 3210 -
configure.ac
ra7b486b r7c6b262 64 64 [ --enable-distcc whether or not to enable distributed compilation], 65 65 enable_distcc=$enableval, enable_distcc=no) 66 67 AC_ARG_WITH(bwlimit, 68 [ --with-bwlimit=RATE RATE the maximum rate at which rsync will be limited when using distributed builds], 69 [], []) 66 70 67 71 AM_CONDITIONAL([ENABLE_DISTCC], [test x$enable_distcc = xyes]) -
libcfa/Makefile.in
ra7b486b r7c6b262 253 253 DEFS = @DEFS@ 254 254 DEPDIR = @DEPDIR@ 255 DIST_BWLIMIT = @DIST_BWLIMIT@ 255 256 DLLTOOL = @DLLTOOL@ 256 257 DRIVER_DIR = @DRIVER_DIR@ -
libcfa/configure
ra7b486b r7c6b262 707 707 CONFIG_CFLAGS 708 708 ARCH_FLAGS 709 DIST_BWLIMIT 709 710 CFADIR_HASH 710 711 LOCAL_CC1 … … 789 790 enable_silent_rules 790 791 enable_distcc 792 with_bwlimit 791 793 with_cfa_name 792 794 enable_static … … 1465 1467 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1466 1468 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1469 --with-bwlimit=RATE RATE the maximum rate at which rsync will be limited when using distributed builds 1467 1470 --with-cfa-name=NAME NAME too which cfa will be installed 1468 1471 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use … … 3047 3050 3048 3051 3052 3053 # Check whether --with-bwlimit was given. 3054 if test "${with_bwlimit+set}" = set; then : 3055 withval=$with_bwlimit; DIST_BWLIMIT=$withval 3056 else 3057 DIST_BWLIMIT=0 3058 fi 3059 3060 3049 3061 echo -n "checking for distributated build... " 3050 3062 if test x$enable_distcc = xno; then … … 3070 3082 ENABLE_DISTCC_FALSE= 3071 3083 fi 3084 3072 3085 3073 3086 -
libcfa/configure.ac
ra7b486b r7c6b262 31 31 enable_distcc=$enableval, enable_distcc=no) 32 32 33 AC_ARG_WITH(bwlimit, 34 [ --with-bwlimit=RATE RATE the maximum rate at which rsync will be limited when using distributed builds], 35 DIST_BWLIMIT=$withval, DIST_BWLIMIT=0) 36 33 37 echo -n "checking for distributated build... " 34 38 if test x$enable_distcc = xno; then … … 55 59 AC_SUBST(CFADIR_HASH) 56 60 AC_SUBST(CFA_VERSION) 61 AC_SUBST(DIST_BWLIMIT) 57 62 58 63 #============================================================================== -
libcfa/prelude/Makefile.am
ra7b486b r7c6b262 72 72 if ENABLE_DISTCC 73 73 distribution: @LOCAL_CFACC@ @LOCAL_CC1@ @CFACPP@ gcc-builtins.cf builtins.cf extras.cf prelude.cfa bootloader.c $(srcdir)/../../tools/build/push2dist.sh 74 ${AM_V_GEN}$(srcdir)/../../tools/build/push2dist.sh @CFADIR_HASH@ 74 ${AM_V_GEN}$(srcdir)/../../tools/build/push2dist.sh @CFADIR_HASH@ @DIST_BWLIMIT@ 75 75 @echo "Dummy file to track distribution to remote hosts" > ${@} 76 76 -
libcfa/prelude/Makefile.in
ra7b486b r7c6b262 215 215 DEFS = @DEFS@ 216 216 DEPDIR = @DEPDIR@ 217 DIST_BWLIMIT = @DIST_BWLIMIT@ 217 218 DLLTOOL = @DLLTOOL@ 218 219 DRIVER_DIR = @DRIVER_DIR@ … … 655 656 656 657 @ENABLE_DISTCC_TRUE@distribution: @LOCAL_CFACC@ @LOCAL_CC1@ @CFACPP@ gcc-builtins.cf builtins.cf extras.cf prelude.cfa bootloader.c $(srcdir)/../../tools/build/push2dist.sh 657 @ENABLE_DISTCC_TRUE@ ${AM_V_GEN}$(srcdir)/../../tools/build/push2dist.sh @CFADIR_HASH@ 658 @ENABLE_DISTCC_TRUE@ ${AM_V_GEN}$(srcdir)/../../tools/build/push2dist.sh @CFADIR_HASH@ @DIST_BWLIMIT@ 658 659 @ENABLE_DISTCC_TRUE@ @echo "Dummy file to track distribution to remote hosts" > ${@} 659 660 -
libcfa/src/Makefile.in
ra7b486b r7c6b262 307 307 DEFS = @DEFS@ 308 308 DEPDIR = @DEPDIR@ 309 DIST_BWLIMIT = @DIST_BWLIMIT@ 309 310 DLLTOOL = @DLLTOOL@ 310 311 DRIVER_DIR = @DRIVER_DIR@ -
tools/build/push2dist.sh
ra7b486b r7c6b262 2 2 3 3 hash="$1" 4 bwlim="$2" 4 5 valid=$(distcc -j 2> /dev/null) 5 6 # if test "${valid}" != 0 … … 24 25 function push() { 25 26 ssh ${host} "mkdir -p ~/.cfadistcc/${hash}/" 26 rsync - a ${dV} ${files} ${host}:~/.cfadistcc/${hash}/.27 rsync --bwlimit=${bwlim} -a ${dV} ${files} ${host}:~/.cfadistcc/${hash}/. 27 28 } 28 29
Note: See TracChangeset
for help on using the changeset viewer.