Le 05/09/2018 à 14:37, Antoine Pitrou a écrit : > >> When AppVeyor restores the cached directories and files, does it also >> preserve their timestamps? If not, that might explain why it always >> rebuilds. > > I do not know. I've found out this utility: > https://github.com/iboB/mtime_cache and will experiment with it.
It turns out that doesn't solve the issue. One likely explanation is that fixing the timestamps on cached contents is not useful if ExternalProject unpacks the downloaded tarball again and overwrites the source files. One thing is that we build many of those dependencies in-source (using BUILD_IN_SOURCE), since they don't necessarily support out-of-tree builds... Regards Antoine. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake