Notes |
|
(0033129)
|
Robert Maynard
|
2013-05-24 10:53
|
|
I have merged a fix for this into CMake next. Are you able to verify for me that it fixes your problem on ubuntu machines. |
|
|
(0033130)
|
Marcel Loose
|
2013-05-24 11:57
|
|
I checked out 'next' branch and build new cmake. Problem is still there; it got even worse, because cmake 'next' doesn't add libcuda.so to CUDA_LIBRARIES even it was found by setting the environment variable CUDA_LIB_PATH=/usr/lib/nvidia-current
Here's the difference in output for cmake 2.8.9 without and with setting CUDA_LIB_PATH=/usr/lib/nvidia-current
19c19
< -- CUDA_CUDA_LIBRARY = CUDA_CUDA_LIBRARY-NOTFOUND
---
> -- CUDA_CUDA_LIBRARY = /usr/lib/nvidia-current/libcuda.so
25c25
< -- CUDA_LIBRARIES = /usr/lib/x86_64-linux-gnu/libcudart.so
---
> -- CUDA_LIBRARIES = /usr/lib/x86_64-linux-gnu/libcudart.so;/usr/lib/nvidia-current/libcuda.so
And here's the difference between these two runs with cmake 'next':
19c19
< -- CUDA_CUDA_LIBRARY = CUDA_CUDA_LIBRARY-NOTFOUND
---
> -- CUDA_CUDA_LIBRARY = /usr/lib/nvidia-current/libcuda.so
As you can see, in both cases it will still only find libcuda.so when setting an environment variable. However, cmake 'next' doesn't even add libcuda.so to CUDA_LIBRARIES! |
|
|
(0033686)
|
Robert Maynard
|
2013-08-08 13:10
|
|
merged the fix into master and slated for 2.8.12 |
|
|
(0035070)
|
Robert Maynard
|
2014-02-10 10:44
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|