From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4275813835C for ; Sun, 24 Jan 2021 07:49:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81F81E0905; Sun, 24 Jan 2021 07:49:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 676B8E0905 for ; Sun, 24 Jan 2021 07:49:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EFA2F3410C8 for ; Sun, 24 Jan 2021 07:49:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8CCA54A7 for ; Sun, 24 Jan 2021 07:49:49 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1611474343.0a666c2a83b012e5a414a1593cbf10c9199a904e.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/rocSPARSE/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/rocSPARSE/Manifest sci-libs/rocSPARSE/metadata.xml sci-libs/rocSPARSE/rocSPARSE-4.0.0-r1.ebuild X-VCS-Directories: sci-libs/rocSPARSE/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 0a666c2a83b012e5a414a1593cbf10c9199a904e X-VCS-Branch: master Date: Sun, 24 Jan 2021 07:49:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e57d2372-73fd-49fb-8832-a3237bbba43e X-Archives-Hash: 870dc5eabd83c0452680d75241364402 commit: 0a666c2a83b012e5a414a1593cbf10c9199a904e Author: Benda Xu gentoo org> AuthorDate: Thu Jan 21 12:43:31 2021 +0000 Commit: Benda XU gentoo org> CommitDate: Sun Jan 24 07:45:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a666c2a sci-libs/rocSPARSE: BLAS for sparse computation. Bug: https://bugs.gentoo.org/650804 Bug: https://github.com/gentoo/gentoo/pull/10724 Suggested-by: Yiyang Wu gmail.com> Suggested-by: Wilfried Holzke holzke.net> Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: Benda Xu gentoo.org> sci-libs/rocSPARSE/Manifest | 1 + sci-libs/rocSPARSE/metadata.xml | 19 +++++++++++ sci-libs/rocSPARSE/rocSPARSE-4.0.0-r1.ebuild | 51 ++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+) diff --git a/sci-libs/rocSPARSE/Manifest b/sci-libs/rocSPARSE/Manifest new file mode 100644 index 00000000000..a9b843595f7 --- /dev/null +++ b/sci-libs/rocSPARSE/Manifest @@ -0,0 +1 @@ +DIST rocSPARSE-4.0.0.tar.gz 587761 BLAKE2B 25f9f0183c06b574505fe6e9011b32ea4fbe48c0a1883b8991baf45b8a2238312f352e614c0069531c986e548453b6e7b7a77f883dffea82ed41df488964b55d SHA512 4a4acf24a789ea58b53a8d06ea528a6aed8eabac21a7a3cd73011e9b31d03dceb488cc72f29c5513205f2b538d24e9dbaccda1a932bcc466cd04a65606a77b3b diff --git a/sci-libs/rocSPARSE/metadata.xml b/sci-libs/rocSPARSE/metadata.xml new file mode 100644 index 00000000000..73cc3d7be19 --- /dev/null +++ b/sci-libs/rocSPARSE/metadata.xml @@ -0,0 +1,19 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + candrews@gentoo.org + Craig Andrews + + + gentoo@holzke.net + Wilfried Holzke + + + ROCmSoftwarePlatform/rocSPARSE + + 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 00000000000..14e2518eb4a --- /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 "/