[CMake] cmake_check_build_system is causing a rebuild at "make install"

James Bigler jamesbigler at gmail.com
Mon Oct 19 00:03:25 EDT 2015


This could be caused by CUDA generating dependencies and then needing to
load them at the next configure step.

For our automated builds, where we don't rely on dependencies during
development (e.g. build one main target from scratch then throw it away),
we set the CMAKE_SUPPRESS_REGENERATION option to TRUE.  This will prevent
CMake from configuring during the build.  You can still configure manually
by running cmake.

James

On Wed, Oct 14, 2015 at 7:04 AM, Nils Gladitz <nilsgladitz at gmail.com> wrote:

> On 14.10.2015 14:51, JR Cary wrote:
>
>> Thanks for your response.  This is a big headache for us, as it slows down
>> our builds tremendously.
>>
>> Is there any way to prevent or control this behavior?
>>
>
> I don't see how. You could modify the module itself I suppose but I'd
> expect that to break incremental builds.
>
>
> Nils
> --
>
> 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:
> http://public.kitware.com/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20151018/86b15c5c/attachment.html>


More information about the CMake mailing list