mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
sci-misc/stable-diffusion-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:
1 file changed
+1
-1
@@ -183,7 +183,7 @@ src_configure() {
|
||||
fi
|
||||
|
||||
if use rocm; then
|
||||
export HIPCXX="$(hipconfig -l)/clang" HIP_PATH="$(hipconfig -p)"
|
||||
rocm_use_hipcc
|
||||
mycmakeargs+=(
|
||||
-DSD_HIPBLAS=ON
|
||||
-DGPU_TARGETS=$(get_amdgpu_flags)
|
||||
|
||||
Reference in new issue
Block a user