mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
sci-misc/llama-cpp: restore rocm_use_hipcc
rocm_use_hipcc strips the unsupported cflags when calling hipcc, such as -flto. Closes: https://bugs.gentoo.org/983114 Signed-off-by: WGH <wgh@torlan.ru> Signed-off-by: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org>
This commit is contained in:
1 parent
7236bfb19f
commit
48959cb24a
2 files changed
+2
-4
No files matched your search
@@ -222,8 +222,7 @@ src_configure() {
|
||||
fi
|
||||
|
||||
if use rocm; then
|
||||
# See ${S}/docs/build.md#hip
|
||||
export HIPCXX="$(hipconfig -l)/clang" HIP_PATH="$(hipconfig -p)"
|
||||
rocm_use_hipcc
|
||||
mycmakeargs+=(
|
||||
-DGGML_HIP=ON
|
||||
-DGPU_TARGETS=$(get_amdgpu_flags)
|
||||
|
||||
@@ -222,8 +222,7 @@ src_configure() {
|
||||
fi
|
||||
|
||||
if use rocm; then
|
||||
# See ${S}/docs/build.md#hip
|
||||
export HIPCXX="$(hipconfig -l)/clang" HIP_PATH="$(hipconfig -p)"
|
||||
rocm_use_hipcc
|
||||
mycmakeargs+=(
|
||||
-DGGML_HIP=ON
|
||||
-DGPU_TARGETS=$(get_amdgpu_flags)
|
||||
|
||||
Reference in new issue
Block a user