MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014043 | CMake | CMake | public | 2013-03-27 06:15 | 2013-10-07 10:09 |
Reporter | Mathias Gaunard | ||||
Assigned To | Robert Maynard | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86_64 | OS | Linux | OS Version | |
Product Version | CMake 2.8.10 | ||||
Target Version | Fixed in Version | CMake 2.8.12 | |||
Summary | 0014043: CUDA_COMPUTE_BUILD_PATH unnecessarily generates very long path when source is in binary directory | ||||
Description | I generate .cu files in the binary directory that I then build with CUDA_ADD_EXECUTABLE. Unfortunately CUDA_COMPUTE_BUILD_PATH will generate a path for intermediate files based on the relative path of that .cu file to the source directory; this may cause very long paths in the resulting building rules. In particular it prevents building with Ninja on Linux. Patch to fix this problem is attached: it makes the path relative to the current binary directory if the file is in the current binary directory. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | cuda_source_in_binary_path.diff (665) 2013-03-27 06:15 https://public.kitware.com/Bug/file/4695/cuda_source_in_binary_path.diff cuda_source_in_binary_path_fixed.diff (834) 2013-03-27 06:36 https://public.kitware.com/Bug/file/4696/cuda_source_in_binary_path_fixed.diff | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-03-27 06:15 | Mathias Gaunard | New Issue | |||
2013-03-27 06:15 | Mathias Gaunard | File Added: cuda_source_in_binary_path.diff | |||
2013-03-27 06:36 | Mathias Gaunard | File Added: cuda_source_in_binary_path_fixed.diff | |||
2013-03-27 06:37 | Mathias Gaunard | Note Added: 0032704 | |||
2013-03-27 08:29 | Robert Maynard | Assigned To | => Robert Maynard | ||
2013-03-27 08:29 | Robert Maynard | Status | new => assigned | ||
2013-04-18 14:20 | Robert Maynard | Status | assigned => acknowledged | ||
2013-05-24 09:36 | Robert Maynard | Status | acknowledged => resolved | ||
2013-05-24 09:36 | Robert Maynard | Fixed in Version | => CMake 2.8.12 | ||
2013-05-24 09:36 | Robert Maynard | Resolution | open => fixed | ||
2013-10-07 10:09 | Robert Maynard | Note Added: 0034059 | |||
2013-10-07 10:09 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|