RDEPEND require installation of nvidia proprietary drivers, which leads to some dependencies issues. seems that cuda compiles fine with nouveau driver -IUSE="debugger doc eclipse profiler" +IUSE="debugger doc eclipse profiler nvidia-drivers" RESTRICT="bindist mirror" -DEPEND="" -RDEPEND="${DEPEND} +BDEPEND="" +RDEPEND=" =sys-devel/gcc-8.3.0-r3[cxx] + <sys-devel/gcc-9[cxx] nvidia-drivers? ( - >=x11-drivers/nvidia-drivers-396.24[X,uvm] + >=x11-drivers/nvidia-drivers-${DRIVER_PV}[X,uvm] ) !nvidia-drivers? ( x11-drivers/xf86-video-nouveau ) Reproducible: Always Steps to Reproduce: sync portage, try to build cuda toolkit Actual Results: dependency checks fails, nvidia drivers not supported on target architecture (and by the way it force to install proprietary drivers...) Expected Results: should compile fine
At this point, I'm unwilling to support this config. In theory, you could install the toolkit and compile cuda applications without running them, but is this such an important usecase? You cannot run cuda applications through nouveau, and hence this isn't relevant for 99% of people.