Changeset bbfd0e0 for libcfa/configure.ac
- Timestamp:
- Aug 7, 2019, 3:23:56 PM (6 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:
- 14347ac
- Parents:
- 7e0017f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/configure.ac
r7e0017f5 rbbfd0e0 27 27 AC_ARG_VAR(CFA_VERSION, [The long version of cfa]) 28 28 29 CFACC=${DRIVER_DIR}cfa 30 CFACPP=${DRIVER_DIR}cfa-cpp 29 AC_ARG_ENABLE(distcc, 30 [ --enable-distcc whether or not to enable distributed compilation], 31 enable_distcc=$enableval, enable_distcc=no) 32 33 echo -n "checking for distributated build... " 34 if test x$enable_distcc = xno; then 35 CFACC=${DRIVER_DIR}cfa 36 CFACPP=${DRIVER_DIR}cfa-cpp 37 PRELUDEFLAG='-in-tree' 38 echo "no" 39 else 40 path=$(readlink -f .) 41 CFADIR_HASH=$(openssl dgst -sha256 <<< $path) 42 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" 45 PRELUDEFLAG='-dist-tree' 46 echo "yes (hash=${CFADIR_HASH})" 47 fi 48 LOCAL_CFACC=${DRIVER_DIR}cfa 49 LOCAL_CFACPP=${DRIVER_DIR}cfa-cpp 50 51 AM_CONDITIONAL([ENABLE_DISTCC], [test x$enable_distcc = xyes]) 52 31 53 AC_SUBST(CFACC) 32 54 AC_SUBST(CFACPP) 55 AC_SUBST(LOCAL_CFACC) 56 AC_SUBST(LOCAL_CFACPP) 57 AC_SUBST(CFADIR_HASH) 33 58 AC_SUBST(CFA_VERSION) 59 AC_SUBST(PRELUDEFLAG) 34 60 35 61 #==============================================================================
Note: See TracChangeset
for help on using the changeset viewer.