summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSv. Lockal <lockalsash@gmail.com>2024-07-20 17:28:48 +0000
committerSam James <sam@gentoo.org>2024-09-09 19:15:16 +0100
commit536c5edf1c72611e018e0efbb913097d66db6206 (patch)
treeeafda7937b12f6771bbfd5c25b0c54df2704eaa9 /sci-libs/miopen
parentsci-libs/hipSOLVER: strip unsupported flags for potentially switched compiler (diff)
downloadgentoo-536c5edf1c72611e018e0efbb913097d66db6206.tar.gz
gentoo-536c5edf1c72611e018e0efbb913097d66db6206.tar.bz2
gentoo-536c5edf1c72611e018e0efbb913097d66db6206.zip
sci-libs/miopen: strip unsupported flags for potentially switched compiler
Bug: https://bugs.gentoo.org/936099 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/miopen')
-rw-r--r--sci-libs/miopen/miopen-6.1.1.ebuild4
1 files changed, 3 insertions, 1 deletions
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() {