File: debianize.patch.in

package info (click to toggle)
nvidia-cuda-toolkit 12.5.0-2
  • links: PTS, VCS
  • area: non-free
  • in suites: experimental
  • size: 13,154,192 kB
  • sloc: ansic: 214,716; cpp: 65,455; javascript: 24,274; python: 22,339; xml: 11,484; makefile: 3,022; sh: 2,288; perl: 356
file content (36 lines) | stat: -rw-r--r-- 1,137 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Description: customize nvcc.profile
 adjust paths etc.
Author: Andreas Beckmann <anbe@debian.org>
Forwarded: not-needed

--- a/nvidia-cuda/cuda_nvcc/bin/nvcc.profile
+++ b/nvidia-cuda/cuda_nvcc/bin/nvcc.profile
@@ -1,16 +1,21 @@
+# Syntax:
+#   name  = <text>   assignment
+#   name ?= <text>   conditional assignment
+#   name += <text>   prepend
+#   name =+ <text>   append
+# Predefined variables: _SPACE_, _HERE_, _TARGET_DIR_, _TARGET_SIZE_
 
 TOP              = $(_HERE_)/..
 
 CICC_PATH        = $(TOP)/nvvm/bin
 CICC_NEXT_PATH   = $(TOP)/nvvm-next/bin
-NVVMIR_LIBRARY_DIR = $(TOP)/nvvm/libdevice
+NVVMIR_LIBRARY_DIR = /usr/lib/nvidia-cuda-toolkit/libdevice
 
-LD_LIBRARY_PATH += $(TOP)/lib:
-PATH            += $(CICC_PATH):$(_HERE_):
+PATH		+= /usr/lib/nvidia-cuda-toolkit/bin:
 
-INCLUDES        +=  "-I$(TOP)/$(_TARGET_DIR_)/include" $(_SPACE_)
+#INCLUDES	+=
 
-LIBRARIES        =+ $(_SPACE_) "-L$(TOP)/$(_TARGET_DIR_)/lib$(_TARGET_SIZE_)/stubs" "-L$(TOP)/$(_TARGET_DIR_)/lib$(_TARGET_SIZE_)"
+LIBRARIES	=+ $(_SPACE_) -L/#LIBDIR#/stubs -L/#LIBDIR#
 
-CUDAFE_FLAGS    +=
-PTXAS_FLAGS     +=
+#CUDAFE_FLAGS	+=
+#PTXAS_FLAGS	+=