[gentoo-commits] repo/gentoo:master commit in: sys-cluster/rocm-k8s-device-plugin/
commit: 9efd02e721b85815c47e5abc243c9cf71651039d Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sun Apr 7 14:39:04 2024 + Commit: Conrad Kostecki gentoo org> CommitDate: Wed Apr 17 21:00:21 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9efd02e7 sys-cluster/rocm-k8s-device-plugin: add missing remote-id Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Conrad Kostecki gentoo.org> sys-cluster/rocm-k8s-device-plugin/metadata.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys-cluster/rocm-k8s-device-plugin/metadata.xml b/sys-cluster/rocm-k8s-device-plugin/metadata.xml index db463f3eeb66..08c9cb683ed6 100644 --- a/sys-cluster/rocm-k8s-device-plugin/metadata.xml +++ b/sys-cluster/rocm-k8s-device-plugin/metadata.xml @@ -5,4 +5,7 @@ willi...@gentoo.org William Hubbs + + ROCm/k8s-device-plugin +
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/rocm-k8s-device-plugin/
commit: d2fb6ab2ccb2014a466fc5e1082751690cdf329f Author: William Hubbs gentoo org> AuthorDate: Thu Dec 1 23:25:16 2022 + Commit: William Hubbs gentoo org> CommitDate: Thu Dec 1 23:29:49 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2fb6ab2 sys-cluster/rocm-k8s-device-plugin: add 0.5.0 Signed-off-by: William Hubbs gentoo.org> sys-cluster/rocm-k8s-device-plugin/Manifest| 1 + .../rocm-k8s-device-plugin-0.5.0.ebuild| 36 ++ 2 files changed, 37 insertions(+) diff --git a/sys-cluster/rocm-k8s-device-plugin/Manifest b/sys-cluster/rocm-k8s-device-plugin/Manifest index 3753aa1967a9..6c8a57db1eb2 100644 --- a/sys-cluster/rocm-k8s-device-plugin/Manifest +++ b/sys-cluster/rocm-k8s-device-plugin/Manifest @@ -1 +1,2 @@ DIST rocm-k8s-device-plugin-0.3.0.tar.gz 5188051 BLAKE2B cff5a5eefea521fc398a3b9199375f8a4ed875688fc06bc6a097cdef017d1ef102eea096a8e37aa2d962afc2fc0a8153c26e36b226a31a1913ae2de97d632650 SHA512 d5c9c590aeb5fb744917662c9bc8a88a95c7b4478c614808c86ecb6caaf4f20c81a0013e6352d701c29c9c10810231ab142859ee95923e31d9267206209e4948 +DIST rocm-k8s-device-plugin-0.5.0.tar.gz 6297528 BLAKE2B 8fed4af34e2639eecbcd6e8b238a9a964203693e9f7458486a4e36d61b83908ebcb72f7d582b0fe240518a6e3eed5e38403be265a600af01383b860075097ea2 SHA512 56b38d9f1c516bfcc735dbcf1128ab9f7967871295c214ebb474d7fc3ed18822b6389dc5fae08e54a3735fd0704b67d71e9beba6066f313ed69c1d7c9c8fad2a diff --git a/sys-cluster/rocm-k8s-device-plugin/rocm-k8s-device-plugin-0.5.0.ebuild b/sys-cluster/rocm-k8s-device-plugin/rocm-k8s-device-plugin-0.5.0.ebuild new file mode 100644 index ..ab99d6d76c8c --- /dev/null +++ b/sys-cluster/rocm-k8s-device-plugin/rocm-k8s-device-plugin-0.5.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module +# update these on every bump +VERSION=v1.18.1-12-g939a8a0 +TAG="amd-gpu-helm-${PV}" + +DESCRIPTION="AMD GPU device plugin for kubernetes" +HOMEPAGE="https://github.com/RadeonOpenCompute/k8s-device-plugin; +SRC_URI="https://github.com/RadeonOpenCompute/k8s-device-plugin/archive/${TAG}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="sys-apps/hwloc + x11-libs/libdrm[video_cards_amdgpu]" +RDEPEND="${DEPEND} + sys-cluster/kubelet" + +S="${WORKDIR}/k8s-device-plugin-${TAG}" + +src_compile() { + GOBIN="${S}/bin" \ + ego install \ + -ldflags="-X main.gitDescribe=${VERSION}" \ + ./cmd/k8s-device-plugin +} + +src_install() { + exeinto /var/lib/kubelet/device-plugins + doexe bin/k8s-device-plugin + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/rocm-k8s-device-plugin/
commit: c3aed7837d86e15663c46e24de95dd6001633693 Author: William Hubbs gentoo org> AuthorDate: Wed Aug 10 04:20:16 2022 + Commit: William Hubbs gentoo org> CommitDate: Wed Aug 10 04:24:22 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3aed783 sys-cluster/rocm-k8s-device-plugin: new package, add 0.3.0 AMD GPU device plugin for kubernetes Signed-off-by: William Hubbs gentoo.org> sys-cluster/rocm-k8s-device-plugin/Manifest| 1 + sys-cluster/rocm-k8s-device-plugin/metadata.xml| 8 + .../rocm-k8s-device-plugin-0.3.0.ebuild| 34 ++ 3 files changed, 43 insertions(+) diff --git a/sys-cluster/rocm-k8s-device-plugin/Manifest b/sys-cluster/rocm-k8s-device-plugin/Manifest new file mode 100644 index ..3753aa1967a9 --- /dev/null +++ b/sys-cluster/rocm-k8s-device-plugin/Manifest @@ -0,0 +1 @@ +DIST rocm-k8s-device-plugin-0.3.0.tar.gz 5188051 BLAKE2B cff5a5eefea521fc398a3b9199375f8a4ed875688fc06bc6a097cdef017d1ef102eea096a8e37aa2d962afc2fc0a8153c26e36b226a31a1913ae2de97d632650 SHA512 d5c9c590aeb5fb744917662c9bc8a88a95c7b4478c614808c86ecb6caaf4f20c81a0013e6352d701c29c9c10810231ab142859ee95923e31d9267206209e4948 diff --git a/sys-cluster/rocm-k8s-device-plugin/metadata.xml b/sys-cluster/rocm-k8s-device-plugin/metadata.xml new file mode 100644 index ..db463f3eeb66 --- /dev/null +++ b/sys-cluster/rocm-k8s-device-plugin/metadata.xml @@ -0,0 +1,8 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + willi...@gentoo.org + William Hubbs + + diff --git a/sys-cluster/rocm-k8s-device-plugin/rocm-k8s-device-plugin-0.3.0.ebuild b/sys-cluster/rocm-k8s-device-plugin/rocm-k8s-device-plugin-0.3.0.ebuild new file mode 100644 index ..d6426fa96bbe --- /dev/null +++ b/sys-cluster/rocm-k8s-device-plugin/rocm-k8s-device-plugin-0.3.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module +# update these on every bump +VERSION=v1.18.1-8-gabd271e +TAG="amd-gpu-helm-${PV}" + +DESCRIPTION="AMD GPU device plugin for kubernetes" +HOMEPAGE="https://github.com/RadeonOpenCompute/k8s-device-plugin; +SRC_URI="https://github.com/RadeonOpenCompute/k8s-device-plugin/archive/${TAG}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="sys-apps/hwloc + x11-libs/libdrm[video_cards_amdgpu]" +RDEPEND="${DEPEND} + sys-cluster/kubelet" + +S="${WORKDIR}/k8s-device-plugin-${TAG}" + +src_compile() { + GOBIN="${S}/bin" ego install -ldflags="-X main.gitDescribe=${VERSION}" \ + ./cmd/k8s-device-plugin +} + +src_install() { + exeinto /var/lib/kubelet/device-plugins + doexe bin/k8s-device-plugin + einstalldocs +}