[pkg-nvidia-devel] r1179 - in /packages/nvidia-cuda-toolkit/trunk/debian: nvcc.profile nvidia-cuda-dev.links

anbe-guest at users.alioth.debian.org anbe-guest at users.alioth.debian.org
Sun Jun 27 10:12:09 UTC 2010


Author: anbe-guest
Date: Sun Jun 27 10:11:55 2010
New Revision: 1179

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=1179
Log:
work around nvcc problems with some headers found in /usr/include only

Added:
    packages/nvidia-cuda-toolkit/trunk/debian/nvidia-cuda-dev.links
Modified:
    packages/nvidia-cuda-toolkit/trunk/debian/nvcc.profile

Modified: packages/nvidia-cuda-toolkit/trunk/debian/nvcc.profile
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-cuda-toolkit/trunk/debian/nvcc.profile?rev=1179&op=diff
==============================================================================
--- packages/nvidia-cuda-toolkit/trunk/debian/nvcc.profile (original)
+++ packages/nvidia-cuda-toolkit/trunk/debian/nvcc.profile Sun Jun 27 10:11:55 2010
@@ -1,6 +1,8 @@
 #PATH		+= /usr/lib/nvidia-cuda-toolkit/bin:
 
-INCLUDES        +=
+# Work around some strange errors if some headers are found
+# in /usr/include only.
+INCLUDES	+= -I/usr/lib/nvidia-cuda-toolkit/include
 
 #LIBRARIES	+= $(_SPACE_) -lcudart
 

Added: packages/nvidia-cuda-toolkit/trunk/debian/nvidia-cuda-dev.links
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-cuda-toolkit/trunk/debian/nvidia-cuda-dev.links?rev=1179&op=file
==============================================================================
--- packages/nvidia-cuda-toolkit/trunk/debian/nvidia-cuda-dev.links (added)
+++ packages/nvidia-cuda-toolkit/trunk/debian/nvidia-cuda-dev.links Sun Jun 27 10:11:55 2010
@@ -1,0 +1,4 @@
+# for some weird reason nvcc produces errors if these libs are found in /usr/include only
+usr/include/cuda_runtime.h	usr/lib/nvidia-cuda-toolkit/include/cuda_runtime.h
+usr/include/device_functions.h	usr/lib/nvidia-cuda-toolkit/include/device_functions.h
+usr/include/surface_functions.h	usr/lib/nvidia-cuda-toolkit/include/surface_functions.h




More information about the Pkg-nvidia-devel mailing list