<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Thanks for the response, James. Our workaround finally<br>
was to do "make install/fast".<br>
<br>
A colleague pointed out that there is a bug report,<br>
<a class="moz-txt-link-freetext" href="https://cmake.org/Bug/view.php?id=15801">https://cmake.org/Bug/view.php?id=15801</a>,<br>
likely related to this.<br>
<br>
Is there something about CUDA that requires dependency generation<br>
at build time? (I am used to the standard of "#include
<foo>" following<br>
that can be done before any build.)<br>
<br>
It would be nice if the CUDA dependency generation worked like
regular<br>
cpp file dependency generation so that cmake would be run only
upon<br>
change of files and that otherwise it did not have to be turned
off<br>
completely.<br>
<br>
Thanks!<br>
<br>
....John <br>
</tt><br>
<div class="moz-cite-prefix">On 10/18/15 10:03 PM, James Bigler
wrote:<br>
</div>
<blockquote
cite="mid:CA+77nZC_RCfHX2m4ajK+=PvCGiBF6_Kz-7F80zXemNVJb-hKMg@mail.gmail.com"
type="cite">
<div dir="ltr">This could be caused by CUDA generating
dependencies and then needing to load them at the next configure
step.
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>James</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Oct 14, 2015 at 7:04 AM, Nils
Gladitz <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:nilsgladitz@gmail.com" target="_blank">nilsgladitz@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span
class="">On 14.10.2015 14:51, JR Cary wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for your response. This is a big headache for
us, as it slows down<br>
our builds tremendously.<br>
<br>
Is there any way to prevent or control this behavior?<br>
</blockquote>
<br>
</span>
I don't see how. You could modify the module itself I
suppose but I'd expect that to break incremental builds.
<div class="HOEnZb">
<div class="h5"><br>
<br>
Nils<br>
-- <br>
<br>
Powered by <a moz-do-not-send="true"
href="http://www.kitware.com" rel="noreferrer"
target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ
at: <a moz-do-not-send="true"
href="http://www.cmake.org/Wiki/CMake_FAQ"
rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake
community. For more information on each offering, please
visit:<br>
<br>
CMake Support: <a moz-do-not-send="true"
href="http://cmake.org/cmake/help/support.html"
rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a moz-do-not-send="true"
href="http://cmake.org/cmake/help/consulting.html"
rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a moz-do-not-send="true"
href="http://cmake.org/cmake/help/training.html"
rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a
moz-do-not-send="true"
href="http://www.kitware.com/opensource/opensource.html"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
href="http://public.kitware.com/mailman/listinfo/cmake"
rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>