Diff rocm-k8s-device-plugin-0.3.0 with a rocm-k8s-device-plugin-0.5.0
/usr/portage/sys-cluster/rocm-k8s-device-plugin/rocm-k8s-device-plugin-0.5.0.ebuild 2023-10-09 14:52:35.468368501 +0300 | ||
---|---|---|
4 | 4 |
EAPI=8 |
5 | 5 |
inherit go-module |
6 | 6 |
# update these on every bump |
7 |
VERSION=v1.18.1-8-gabd271e |
|
7 |
VERSION=v1.18.1-12-g939a8a0 |
|
8 | 8 |
TAG="amd-gpu-helm-${PV}" |
9 | 9 | |
10 | 10 |
DESCRIPTION="AMD GPU device plugin for kubernetes" |
... | ... | |
23 | 23 |
S="${WORKDIR}/k8s-device-plugin-${TAG}" |
24 | 24 | |
25 | 25 |
src_compile() { |
26 |
GOBIN="${S}/bin" ego install -ldflags="-X main.gitDescribe=${VERSION}" \ |
|
27 |
./cmd/k8s-device-plugin |
|
26 |
GOBIN="${S}/bin" \ |
|
27 |
ego install \ |
|
28 |
-ldflags="-X main.gitDescribe=${VERSION}" \ |
|
29 |
./cmd/k8s-device-plugin |
|
28 | 30 |
} |
29 | 31 | |
30 | 32 |
src_install() { |