summaryrefslogtreecommitdiff
path: root/sys-cluster
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-02 02:54:37 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-02 02:54:37 +0000
commit2c4066122b66fa1eb3e37846f9a6e14529a553d8 (patch)
treed33f0181902cea4ff2df3da927ba0309c0ee7ede /sys-cluster
parent896d6a8a88861c42b5d531a2f147c8a29a149bd8 (diff)
gentoo auto-resync : 02:12:2022 - 02:54:37
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/Manifest.gzbin11544 -> 11541 bytes
-rw-r--r--sys-cluster/rocm-k8s-device-plugin/Manifest2
-rw-r--r--sys-cluster/rocm-k8s-device-plugin/rocm-k8s-device-plugin-0.5.0.ebuild36
3 files changed, 38 insertions, 0 deletions
diff --git a/sys-cluster/Manifest.gz b/sys-cluster/Manifest.gz
index 7fa5e454ccc8..89371dcfde65 100644
--- a/sys-cluster/Manifest.gz
+++ b/sys-cluster/Manifest.gz
Binary files differ
diff --git a/sys-cluster/rocm-k8s-device-plugin/Manifest b/sys-cluster/rocm-k8s-device-plugin/Manifest
index a0ea87d44b7a..098533876013 100644
--- a/sys-cluster/rocm-k8s-device-plugin/Manifest
+++ b/sys-cluster/rocm-k8s-device-plugin/Manifest
@@ -1,3 +1,5 @@
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
EBUILD rocm-k8s-device-plugin-0.3.0.ebuild 840 BLAKE2B 5892b27256156d6ac2fe102faebd708302c7706c1579921043583d241e9f4544c70855b4c08089708665f1a9c85bd82476a7eb4fc4915c8da23e58b2c81e1200 SHA512 305495b731682cfdacabe188914190c271a98d001f53c09dde724fdd2de354f17265f5a8a459a4e3530cb28de3ca99a276c8a676efe689cd2afc648a26154832
+EBUILD rocm-k8s-device-plugin-0.5.0.ebuild 850 BLAKE2B 002474fb2ed023bb83b7975d85e02f43e9e8bc4805c066b5722396dab66c7297fd483edcce247c02d181ba8eaa43433a903bd7961a14f5860252b3e0fc6d7393 SHA512 e6483c67efcd0755c9ca6f2f7a8b8bf1e1282ffc6107776b5190614da83aabe095a225551a2b25717341b8c9e85812ffc21d768ca40cccde12313d8920a3167d
MISC metadata.xml 249 BLAKE2B 08603bf9d754b59bae12620988552abc7f76b87a1390d02038789eba034c22412a3593d10f443794a5171ff3905c2b5c822368b2eb9f53a528097b7b6c80ffe9 SHA512 338d72efbd040697be98aad4229b81c9694eb27ecbc39f3a18332f4cc766a46b4a0a92f32612203259bf58f5838d0aff7f0b1abec7766f6cd2394c73f7f0b251
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 000000000000..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
+}