From: Bruno Turcksin Date: Thu, 23 Jul 2015 22:51:03 +0000 (-0500) Subject: Clear CMake cache before configuration. X-Git-Tag: v0.5^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6338b8d591480cea19316fec11bca20eae654e70;p=candi.git Clear CMake cache before configuration. --- diff --git a/candi.sh b/candi.sh index 1ffd047..766d33d 100755 --- a/candi.sh +++ b/candi.sh @@ -286,6 +286,8 @@ package_build() { echo scons -j ${PROCS} ${SCONSOPTS} prefix=${INSTALL_PATH} $target >>candi_build done elif [ ${BUILDCHAIN} = "cmake" ]; then + rm -f ${BUILDDDIR}/CMakeCache.txt + rm -rf ${BUILDDIR}/CMakeFiles echo cmake ${CONFOPTS} -DCMAKE_INSTALL_PREFIX=${INSTALL_PATH} ${UNPACK_PATH}/${EXTRACTSTO} >>candi_configure for target in "${TARGETS[@]}"; do echo make ${MAKEOPTS} -j ${PROCS} $target >>candi_build