[clfft] 57/109: fixed FindOpenCL.cmake file to find OpenCL on Ubuntu 14.04 with CUDA 6.0

Jérôme Kieffer kieffer-guest at moszumanska.debian.org
Wed May 20 07:29:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

kieffer-guest pushed a commit to branch debian
in repository clfft.

commit 121fefb4192d3af5abaf9244b3dc5f3ee0fde7ce
Author: sschaet <sschaet at gwdg.de>
Date:   Wed Jan 28 14:42:51 2015 +0100

    fixed FindOpenCL.cmake file to find OpenCL on Ubuntu 14.04 with CUDA 6.0
---
 src/FindOpenCL.cmake | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/FindOpenCL.cmake b/src/FindOpenCL.cmake
index 8725612..ca83e5f 100644
--- a/src/FindOpenCL.cmake
+++ b/src/FindOpenCL.cmake
@@ -56,6 +56,8 @@ find_path(OPENCL_INCLUDE_DIRS
     PATHS
         /usr/include
         /usr/local/include
+	/usr/local/cuda/include
+	/opt/cuda/include
     DOC "OpenCL header file path"
 )
 mark_as_advanced( OPENCL_INCLUDE_DIRS )
@@ -70,6 +72,8 @@ if( LIB64 )
             ${OPENCL_ROOT}/lib
             $ENV{AMDAPPSDKROOT}/lib
             $ENV{CUDA_PATH}/lib
+	    /usr/local/cuda/lib
+	    /opt/cuda/lib
         DOC "OpenCL dynamic library path"
         PATH_SUFFIXES x86_64 x64
         PATHS
@@ -82,6 +86,8 @@ else( )
             ${OPENCL_ROOT}/lib
             $ENV{AMDAPPSDKROOT}/lib
             $ENV{CUDA_PATH}/lib
+	    /usr/local/cuda/lib
+	    /opt/cuda/lib
         DOC "OpenCL dynamic library path"
         PATH_SUFFIXES x86 Win32
         PATHS

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clfft.git



More information about the debian-science-commits mailing list