mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
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:
@@ -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+=(
|
||||
|
||||
@@ -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+=(
|
||||
|
||||
Reference in New Issue
Block a user