From 536c5edf1c72611e018e0efbb913097d66db6206 Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Sat, 20 Jul 2024 17:28:48 +0000 Subject: [PATCH] sci-libs/miopen: strip unsupported flags for potentially switched compiler Bug: https://bugs.gentoo.org/936099 Signed-off-by: Sv. Lockal Signed-off-by: Sam James --- sci-libs/miopen/miopen-6.1.1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sci-libs/miopen/miopen-6.1.1.ebuild b/sci-libs/miopen/miopen-6.1.1.ebuild index 7cf62bdcb7904..f272f435ece8e 100644 --- a/sci-libs/miopen/miopen-6.1.1.ebuild +++ b/sci-libs/miopen/miopen-6.1.1.ebuild @@ -58,6 +58,8 @@ src_prepare() { } src_configure() { + rocm_use_hipcc + if ! use debug; then append-cflags "-DNDEBUG" append-cxxflags "-DNDEBUG" @@ -91,7 +93,7 @@ src_configure() { check_amdgpu fi - CXX=hipcc cmake_src_configure + cmake_src_configure } src_test() {