commit: a2133adce9e603eb73c7b60d90783c36881811a0 Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com> AuthorDate: Mon Feb 16 12:31:20 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Mar 6 00:44:11 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2133adc
sci-libs/hipSOLVER: add 7.2.0 Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/45826 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-libs/hipSOLVER/Manifest | 1 + sci-libs/hipSOLVER/hipSOLVER-7.2.0.ebuild | 51 +++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/sci-libs/hipSOLVER/Manifest b/sci-libs/hipSOLVER/Manifest index 5af5c8a47cdd..b5b8cfc7a5aa 100644 --- a/sci-libs/hipSOLVER/Manifest +++ b/sci-libs/hipSOLVER/Manifest @@ -2,3 +2,4 @@ DIST hipSOLVER-rocm-6.3.3.tar.gz 2573877 BLAKE2B 54d9736b63bfd314a155968737bf59c DIST hipSOLVER-rocm-6.4.3.tar.gz 2580341 BLAKE2B 28f40af2887befece27186aba11d6e777ae705225e4daa5b7f4599cd7bc719e908481840b3d41480b00b2945ab51e276a1962bc5fe6f44ad873eac2871f157cf SHA512 6cd8e4e0cfb0963325092ff3d8341fd630dfe3f4dbc0f15a625aa23c3a43225fc288523548cec3db0c698d765c5c37bdf22225235c2eefab6b8ee18bb0ffdffd DIST hipSOLVER-rocm-7.0.2.tar.gz 2585966 BLAKE2B f24472b493a2744df5b8ef853537cea392f6efe5538a75dd51bbe05ad4883df679777575471ddeefa6b913dd1b76864188d4a589f469564e9d4364016589995c SHA512 2a52de08805bcb8c4231857a24f9db5d93f8fc70c9fc5fefe5a693a8af94b04c0bd8fbdc755294555df0e092b0103110ab8037bedf663073b81f0f14cc33528f DIST hipSOLVER-rocm-7.1.0.tar.gz 2585428 BLAKE2B 1c306dbc28ad92fd9d9d6e38bc670f791f073041881cd2634160df30f7a8034fa3ab095dc29b4f6cc25d5857762f311ba04aaa1a7f8bc8de757a6966f8590174 SHA512 13c68847b7c0d24580e2f44d51d76e95fa9857d8ea8a36be95926bd2911408cc89306b3b09a4872fd74b0feca0020f8c7a035fed7795e36312bd66cff710ecd8 +DIST hipsolver-7.2.0.tar.gz 2587453 BLAKE2B a926ecb061954679c0db91eecd620e658528088c4b435174b3ba2f524e037718ee9477ea4c9eb866245221c866c9c3a1b81e97e58b82812e4ebad78aa2d5b528 SHA512 7d445fcf014a0a84cf56d186bd079de80f65ec3761b49e9f7c8779dc367daa88a8db37fce2a26102b996f2e27a8cad431cfe819eed6d5a1d1cf2cae5be8a7148 diff --git a/sci-libs/hipSOLVER/hipSOLVER-7.2.0.ebuild b/sci-libs/hipSOLVER/hipSOLVER-7.2.0.ebuild new file mode 100644 index 000000000000..01dc4dc6763e --- /dev/null +++ b/sci-libs/hipSOLVER/hipSOLVER-7.2.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ROCM_VERSION=${PV} + +inherit cmake rocm + +DESCRIPTION="CU / ROCM agnostic marshalling library for LAPACK routines on the GPU" +HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipsolver" +SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/hipsolver.tar.gz -> hipsolver-${PV}.tar.gz" +S="${WORKDIR}/hipsolver" + +REQUIRED_USE="${ROCM_REQUIRED_USE}" + +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64" +IUSE="sparse" + +RESTRICT="test" + +RDEPEND=" + dev-util/hip:${SLOT} + sci-libs/rocSOLVER:${SLOT} + sci-libs/rocBLAS:${SLOT} + sparse? ( + sci-libs/suitesparseconfig + sci-libs/rocSPARSE:${SLOT} + sci-libs/cholmod:= + ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-7.0.1-find-cholmod.patch +) + +src_configure() { + rocm_use_clang + + local mycmakeargs=( + -DGPU_TARGETS="$(get_amdgpu_flags)" + -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF + -DROCM_SYMLINK_LIBS=OFF + -DBUILD_WITH_SPARSE=$(usex sparse ON OFF) + ) + + cmake_src_configure +}
