public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-util/Tensile/
@ 2021-01-20 16:11 Benda XU
  0 siblings, 0 replies; 3+ messages in thread
From: Benda XU @ 2021-01-20 16:11 UTC (permalink / raw
  To: gentoo-commits

commit:     a834c16140aac66b84563c808c6315d43e6b0df3
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 20 08:33:05 2021 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed Jan 20 16:11:24 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a834c161

dev-util/Tensile: creating benchmark-driven backend library for GEMMs

This ebuild is a working-in-progress that works, but having QA issues,
such as installing a lot of data into python site directories.

Bug: https://github.com/gentoo/gentoo/pull/10724
Bug: https://bugs.gentoo.org/650804
Suggested-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Suggested-by: Wilfried Holzke <gentoo <AT> holzke.net>
Package-Manager: Portage-3.0.12, Repoman-3.0.1
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 dev-util/Tensile/Tensile-4.0.0.ebuild | 31 +++++++++++++++++++++++++++++++
 dev-util/Tensile/metadata.xml         | 11 +++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-util/Tensile/Tensile-4.0.0.ebuild b/dev-util/Tensile/Tensile-4.0.0.ebuild
new file mode 100644
index 000000000..b930c3d69
--- /dev/null
+++ b/dev-util/Tensile/Tensile-4.0.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Stretching GPU performance for GEMMs and tensor contractions"
+HOMEPAGE="https://github.com/ROCmSoftwarePlatform/Tensile"
+SRC_URI="https://github.com/ROCmSoftwarePlatform/Tensile/archive/rocm-${PV}.tar.gz -> rocm-Tensile-${PV}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+RDEPEND="${PYTHON_DEPS}
+	dev-python/pyyaml[${PYTHON_USEDEP}]
+	dev-python/msgpack[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}-rocm-${PVR}"
+
+src_install() {
+	distutils-r1_src_install
+
+	dodir "/usr/$(get_libdir)/cmake"
+	mv "${ED}/usr/cmake" "${ED}/usr/$(get_libdir)/cmake/${PN}" || die
+}

diff --git a/dev-util/Tensile/metadata.xml b/dev-util/Tensile/metadata.xml
new file mode 100644
index 000000000..336bdb639
--- /dev/null
+++ b/dev-util/Tensile/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+  <maintainer type="project">
+    <email>sci@gentoo.org</email>
+  </maintainer>
+  <maintainer type="person">
+    <email>gentoo@holzke.net</email>
+    <name>Wilfried Holzke</name>
+  </maintainer>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-util/Tensile/
@ 2021-02-06 16:58 Benda XU
  0 siblings, 0 replies; 3+ messages in thread
From: Benda XU @ 2021-02-06 16:58 UTC (permalink / raw
  To: gentoo-commits

commit:     c536bde91c67c298d7423d88538a72e9e4316df2
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  6 16:58:07 2021 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Feb  6 16:58:07 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c536bde9

dev-util/Tensile: fix S.

Use PV instead of PVR.

Package-Manager: Portage-3.0.12, Repoman-3.0.1
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 dev-util/Tensile/Tensile-4.0.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/Tensile/Tensile-4.0.0-r1.ebuild b/dev-util/Tensile/Tensile-4.0.0-r1.ebuild
index eda97d225..ec2a738d9 100644
--- a/dev-util/Tensile/Tensile-4.0.0-r1.ebuild
+++ b/dev-util/Tensile/Tensile-4.0.0-r1.ebuild
@@ -28,7 +28,7 @@ PATCHES=( "${FILESDIR}"/${PN}-4.0.0-cmake.patch
 		  "${FILESDIR}"/${PN}-4.0.0-locate-commands.patch
 		  "${FILESDIR}"/${PN}-4.0.0-output-currentISA.patch )
 
-S="${WORKDIR}/${PN}-rocm-${PVR}"
+S="${WORKDIR}/${PN}-rocm-${PV}"
 CMAKE_USE_DIR="${WORKDIR}/Source"
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-util/Tensile/
@ 2022-03-05 15:24 Andrew Ammerlaan
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2022-03-05 15:24 UTC (permalink / raw
  To: gentoo-commits

commit:     1305ee37586749ae46dff6fe73d95f14c85fac87
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  5 15:24:26 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Mar  5 15:24:26 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=1305ee37

dev-util/Tensile: subslot this package

like the other roc* stuff

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-util/Tensile/Tensile-4.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/Tensile/Tensile-4.3.0.ebuild b/dev-util/Tensile/Tensile-4.3.0.ebuild
index bfd86ecea..cf33fb19c 100644
--- a/dev-util/Tensile/Tensile-4.3.0.ebuild
+++ b/dev-util/Tensile/Tensile-4.3.0.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-rocm-${PV}"
 
 LICENSE="MIT"
 KEYWORDS="~amd64"
-SLOT="0"
+SLOT="0/$(ver_cut 1-2)"
 
 # Not compatible with recent versions of pytest
 RESTRICT="test"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-05 15:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-20 16:11 [gentoo-commits] proj/sci:master commit in: dev-util/Tensile/ Benda XU
  -- strict thread matches above, loose matches on Subject: below --
2021-02-06 16:58 Benda XU
2022-03-05 15:24 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox