MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015801 | CMake | Modules | public | 2015-10-19 09:54 | 2016-06-10 14:31 |
Reporter | tomwar | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | Visual Studio | OS | Windows | OS Version | Any |
Product Version | CMake 3.3.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0015801: FindCUDA.cmake incorrectly includes cu file dependencies | ||||
Description | FindCuda.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. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
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 |
Notes | |||||
|
|||||
|
|