cuda-5 is now out since quite some time and it would be nice to have it in portage Reproducible: Always
Yes, I ran into this as well.
Created attachment 332746 [details] nvidia-cuda-toolkit-5.0.35.ebuild this one has some chanches to build the toolkit, it's ugly and need to be refined but can be used as a starting point for the volenterous
Created attachment 332748 [details] nvidia-cuda-sdk-5.0.35.ebuild this one build too, but it does not differentiate between cuda and opencl examples, it's all or nothing. If possible it's uglier than the previous one.
gcc 4.7 should be disabled /opt/cuda/include/host_config.h says "#error -- unsupported GNU version! gcc 4.7 and up are not supported!"
gcc-4.7 should be discouraged, actually it build and upstream say it partially work. But I've not tested it enough to say it's really useable.
+*nvidia-cuda-toolkit-5.0.35 (14 Jan 2013) +*nvidia-cuda-toolkit-4.2.9-r1 (14 Jan 2013) + + 14 Jan 2013; Justin Lecher <jlec@gentoo.org> -nvidia-cuda-toolkit-3.2.ebuild, + +nvidia-cuda-toolkit-4.2.9-r1.ebuild, +nvidia-cuda-toolkit-5.0.35.ebuild, + +files/cuda-config.in, metadata.xml: + Version Bump, #446072 and #451972; fine grad what msg we are showing, + #440434; support prefix installations, #405317; drop old, #351702; take the + package +