[cmake-developers] [CMake 0014043]: CUDA_COMPUTE_BUILD_PATH unnecessarily generates very long path when source is in binary directory
Mantis Bug Tracker
mantis at public.kitware.com
Wed Mar 27 06:15:40 EDT 2013
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14043
======================================================================
Reported By: Mathias Gaunard
Assigned To:
======================================================================
Project: CMake
Issue ID: 14043
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-03-27 06:15 EDT
Last Modified: 2013-03-27 06:15 EDT
======================================================================
Summary: 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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-03-27 06:15 Mathias GaunardNew Issue
2013-03-27 06:15 Mathias GaunardFile Added: cuda_source_in_binary_path.diff
======================================================================
More information about the cmake-developers
mailing list