View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015801CMakeModulespublic2015-10-19 09:542016-06-10 14:31
Reportertomwar 
Assigned ToKitware Robot 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionmoved 
PlatformVisual StudioOSWindowsOS VersionAny
Product VersionCMake 3.3.2 
Target VersionFixed in Version 
Summary0015801: FindCUDA.cmake incorrectly includes cu file dependencies
DescriptionFindCuda.cmake line 399 include(${dependency_file}). Includes file that is changed everytime during build process. Everytime when NVCC compiles some cu file it generates new depends file (*_generated_*.cu.obj.depend) for it that contains cu file dependencies (eg h files or other #included files). As I checked in other cmake projects dependencies files (generate.stamp.depend) contain only reference to other cmake fiels that it depends. I couldn't find reference to source code files in generate.stamp.depend which makes sense. As FindCuda adds such source code file dependency that is changed on compilation time, it coused that after every build ZERO_CHECK triggers reconfiguration of whole project which if you have enabled parallel build might coused crash of MSBuild application or crash of build process b/c one thread is configuring whole project and another is still compiling or linking different one. If in other generate.stamp.depend files that were generated by cmake I couldn't find any #included .h file dependency i would suggest to remove whole this functionality from FindCUDA.cmake.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042861)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2015-10-19 09:54 tomwar New Issue
2016-06-10 14:29 Kitware Robot Note Added: 0042861
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team