commit: 525d2f02266af406ea7f1ac20607277d2d75217f Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com> AuthorDate: Mon Feb 16 04:28:29 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Mar 6 00:44:07 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=525d2f02
sci-libs/rocBLAS: add 7.2.0, fix 9999 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/rocBLAS/Manifest | 1 + .../{rocBLAS-9999.ebuild => rocBLAS-7.2.0.ebuild} | 22 +++++++++++++--------- sci-libs/rocBLAS/rocBLAS-9999.ebuild | 22 ++++++++++++---------- 3 files changed, 26 insertions(+), 19 deletions(-) diff --git a/sci-libs/rocBLAS/Manifest b/sci-libs/rocBLAS/Manifest index 63f22c7d7ec7..09f1e8880c44 100644 --- a/sci-libs/rocBLAS/Manifest +++ b/sci-libs/rocBLAS/Manifest @@ -1,3 +1,4 @@ +DIST rocblas-7.2.0.tar.gz 53998359 BLAKE2B dd3eaa641769a7a8e06d21d2f2028935d0f80a7f42ad1eac2fa4e300b5d3be08811f2fc78bb5aa26753740ec0f149e4ad4db826539c0adc6c2e31fb85f0b12fd SHA512 5301a8822c4d3b9ea4223ebe001a80522605d0b2634d11e824043026fe8b148c424c4ffaa4402133dcb28857363c273aa56caa3533b91b0b6147e0289350ca1f DIST rocm-rocBLAS-6.3.3.tar.gz 57909385 BLAKE2B a51274e2895419cc517ac24a0235c90f3b2551945b6936789abc78a08c8dde151de6d853d6378a702138227604af4cc185bde3acb5bf8999e09699d293bb2b85 SHA512 fcc8718e0c3dde8715f758e83f3a1ca45dde88ac56680e7723e2041dd3c1d7b9f575b1686552d04e7ef12b57188164c8abb5a6e4c568ade03d534edc30846c9e DIST rocm-rocBLAS-6.4.3.tar.gz 57989956 BLAKE2B 36ed966b9ebeabae20510a20ed5e0503254cddbac25535297baaca6ac52decac2598bcb85c73a720737dd959fc64c2ee542b3b8ed59ae85980aeaf6dbc093681 SHA512 6273122eca037c22e44d56a3c09e04383c2f59d64342b36ac65430ad9f9a963c70b4c5477eb615a31daaf0deea1aedd11b88f2d66bcbada89504cb48cf2c264f DIST rocm-rocBLAS-7.0.2.tar.gz 58187427 BLAKE2B ce3d054d53499d1d15c1d097f588fbe86e61984dc99a04bfbc9a4e9d9a789774e5808ea6c060a553c96fa3fa860eaf4a52833cf5ed50b7670a62053196881340 SHA512 b74d7fa56b08b513e4acbc6a5e91db95964bb270f4e90977fe0ecf5777b71244e6761d7c5851892c8be6f4fcd5bcccad85961efc5ef8dcad9dd2e90df4014a06 diff --git a/sci-libs/rocBLAS/rocBLAS-9999.ebuild b/sci-libs/rocBLAS/rocBLAS-7.2.0.ebuild similarity index 86% copy from sci-libs/rocBLAS/rocBLAS-9999.ebuild copy to sci-libs/rocBLAS/rocBLAS-7.2.0.ebuild index 604dc6976a0d..cca0d8557761 100644 --- a/sci-libs/rocBLAS/rocBLAS-9999.ebuild +++ b/sci-libs/rocBLAS/rocBLAS-7.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,10 +6,10 @@ EAPI=8 DOCS_BUILDER="doxygen" DOCS_DIR="docs/doxygen" DOCS_DEPEND="media-gfx/graphviz" -LLVM_COMPAT=( 20 ) +LLVM_COMPAT=( 22 ) ROCM_VERSION=${PV} -inherit cmake docs edo flag-o-matic multiprocessing rocm llvm-r1 +inherit cmake docs edo flag-o-matic llvm-r2 multiprocessing rocm DESCRIPTION="AMD's library for BLAS on ROCm" HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocblas" @@ -20,10 +20,10 @@ if [[ "${PV}" == 9999 ]] ; then EGIT_BRANCH="develop" S="${WORKDIR}/${P}/projects/rocblas" SLOT="0/9999" - SLOT_NOLIVE="0/7.0" + SLOT_NOLIVE="0/7.2" else - SRC_URI="https://github.com/ROCm/rocBLAS/archive/rocm-${PV}.tar.gz -> rocm-${P}.tar.gz" - S="${WORKDIR}/${PN}-rocm-${PV}" + SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/rocblas.tar.gz -> rocblas-${PV}.tar.gz" + S="${WORKDIR}/rocblas" SLOT="0/$(ver_cut 1-2)" SLOT_NOLIVE=${SLOT} KEYWORDS="~amd64" @@ -43,7 +43,8 @@ RDEPEND=" roctracer? ( dev-util/roctracer:${SLOT_NOLIVE} ) hipblaslt? ( sci-libs/hipBLASLt:${SLOT_NOLIVE} ) benchmark? ( - dev-cpp/gtest + dev-cpp/gtest:= + dev-util/rocm-smi:${SLOT_NOLIVE} llvm-runtimes/openmp sci-libs/flexiblas ) @@ -53,7 +54,8 @@ DEPEND=" ${RDEPEND} >=dev-cpp/msgpack-cxx-6.0.0 test? ( - dev-cpp/gtest + dev-cpp/gtest:= + dev-util/rocm-smi:${SLOT_NOLIVE} llvm-runtimes/openmp sci-libs/flexiblas ) @@ -65,6 +67,7 @@ QA_FLAGS_IGNORED="/usr/lib64/rocblas/library/.*" PATCHES=( "${FILESDIR}"/${PN}-5.4.2-add-missing-header.patch "${FILESDIR}"/${PN}-7.0.2-expand-isa-compatibility.patch + "${FILESDIR}"/${PN}-7.1.0-no-git.patch ) src_prepare() { @@ -106,7 +109,8 @@ src_configure() { if use benchmark || use test; then mycmakeargs+=( - -DBLA_PKGCONFIG_BLAS=ON + -DBLA_PREFER_PKGCONFIG=ON + -DBLA_PKGCONFIG_BLAS=flexiblas -DBLA_VENDOR=FlexiBLAS ) fi diff --git a/sci-libs/rocBLAS/rocBLAS-9999.ebuild b/sci-libs/rocBLAS/rocBLAS-9999.ebuild index 604dc6976a0d..98126d7cf42c 100644 --- a/sci-libs/rocBLAS/rocBLAS-9999.ebuild +++ b/sci-libs/rocBLAS/rocBLAS-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,10 +6,10 @@ EAPI=8 DOCS_BUILDER="doxygen" DOCS_DIR="docs/doxygen" DOCS_DEPEND="media-gfx/graphviz" -LLVM_COMPAT=( 20 ) +LLVM_COMPAT=( 22 ) ROCM_VERSION=${PV} -inherit cmake docs edo flag-o-matic multiprocessing rocm llvm-r1 +inherit cmake docs edo flag-o-matic llvm-r2 multiprocessing rocm DESCRIPTION="AMD's library for BLAS on ROCm" HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocblas" @@ -20,10 +20,10 @@ if [[ "${PV}" == 9999 ]] ; then EGIT_BRANCH="develop" S="${WORKDIR}/${P}/projects/rocblas" SLOT="0/9999" - SLOT_NOLIVE="0/7.0" + SLOT_NOLIVE="0/7.2" else - SRC_URI="https://github.com/ROCm/rocBLAS/archive/rocm-${PV}.tar.gz -> rocm-${P}.tar.gz" - S="${WORKDIR}/${PN}-rocm-${PV}" + SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/rocblas.tar.gz -> rocblas-${PV}.tar.gz" + S="${WORKDIR}/rocblas" SLOT="0/$(ver_cut 1-2)" SLOT_NOLIVE=${SLOT} KEYWORDS="~amd64" @@ -43,7 +43,8 @@ RDEPEND=" roctracer? ( dev-util/roctracer:${SLOT_NOLIVE} ) hipblaslt? ( sci-libs/hipBLASLt:${SLOT_NOLIVE} ) benchmark? ( - dev-cpp/gtest + dev-cpp/gtest:= + dev-util/rocm-smi:${SLOT_NOLIVE} llvm-runtimes/openmp sci-libs/flexiblas ) @@ -53,7 +54,8 @@ DEPEND=" ${RDEPEND} >=dev-cpp/msgpack-cxx-6.0.0 test? ( - dev-cpp/gtest + dev-cpp/gtest:= + dev-util/rocm-smi:${SLOT_NOLIVE} llvm-runtimes/openmp sci-libs/flexiblas ) @@ -64,7 +66,6 @@ QA_FLAGS_IGNORED="/usr/lib64/rocblas/library/.*" PATCHES=( "${FILESDIR}"/${PN}-5.4.2-add-missing-header.patch - "${FILESDIR}"/${PN}-7.0.2-expand-isa-compatibility.patch ) src_prepare() { @@ -106,7 +107,8 @@ src_configure() { if use benchmark || use test; then mycmakeargs+=( - -DBLA_PKGCONFIG_BLAS=ON + -DBLA_PREFER_PKGCONFIG=ON + -DBLA_PKGCONFIG_BLAS=flexiblas -DBLA_VENDOR=FlexiBLAS ) fi
