mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-04-30 16:57:29 -07:00
sci-libs/hipBLAS: add 7.0.2
Bug: https://bugs.gentoo.org/964799 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44165 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
d4af7e3bde
commit
671e116a37
@ -1,2 +1,3 @@
|
||||
DIST hipBLAS-6.3.3.tar.gz 993121 BLAKE2B 7cfe71112a8083a0f5fd1f2629bde12a79b13f2d289dd82405978f7713fb30b132d002d01566b077650265e8ee6746b51e4e3defb92bd1416ec83ce7c490407c SHA512 a14ba19557236ef8affa557d5139c6c380120a68eac5d6b7172b279380a52be4d451a3c2a7ee2a7e4d169c16081ea4639dc058b5231d2a33429fb0f065db5b18
|
||||
DIST hipBLAS-6.4.3.tar.gz 993780 BLAKE2B 6c2e88a1d4d313a39abbaaf663b0d83aaf5dbf4f7e625d97189cd98302a544f4c7d617fcc1ec2a2918edaff08f34329be0b6657c1aba3fa35a26ac919c31b85c SHA512 5ce1825624a267a1af25b1eafb6f3bd2bbbb9c9a6ce2d7788a2cf3213174e59d0b04599a89f4ba8b796cba1c8fc5cf5d2f9820fd948b735da781fe6d04c2826e
|
||||
DIST hipBLAS-7.0.2.tar.gz 830432 BLAKE2B f466009b09f0baf7eaf1cb1104c900d02dd99f737085a82c5b95b84ac1e300f61c12db14b53ac59f78847727010fc2a0cd364b285358283dd7365572f2173687 SHA512 841f35dc2782aa03aa8c19111f0b975ee23c7077e9590d267eb74146694c1cbca992d5825a1de7f00dc0e423181ea04631163392d4068058111d15394e069c43
|
||||
|
||||
48
sci-libs/hipBLAS/hipBLAS-7.0.2.ebuild
Normal file
48
sci-libs/hipBLAS/hipBLAS-7.0.2.ebuild
Normal file
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ROCM_VERSION=${PV}
|
||||
|
||||
inherit cmake rocm
|
||||
DESCRIPTION="ROCm BLAS marshalling library"
|
||||
HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipblas"
|
||||
SRC_URI="https://github.com/ROCm/hipBLAS/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/hipBLAS-rocm-${PV}"
|
||||
|
||||
REQUIRED_USE="${ROCM_REQUIRED_USE}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="rocsolver"
|
||||
|
||||
RDEPEND="
|
||||
sci-libs/rocBLAS:${SLOT}
|
||||
rocsolver? ( sci-libs/rocSOLVER:${SLOT} )
|
||||
"
|
||||
DEPEND="
|
||||
dev-util/hip:${SLOT}
|
||||
sci-libs/hipBLAS-common:${SLOT}
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.3.0-no-git.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
rocm_use_clang
|
||||
|
||||
local mycmakeargs=(
|
||||
# currently hipBLAS is a wrapper of rocBLAS which has tests, so no need to perform test here
|
||||
-DBUILD_CLIENTS_TESTS=OFF
|
||||
-DBUILD_CLIENTS_BENCHMARKS=OFF
|
||||
-DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF
|
||||
-DROCM_SYMLINK_LIBS=OFF
|
||||
-DBUILD_WITH_SOLVER=$(usex rocsolver ON OFF)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
@ -17,6 +17,9 @@
|
||||
<name>Sv. Lockal</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ROCm/hipBLAS</remote-id>
|
||||
<remote-id type="github">ROCm/rocm-libraries</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="rocsolver">Add additional functions from <pkg>sci-libs/rocSOLVER</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user