[cmake-developers] [CMake 0015697]: CUDA separable compilation intermediate file doesn't get created

Mantis Bug Tracker mantis at public.kitware.com
Fri Aug 14 16:37:31 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15697 
====================================================================== 
Reported By:                Dominic Meiser
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15697
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-08-14 16:37 EDT
Last Modified:              2015-08-14 16:37 EDT
====================================================================== 
Summary:                    CUDA separable compilation intermediate file doesn't
get created
Description: 
When I compile with CUDA_SEPARABLE_COMPILATION=TRUE the custom command for the
generation of the intermediate_link.obj does not get triggered. When I change
line 1590 in FindCUDA.cmake (master version from earlier today) to
`set(do_obj_build_rule TRUE)` the custom command does run and compilation
succeeds. I don't see the bug here.

I'm seeing this behavior with cmake 3.2.2 and master revision 17ecfd8210.

Steps to Reproduce: 
configure a cuda library target with CUDA_SEPARABLE_COMPILATION=TRUE and build.

Additional Information: 
This is with cuda toolkit 7.0
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-08-14 16:37 Dominic Meiser New Issue                                    
======================================================================



More information about the cmake-developers mailing list