tags 757961 patch
thanks

I plan to prepare this for NMU in the next couple of days, hopefully along with a fix for #755513.

On 19/08/2014 11:27, Vincent Cheng wrote:
This might be an issue fixed in a newer upstream release, but I don't
think there are any active maintainers looking after
nvidia-cuda-toolkit right now. If anyone who's reading this bug report
would like to help out by packaging the latest upstream release (6.x
or similar?), I'd be glad to consider reviewing and sponsoring your
package.
Thanks, I might take you up on your offer. I'll reply to bug #751522 if I make any progress.

diff -Nru nvidia-cuda-toolkit-5.5.22/debian/rules nvidia-cuda-toolkit-5.5.22/debian/rules
--- nvidia-cuda-toolkit-5.5.22/debian/rules	2014-05-25 01:25:00.000000000 +0200
+++ nvidia-cuda-toolkit-5.5.22/debian/rules	2014-08-14 14:04:23.000000000 +0200
@@ -96,6 +96,8 @@
 	chmod -x debian/tmp/usr/nvvm/include/*.h
 	chmod -x debian/tmp/usr/nvvm/libnvvm-samples/build.bat
 	sed -i '/^-vm$$/ d; /^..\/jre\/bin\/java$$/ d' debian/tmp/usr/libnvvp/nvvp.ini debian/tmp/usr/libnsight/nsight.ini
+	# CUDA 5.5 seems to work fine with GCC 4.9
+	sed -i 's/__GNUC_MINOR__ > 8/__GNUC_MINOR__ > 9/' debian/tmp/usr/include/host_config.h
 	# reduce 'dh_install --list-missing' noise
 	rm -rf debian/tmp/usr/include/thrust
 	rm -rf debian/tmp/usr/jre

Reply via email to