]> https://gitweb.dealii.org/ - candi.git/commitdiff
Clear CMake cache before configuration.
authorBruno Turcksin <bruno.turcksin@gmail.com>
Thu, 23 Jul 2015 22:51:03 +0000 (17:51 -0500)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Thu, 23 Jul 2015 22:51:03 +0000 (17:51 -0500)
candi.sh

index 1ffd047575cd3a097e8aa95815abef7091434571..766d33d6a9f192c82ed895534baa570577cac181 100755 (executable)
--- 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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.