diff options
author | 2024-07-20 17:35:57 +0000 | |
---|---|---|
committer | 2024-09-09 19:15:18 +0100 | |
commit | 62bb5fbe5f59d08e4079caed6229ca9e95c20000 (patch) | |
tree | 8a5a4652fc70ca75507a8ff5f9d21bfa6b8ef9a6 /sci-libs/rocRAND | |
parent | sci-libs/rocPRIM: strip unsupported flags for potentially switched compiler (diff) | |
download | gentoo-62bb5fbe5f59d08e4079caed6229ca9e95c20000.tar.gz gentoo-62bb5fbe5f59d08e4079caed6229ca9e95c20000.tar.bz2 gentoo-62bb5fbe5f59d08e4079caed6229ca9e95c20000.zip |
sci-libs/rocRAND: 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/rocRAND')
-rw-r--r-- | sci-libs/rocRAND/rocRAND-6.1.1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sci-libs/rocRAND/rocRAND-6.1.1.ebuild b/sci-libs/rocRAND/rocRAND-6.1.1.ebuild index 1cfbcdbd04f3..e3b1aa20b634 100644 --- a/sci-libs/rocRAND/rocRAND-6.1.1.ebuild +++ b/sci-libs/rocRAND/rocRAND-6.1.1.ebuild @@ -33,6 +33,8 @@ BDEPEND="dev-build/rocm-cmake >=dev-build/cmake-3.22" src_configure() { + rocm_use_hipcc + local mycmakeargs=( -DCMAKE_SKIP_RPATH=ON -DAMDGPU_TARGETS="$(get_amdgpu_flags)" @@ -42,7 +44,7 @@ src_configure() { -DBUILD_BENCHMARK=$(usex benchmark ON OFF) ) - CXX=hipcc cmake_src_configure + cmake_src_configure } src_test() { |