mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
sci-libs/rocBLAS: fix compilation failure with incorrect clang selection
This switches compiles from hipcc to clang (no difference, just to remove warning), and more importantly prepends llvm path (build scripts call clang++ in many places). Closes: https://bugs.gentoo.org/949817 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42691 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
2acae82ecc
commit
d5f466a71b
@ -64,10 +64,11 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
rocm_use_hipcc
|
||||
llvm_prepend_path "${LLVM_SLOT}"
|
||||
rocm_use_clang
|
||||
|
||||
# too many warnings
|
||||
append-cxxflags -Wno-explicit-specialization-storage-class
|
||||
append-cxxflags -Wno-explicit-specialization-storage-class -Wno-unused-value
|
||||
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_SKIP_RPATH=ON
|
||||
@ -87,10 +88,7 @@ src_configure() {
|
||||
|
||||
if usex video_cards_amdgpu; then
|
||||
mycmakeargs+=(
|
||||
-DTensile_LOGIC="asm_full"
|
||||
-DTensile_COMPILER="hipcc"
|
||||
-DTensile_LIBRARY_FORMAT="msgpack"
|
||||
-DTensile_CODE_OBJECT_VERSION="default"
|
||||
-DTensile_ROOT="${EPREFIX}/usr/share/Tensile"
|
||||
-DTensile_CPU_THREADS="$(makeopts_jobs)"
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user