commit: 4135f254c8ac879b9113f9603a9065cd4b3a1464 Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com> AuthorDate: Wed Oct 29 08:21:52 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Oct 29 10:34:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4135f254
sci-libs/hipBLASLt: fix installation of target library files Gentoo uses combination of Tensile_SKIP_BUILD (don't build) and HIPBLASLT_ENABLE_DEVICE (mix of don't build / don't install) to allow build for 0 devices to support sci-ml/pytorch[amdgpu_targets_gfx1030], but this variable should be set in advance. Closes: https://bugs.gentoo.org/965264 Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44372 Closes: https://github.com/gentoo/gentoo/pull/44372 Signed-off-by: Sam James <sam <AT> gentoo.org> .../hipBLASLt/{hipBLASLt-7.0.2.ebuild => hipBLASLt-7.0.2-r1.ebuild} | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sci-libs/hipBLASLt/hipBLASLt-7.0.2.ebuild b/sci-libs/hipBLASLt/hipBLASLt-7.0.2-r1.ebuild similarity index 96% rename from sci-libs/hipBLASLt/hipBLASLt-7.0.2.ebuild rename to sci-libs/hipBLASLt/hipBLASLt-7.0.2-r1.ebuild index aaf7ce38c043..8890135e5f56 100644 --- a/sci-libs/hipBLASLt/hipBLASLt-7.0.2.ebuild +++ b/sci-libs/hipBLASLt/hipBLASLt-7.0.2-r1.ebuild @@ -82,6 +82,7 @@ python_check_deps() { } pkg_setup() { + QA_FLAGS_IGNORED="usr/$(get_libdir)/hipblaslt/library/.*" python-any-r1_pkg_setup } @@ -128,10 +129,12 @@ src_configure() { local targets="$(get_amdgpu_flags)" local Tensile_SKIP_BUILD=$([ "${AMDGPU_TARGETS[*]}" = "" ] && echo ON || echo OFF ) + local HIPBLASLT_ENABLE_DEVICE=$([ "${AMDGPU_TARGETS[*]}" != "" ] && echo ON || echo OFF ) local mycmakeargs=( -DROCM_SYMLINK_LIBS=OFF -DTensile_SKIP_BUILD=${Tensile_SKIP_BUILD} + -DHIPBLASLT_ENABLE_DEVICE=${HIPBLASLT_ENABLE_DEVICE} -DTensile_COMPILER=${CXX} -DAMDGPU_TARGETS="${targets}" -DBUILD_CLIENTS_TESTS=$(usex test ON OFF)
