commit: 536c5edf1c72611e018e0efbb913097d66db6206 Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com> AuthorDate: Sat Jul 20 17:28:48 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Sep 9 18:15:16 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=536c5edf
sci-libs/miopen: strip unsupported flags for potentially switched compiler Bug: https://bugs.gentoo.org/936099 Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> 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 7cf62bdcb790..f272f435ece8 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() {
