aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Strizhkin <strdenis02@gmail.com>2024-09-07 19:12:10 +0000
committerDenis Strizhkin <strdenis02@gmail.com>2024-09-07 19:12:10 +0000
commita4b53ad79f99f4618aaca4c700820137653bca1c (patch)
treef02ccf83b0f80a55bd2dd71520536c400d8c2976 /app-containers
parentapp-containers/nvidia-container-toolkit: 1.16.1 install additional binaries (diff)
downloadguru-a4b53ad79f99f4618aaca4c700820137653bca1c.tar.gz
guru-a4b53ad79f99f4618aaca4c700820137653bca1c.tar.bz2
guru-a4b53ad79f99f4618aaca4c700820137653bca1c.zip
app-containers/nvidia-container-toolkit: update 9999
Signed-off-by: Denis Strizhkin <strdenis02@gmail.com>
Diffstat (limited to 'app-containers')
-rw-r--r--app-containers/nvidia-container-toolkit/nvidia-container-toolkit-9999.ebuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-9999.ebuild b/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-9999.ebuild
index 0cdb8f0db..b6aa4f53c 100644
--- a/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-9999.ebuild
+++ b/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-9999.ebuild
@@ -16,12 +16,9 @@ if [[ "${PV}" == "9999" ]] ; then
else
SRC_URI="
https://github.com/NVIDIA/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz
- https://github.com/vowstar/gentoo-go-deps/releases/download/${P}/${P}-deps.tar.xz
- https://github.com/vowstar/gentoo-go-deps/releases/download/${P}/${P}-vendor.tar.xz
"
S="${WORKDIR}/${PN}-${PV/_rc/-rc.}"
KEYWORDS="~amd64"
- RESTRICT="mirror"
fi
LICENSE="Apache-2.0"
@@ -34,12 +31,9 @@ RDEPEND="
sys-libs/libnvidia-container:0/${PV}
"
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- app-arch/unzip
- dev-build/make
-"
+PATCHES=(
+ "${FILESDIR}/extldflags-1.16.1.patch"
+)
src_compile() {
emake binaries
@@ -47,7 +41,10 @@ src_compile() {
src_install() {
# Fixed by https://github.com/vizv
+ dobin "nvidia-cdi-hook"
dobin "nvidia-container-runtime"
+ dobin "nvidia-container-runtime.cdi"
+ dobin "nvidia-container-runtime.legacy"
dobin "nvidia-container-runtime-hook"
dobin "nvidia-ctk"
insinto "/etc/nvidia-container-runtime"