Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package nvidia-cuda-toolkit There is a small fix for nvcc.profile (we ship our own copy due to sanitized installation paths) to bring it in sync with the upstream behavior of adding -lcudart by default when linking something with nvcc as in nvcc cudatest.cu I also documented the 4 assignment operators allowed in nvcc.profile and added a missing $(_SPACE_). Andreas unblock nvidia-cuda-toolkit/4.2.9-2
diffstat for nvidia-cuda-toolkit-4.2.9 nvidia-cuda-toolkit-4.2.9 changelog | 7 +++++++ nvcc.profile | 11 +++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff -Nru nvidia-cuda-toolkit-4.2.9/debian/changelog nvidia-cuda-toolkit-4.2.9/debian/changelog --- nvidia-cuda-toolkit-4.2.9/debian/changelog 2012-05-11 10:33:24.000000000 +0200 +++ nvidia-cuda-toolkit-4.2.9/debian/changelog 2013-01-10 01:19:06.000000000 +0100 @@ -1,3 +1,10 @@ +nvidia-cuda-toolkit (4.2.9-2) unstable; urgency=low + + * nvcc.profile: Enable the 'LIBRARIES =+ -lcudart' setting to not deviate + from upstream behavior. (Closes: #697730) + + -- Andreas Beckmann <deb...@abeckmann.de> Thu, 10 Jan 2013 01:19:06 +0100 + nvidia-cuda-toolkit (4.2.9-1) unstable; urgency=low * New upstream release 4.2 (April 2012). diff -Nru nvidia-cuda-toolkit-4.2.9/debian/nvcc.profile nvidia-cuda-toolkit-4.2.9/debian/nvcc.profile --- nvidia-cuda-toolkit-4.2.9/debian/nvcc.profile 2011-06-24 12:07:44.000000000 +0200 +++ nvidia-cuda-toolkit-4.2.9/debian/nvcc.profile 2013-01-10 00:42:22.000000000 +0100 @@ -1,10 +1,17 @@ +# Syntax: +# name = <text> assignment +# name ?= <text> conditional assignment +# name += <text> prepend +# name =+ <text> append +# Predefined variables: _SPACE_, _HERE_ + PATH += /usr/lib/nvidia-cuda-toolkit/bin: # Work around some strange errors if some headers are found # in /usr/include only. -INCLUDES += -I/usr/lib/nvidia-cuda-toolkit/include +INCLUDES += -I/usr/lib/nvidia-cuda-toolkit/include $(_SPACE_) -#LIBRARIES += $(_SPACE_) -lcudart +LIBRARIES =+ $(_SPACE_) -lcudart #CUDAFE_FLAGS += #OPENCC_FLAGS +=