diff options
author | Sv. Lockal <lockalsash@gmail.com> | 2024-07-20 16:34:59 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-09-09 19:15:11 +0100 |
commit | a9928b64eece2848421012645ffc101aade998fe (patch) | |
tree | b9cd5c9b2fa455e4c31ccab4b0b57978f3ec4c00 /sci-libs | |
parent | dev-libs/rocm-device-libs: strip unsupported flags for potentially switched c... (diff) | |
download | gentoo-a9928b64eece2848421012645ffc101aade998fe.tar.gz gentoo-a9928b64eece2848421012645ffc101aade998fe.tar.bz2 gentoo-a9928b64eece2848421012645ffc101aade998fe.zip |
sci-libs/hipFFT: strip unsupported flags for potentially switched compiler
Also set compiler to hipcc (clang fails when libc++ is enabled instead of libstdc++)
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')
-rw-r--r-- | sci-libs/hipFFT/hipFFT-6.1.1.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sci-libs/hipFFT/hipFFT-6.1.1.ebuild b/sci-libs/hipFFT/hipFFT-6.1.1.ebuild index d9700529cd24..8cc68e63e149 100644 --- a/sci-libs/hipFFT/hipFFT-6.1.1.ebuild +++ b/sci-libs/hipFFT/hipFFT-6.1.1.ebuild @@ -25,6 +25,10 @@ RDEPEND="dev-util/hip DEPEND="${RDEPEND}" src_configure() { + # Note: hipcc is enforced; clang fails when libc++ is enabled + # with an error similar to https://github.com/boostorg/config/issues/392 + rocm_use_hipcc + local mycmakeargs=( -DROCM_SYMLINK_LIBS=OFF -DBUILD_CLIENTS_TESTS=OFF |