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

commit:     44b9b2de4f574153ce5e5f600f369e4f08c1cbaf
Author:     YiyangWu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Thu Aug 26 07:50:33 2021 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Nov  6 16:58:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44b9b2de

dev-util/rocm-clang-ocl: OpenCL compilation with clang compiler.

This small package migrated from science overlay is the dependency
of sci-libs/MIOpen (currently in ::science; prepared for ::gentoo)

Closes: https://github.com/gentoo/gentoo/pull/22824
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 dev-util/rocm-clang-ocl/Manifest                   |  1 +
 dev-util/rocm-clang-ocl/metadata.xml               | 15 +++++++++++
 .../rocm-clang-ocl/rocm-clang-ocl-4.3.0.ebuild     | 31 ++++++++++++++++++++++
 3 files changed, 47 insertions(+)

diff --git a/dev-util/rocm-clang-ocl/Manifest b/dev-util/rocm-clang-ocl/Manifest
new file mode 100644
index 00000000000..6241ed5c05c
--- /dev/null
+++ b/dev-util/rocm-clang-ocl/Manifest
@@ -0,0 +1 @@
+DIST rocm-clang-ocl-4.3.0.tar.gz 3241 BLAKE2B 1a646d64e42a8884a7714b4ca25d888aa1e84d68be3f6ceacefcf7836340133740c8df85f152fadb40d463af76eb659f0fd11ebd2b0a6a3c0da3b7ac64bf541c SHA512 059d0d118205d6f4c2a61222fc74709a86bbe71687615debcc1698f73c28a769379b909cd18742b4d3340ba30a65b02da9224fbe5fe0e2fb005d9a45f22dfe9c

diff --git a/dev-util/rocm-clang-ocl/metadata.xml b/dev-util/rocm-clang-ocl/metadata.xml
new file mode 100644
index 00000000000..da47ad0ef39
--- /dev/null
+++ b/dev-util/rocm-clang-ocl/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+  <maintainer type="person">
+    <email>xgreenlandforwyy@gmail.com</email>
+    <name>Yiyang Wu</name>
+  </maintainer>
+</pkgmetadata>

