From d7ed2b01311f15ba54fe8ea872aab7d59ab2b193 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 29 Jan 2021 18:03:51 +0000 Subject: gentoo resync : 29.01.2021 --- sci-libs/rocSPARSE/rocSPARSE-4.0.0-r1.ebuild | 51 ++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 sci-libs/rocSPARSE/rocSPARSE-4.0.0-r1.ebuild (limited to 'sci-libs/rocSPARSE/rocSPARSE-4.0.0-r1.ebuild') diff --git a/sci-libs/rocSPARSE/rocSPARSE-4.0.0-r1.ebuild b/sci-libs/rocSPARSE/rocSPARSE-4.0.0-r1.ebuild new file mode 100644 index 000000000000..14e2518eb4a7 --- /dev/null +++ b/sci-libs/rocSPARSE/rocSPARSE-4.0.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Basic Linear Algebra Subroutines for sparse computation" +HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocSPARSE" +SRC_URI="https://github.com/ROCmSoftwarePlatform/rocSPARSE/archive/rocm-${PV}.tar.gz -> rocSPARSE-${PV}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND="=dev-util/hip-$(ver_cut 1-2)* + =sci-libs/rocPRIM-$(ver_cut 1-2)*" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/rocSPARSE-rocm-${PV}" + +rocSPARSE_V="0.1" + +BUILD_DIR="${S}/build/release" + +src_prepare() { + sed -e "s/PREFIX rocsparse//" \ + -e "/