mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
media-gfx/freecad: bail out from cuda_get_host_compiler w/o nvidia-cuda-toolkit
Not sure if negril will want to fix this another way, but let's do the quick-n-easy thing for now. Closes: https://bugs.gentoo.org/955687 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -141,6 +141,10 @@ cuda_get_host_compiler() {
|
||||
return
|
||||
fi
|
||||
|
||||
if ! has_version dev-util/nvidia-cuda-toolkit ; then
|
||||
return
|
||||
fi
|
||||
|
||||
einfo "Trying to find working CUDA host compiler"
|
||||
|
||||
if ! tc-is-gcc && ! tc-is-clang; then
|
||||
|
||||
@@ -138,6 +138,10 @@ cuda_get_host_compiler() {
|
||||
return
|
||||
fi
|
||||
|
||||
if ! has_version dev-util/nvidia-cuda-toolkit ; then
|
||||
return
|
||||
fi
|
||||
|
||||
einfo "Trying to find working CUDA host compiler"
|
||||
|
||||
if ! tc-is-gcc && ! tc-is-clang; then
|
||||
|
||||
Reference in New Issue
Block a user