[CMake] Why is ExternalProject trigger-happy about re-downloading source?

David Cole david.cole at kitware.com
Wed Mar 9 15:08:17 EST 2011


Good point, Dave P...

Kent, are you changing GIT_TAG argument values when this happens? If so,
this explains it entirely, and this is the known bug that Dave P. has
pointed to.

If not, we need to figure out why the download step is re-running when it
shouldn't.


Thanks,
David C.


On Wed, Mar 9, 2011 at 3:05 PM, David Partyka <david.partyka at kitware.com>wrote:

> http://cmake.org/Bug/view.php?id=11403
>
> On Wed, Mar 9, 2011 at 2:50 PM, kent williams <nkwmailinglists at gmail.com>wrote:
>
>> I've been running into this every since we updated to CMake 2.8.4, but
>> I don't know if it's revision specific.
>>
>> Sometimes if I change CMakeLists.txt in various directories so that
>> make will re-run cmake to pickup CMakeLists.txt changes, it triggers
>> re-downloading VTK & ITK from scratch.
>>
>> Is using GIT_REPOSITORY dumber than CVS_REPOSITORY & SVN_REPOSITORY?
>> If I set UPDATE_COMMAND to "", it never re-downloads. But
>> GIT_REPOSITORY seems to blow away the downloaded source for an
>> external project and re-download it, even if the CMakeLists.txt change
>> is unrelated to to the ExternalProject in question.
>>
>> Is there a way to suppress this behavior?
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110309/b1a4bcf4/attachment.htm>


More information about the CMake mailing list