sci-misc/llama-cpp: set CUDAHOSTCXX via cuda.eclass

Closes: https://bugs.gentoo.org/960549
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
Paul Zander
2025-07-22 19:55:49 +02:00
parent ac2d9afb24
commit 451623c534
2 changed files with 14 additions and 0 deletions

View File

@@ -93,6 +93,13 @@ src_configure() {
)
fi
if use cuda; then
local -x CUDAHOSTCXX="$(cuda_gccdir)"
# tries to recreate dev symlinks
cuda_add_sandbox
addpredict "/dev/char/"
fi
if use hip; then
rocm_use_hipcc
mycmakeargs+=(

View File

@@ -93,6 +93,13 @@ src_configure() {
)
fi
if use cuda; then
local -x CUDAHOSTCXX="$(cuda_gccdir)"
# tries to recreate dev symlinks
cuda_add_sandbox
addpredict "/dev/char/"
fi
if use hip; then
rocm_use_hipcc
mycmakeargs+=(