Per the ebuild commit message: "Upstream only supports CUDA 8 with this release" However, anything older than CUDA 9 does not support gcc > 5 and fails with the following error: #error -- unsupported GNU version! gcc versions later than 5 are not supported! Since gcc 6.4.0 is now the default in Gentoo, it is no longer possible to build with USE=cuda. Reproducible: Always
I am not sure, if this is finally a duplicate of #639384, or should be taken as new ticket.
(In reply to Jonas Stein from comment #1) > I am not sure, if this is finally a duplicate of #639384, or should be taken > as new ticket. It is the same problem. Although, this does affect people still on 13.0 as well.
Would you be able to edit the ebuild to remove the hard depend on CUDA 8 to try CUDA 9? If this works, then I can change the ebuild. I think Blender 2.79 fixes this issue. BTW, this is one reason I really don't like CUDA.
(In reply to Jonathan Scruggs from comment #3) > Would you be able to edit the ebuild to remove the hard depend on CUDA 8 to > try CUDA 9? If this works, then I can change the ebuild. I think Blender > 2.79 fixes this issue. BTW, this is one reason I really don't like CUDA. It builds with CUDA 9.1 (from the junkdrawer overlay) and completed the "BMW benchmark" on the GPU.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d874e5a73532b74bdeed992a7c0f75b4d12bd561 commit d874e5a73532b74bdeed992a7c0f75b4d12bd561 Author: Jonathan Scruggs <j.scruggs@gmail.com> AuthorDate: 2017-12-24 17:24:26 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2017-12-25 16:09:12 +0000 media-gfx/blender: Version bump to 2.79 Version bump to 2.79 Closes: https://bugs.gentoo.org/630820 Allow CUDA v9 to be used for GCC 6.4 compatibility. Closes: https://bugs.gentoo.org/641244 Call cmake-utils_src_prepare explicity. Closes: https://bugs.gentoo.org/640194 Depend on virtual/jack. Closes: https://bugs.gentoo.org/612022 Allow DRI to be writable to avoid sandbox violations. Closes: https://bugs.gentoo.org/600916 Closes: https://github.com/gentoo/gentoo/pull/6620 media-gfx/blender/Manifest | 1 + media-gfx/blender/blender-2.79.ebuild | 287 ++++++++++++++++++++++++++++++++++ media-gfx/blender/metadata.xml | 6 + 3 files changed, 294 insertions(+)