diff --git a/dev-util/rocm-clang-ocl/rocm-clang-ocl-4.3.0.ebuild b/dev-util/rocm-clang-ocl/rocm-clang-ocl-4.3.0.ebuild
new file mode 100644
index 00000000000..4c12bb9c383
--- /dev/null
+++ b/dev-util/rocm-clang-ocl/rocm-clang-ocl-4.3.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="OpenCL compilation with clang compiler"
+HOMEPAGE="https://github.com/RadeonOpenCompute/clang-ocl.git"
+SRC_URI="https://github.com/RadeonOpenCompute/clang-ocl/archive/rocm-${PV}.tar.gz -> rocm-clang-ocl-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/rocm-opencl-runtime:${SLOT}"
+DEPEND="
+	dev-util/rocm-cmake:${SLOT}
+	${RDEPEND}"
+
+S="${WORKDIR}/clang-ocl-rocm-${PV}"
+
+src_prepare() {
+	sed -e "s:HINTS \${CXX_COMPILER_PATH}/bin:NO_DEFAULT_PATH:" \
+		-e "s:/opt/rocm/llvm/bin:${EPREFIX}/usr/lib/llvm/roc/bin:" \
+		-e "/AMDDeviceLibs PATHS/s:/opt/rocm:${EPREFIX}/usr/lib/cmake/AMDDeviceLibs:" \
+		-e "s:\${AMD_DEVICE_LIBS_PREFIX}/amdgcn/bitcode:${EPREFIX}/usr/lib/amdgcn/bitcode:" \
+		-i CMakeLists.txt || die
+
+	cmake_src_prepare
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-util/rocm-clang-ocl/
@ 2022-06-11 13:54 Benda XU
  0 siblings, 0 replies; 3+ messages in thread
From: Benda XU @ 2022-06-11 13:54 UTC (permalink / raw
  To: gentoo-commits

commit:     f9870b064f3eb1119e4d7ffaa3d05cd692002a3f
Author:     Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Sat Jun 11 08:16:08 2022 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Jun 11 13:54:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9870b06

dev-util/rocm-clang-ocl: add 5.0.2

Bug: https://github.com/gentoo/gentoo/pull/25851
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 dev-util/rocm-clang-ocl/Manifest                   |  1 +
 .../rocm-clang-ocl/rocm-clang-ocl-5.0.2.ebuild     | 31 ++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/dev-util/rocm-clang-ocl/Manifest b/dev-util/rocm-clang-ocl/Manifest
index 6241ed5c05ca..397d1ebb486c 100644
--- a/dev-util/rocm-clang-ocl/Manifest
+++ b/dev-util/rocm-clang-ocl/Manifest
@@ -1 +1,2 @@
 DIST rocm-clang-ocl-4.3.0.tar.gz 3241 BLAKE2B 1a646d64e42a8884a7714b4ca25d888aa1e84d68be3f6ceacefcf7836340133740c8df85f152fadb40d463af76eb659f0fd11ebd2b0a6a3c0da3b7ac64bf541c SHA512 059d0d118205d6f4c2a61222fc74709a86bbe71687615debcc1698f73c28a769379b909cd18742b4d3340ba30a65b02da9224fbe5fe0e2fb005d9a45f22dfe9c
+DIST rocm-clang-ocl-5.0.2.tar.gz 3908 BLAKE2B b348c047d2dcea9524847cbb44d37e56c16fa05d5ab7f1b798e22c1f3d61b38aa725436f3ef44491898f4afd675716036efaf3959cac310b2905a2d16fc6e911 SHA512 582b9ff425c1f9ff4fb32cf7b64c8357f8f585ab75b31b63cfa8705725f823cd0cc60f0d0a641f66c6760d8a5378444f29f3f57b8989d36f4fd32bb7b397d167

diff --git a/dev-util/rocm-clang-ocl/rocm-clang-ocl-5.0.2.ebuild b/dev-util/rocm-clang-ocl/rocm-clang-ocl-5.0.2.ebuild
new file mode 100644
index 000000000000..202836d1adbe
--- /dev/null
+++ b/dev-util/rocm-clang-ocl/rocm-clang-ocl-5.0.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="OpenCL compilation with clang compiler"
+HOMEPAGE="https://github.com/RadeonOpenCompute/clang-ocl.git"
+SRC_URI="https://github.com/RadeonOpenCompute/clang-ocl/archive/rocm-${PV}.tar.gz -> rocm-clang-ocl-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/rocm-opencl-runtime:${SLOT}"
+DEPEND="
+	dev-util/rocm-cmake:${SLOT}
+	${RDEPEND}"
+
+S="${WORKDIR}/clang-ocl-rocm-${PV}"
+
+src_prepare() {
+	sed -e "s:HINTS \${CXX_COMPILER_PATH}/bin:NO_DEFAULT_PATH:" \
+		-e "s:/opt/rocm/llvm/bin:${EPREFIX}/usr/lib/llvm/roc/bin:" \
+		-e "/AMDDeviceLibs PATHS/s:/opt/rocm:${EPREFIX}/usr/lib/cmake/AMDDeviceLibs:" \
+		-e "s:\${AMD_DEVICE_LIBS_PREFIX}/amdgcn/bitcode:${EPREFIX}/usr/lib/amdgcn/bitcode:" \
+		-i CMakeLists.txt || die
+
+	cmake_src_prepare
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-util/rocm-clang-ocl/
@ 2022-12-19 14:00 Andreas Sturmlechner
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2022-12-19 14:00 UTC (permalink / raw
  To: gentoo-commits

commit:     44c637c6e4bd118e7b4769bfae687bf646d74766
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 19 08:03:08 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 19 14:00:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44c637c6

dev-util/rocm-clang-ocl: drop 4.3.0

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-util/rocm-clang-ocl/Manifest                   |  1 -
 .../rocm-clang-ocl/rocm-clang-ocl-4.3.0.ebuild     | 31 ----------------------
 2 files changed, 32 deletions(-)

diff --git a/dev-util/rocm-clang-ocl/Manifest b/dev-util/rocm-clang-ocl/Manifest
index 397d1ebb486c..827fc6d22060 100644
--- a/dev-util/rocm-clang-ocl/Manifest
+++ b/dev-util/rocm-clang-ocl/Manifest
@@ -1,2 +1 @@
-DIST rocm-clang-ocl-4.3.0.tar.gz 3241 BLAKE2B 1a646d64e42a8884a7714b4ca25d888aa1e84d68be3f6ceacefcf7836340133740c8df85f152fadb40d463af76eb659f0fd11ebd2b0a6a3c0da3b7ac64bf541c SHA512 059d0d118205d6f4c2a61222fc74709a86bbe71687615debcc1698f73c28a769379b909cd18742b4d3340ba30a65b02da9224fbe5fe0e2fb005d9a45f22dfe9c
 DIST rocm-clang-ocl-5.0.2.tar.gz 3908 BLAKE2B b348c047d2dcea9524847cbb44d37e56c16fa05d5ab7f1b798e22c1f3d61b38aa725436f3ef44491898f4afd675716036efaf3959cac310b2905a2d16fc6e911 SHA512 582b9ff425c1f9ff4fb32cf7b64c8357f8f585ab75b31b63cfa8705725f823cd0cc60f0d0a641f66c6760d8a5378444f29f3f57b8989d36f4fd32bb7b397d167

diff --git a/dev-util/rocm-clang-ocl/rocm-clang-ocl-4.3.0.ebuild b/dev-util/rocm-clang-ocl/rocm-clang-ocl-4.3.0.ebuild
deleted file mode 100644
index 4c12bb9c3831..000000000000
--- a/dev-util/rocm-clang-ocl/rocm-clang-ocl-4.3.0.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="OpenCL compilation with clang compiler"
-HOMEPAGE="https://github.com/RadeonOpenCompute/clang-ocl.git"
-SRC_URI="https://github.com/RadeonOpenCompute/clang-ocl/archive/rocm-${PV}.tar.gz -> rocm-clang-ocl-${PV}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~amd64"
-
-RDEPEND="dev-libs/rocm-opencl-runtime:${SLOT}"
-DEPEND="
-	dev-util/rocm-cmake:${SLOT}
-	${RDEPEND}"
-
-S="${WORKDIR}/clang-ocl-rocm-${PV}"
-
-src_prepare() {
-	sed -e "s:HINTS \${CXX_COMPILER_PATH}/bin:NO_DEFAULT_PATH:" \
-		-e "s:/opt/rocm/llvm/bin:${EPREFIX}/usr/lib/llvm/roc/bin:" \
-		-e "/AMDDeviceLibs PATHS/s:/opt/rocm:${EPREFIX}/usr/lib/cmake/AMDDeviceLibs:" \
-		-e "s:\${AMD_DEVICE_LIBS_PREFIX}/amdgcn/bitcode:${EPREFIX}/usr/lib/amdgcn/bitcode:" \
-		-i CMakeLists.txt || die
-
-	cmake_src_prepare
-}


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

end of thread, other threads:[~2022-12-19 14:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-11 13:54 [gentoo-commits] repo/gentoo:master commit in: dev-util/rocm-clang-ocl/ Benda XU
  -- strict thread matches above, loose matches on Subject: below --
2022-12-19 14:00 Andreas Sturmlechner
2021-11-06 16:59 Benda XU

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