mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
app-accessibility/whisper-cpp: restore rocm_use_hipcc
rocm_use_hipcc strips the unsupported cflags when calling hipcc, such as -flto. Refs: https://bugs.gentoo.org/983114 Signed-off-by: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org>
This commit is contained in:
2 files changed
+2
-4
No files matched your search
@@ -190,8 +190,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)
|
||||
|
||||
@@ -190,8 +190,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