* [gentoo-commits] repo/proj/guru:dev commit in: app-containers/nvidia-container-toolkit/, ...
@ 2024-12-10 0:42 Anna Vyalkova
0 siblings, 0 replies; only message in thread
From: Anna Vyalkova @ 2024-12-10 0:42 UTC (permalink / raw
To: gentoo-commits
commit: e999e9d79ac9e4cecf6876fda99668fbf16dff19
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Dec 10 00:32:53 2024 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Dec 10 00:32:53 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e999e9d7
app-containers/nvidia-container-toolkit: treeclean, promoted to ::gentoo
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
app-containers/nvidia-container-toolkit/Manifest | 1 -
.../nvidia-container-toolkit/files/config.toml | 17 ------
.../files/extldflags-1.16.1.patch | 11 ----
.../nvidia-container-toolkit/metadata.xml | 27 ----------
.../nvidia-container-toolkit-1.16.1.ebuild | 61 ----------------------
.../nvidia-container-toolkit-9999.ebuild | 61 ----------------------
6 files changed, 178 deletions(-)
diff --git a/app-containers/nvidia-container-toolkit/Manifest b/app-containers/nvidia-container-toolkit/Manifest
deleted file mode 100644
index 3eef3bec5..000000000
--- a/app-containers/nvidia-container-toolkit/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST nvidia-container-toolkit-1.16.1.tar.gz 2642534 BLAKE2B 0b286accab4b6730b1e3b15a726bc5e20ffae9b6816f0fb840013291fdbf9151cd39d8a8e7a97697113c0c4ec88c9fc9e9551e66ec1c3fb61dfa76e31bc41f44 SHA512 691d4fc47ea60b730ec491b333aa8118bcfd62cdab20a42b84155c6a13484d920e758435b5029bbae4fbefce82352aa5764f1554992682f689c95615809fb83c
diff --git a/app-containers/nvidia-container-toolkit/files/config.toml b/app-containers/nvidia-container-toolkit/files/config.toml
deleted file mode 100644
index 4d51e51fa..000000000
--- a/app-containers/nvidia-container-toolkit/files/config.toml
+++ /dev/null
@@ -1,17 +0,0 @@
-disable-require = false
-#swarm-resource = "DOCKER_RESOURCE_GPU"
-
-[nvidia-container-cli]
-#root = "/run/nvidia/driver"
-#path = "/usr/bin/nvidia-container-cli"
-environment = []
-#debug = "/var/log/nvidia-container-toolkit.log"
-#ldcache = "/etc/ld.so.cache"
-load-kmods = true
-#no-cgroups = false
-user = "root:video"
-ldconfig = "@/sbin/ldconfig"
-#alpha-merge-visible-devices-envvars = false
-
-[nvidia-container-runtime]
-#debug = "/var/log/nvidia-container-runtime.log"
diff --git a/app-containers/nvidia-container-toolkit/files/extldflags-1.16.1.patch b/app-containers/nvidia-container-toolkit/files/extldflags-1.16.1.patch
deleted file mode 100644
index ebc31ca37..000000000
--- a/app-containers/nvidia-container-toolkit/files/extldflags-1.16.1.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -60,7 +60,7 @@
- cmds: $(CMD_TARGETS)
-
- ifneq ($(shell uname),Darwin)
--EXTLDFLAGS = -Wl,--export-dynamic -Wl,--unresolved-symbols=ignore-in-object-files
-+EXTLDFLAGS = -Wl,--export-dynamic -Wl,--unresolved-symbols=ignore-in-object-files -Wl,-z,lazy
- else
- EXTLDFLAGS = -Wl,-undefined,dynamic_lookup
- endif
diff --git a/app-containers/nvidia-container-toolkit/metadata.xml b/app-containers/nvidia-container-toolkit/metadata.xml
deleted file mode 100644
index 553d9b557..000000000
--- a/app-containers/nvidia-container-toolkit/metadata.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>vowstar@gmail.com</email>
- <name>Huang Rui</name>
- </maintainer>
- <upstream>
- <remote-id type="github">NVIDIA/nvidia-container-toolkit</remote-id>
- </upstream>
- <longdescription lang="en">
- NVIDIA container runtime toolkit, build and run containers leveraging
- NVIDIA GPUs. tl;dr: nvidia-docker is deprecated because docker now has
- native gpu support, which this package is required to use. The NVIDIA
- Container Toolkit (formerly known as NVIDIA Docker) allows containers to
- access full GPU acceleration. OpenGL, OpenCL and CUDA are supported for
- production use. Vulkan support is currently in beta. This only works for
- Linux containers running on Linux host systems with NVIDIA GPUs.
- </longdescription>
- <longdescription lang="zh">
- NVIDIA容器运行时工具包,构建和运行利用NVIDIA GPU的容器。简而言之:
- nvidia-docker已经过时,因为docker现在具有原生的GPU支持,而这个包是使用它
- 所必需的。NVIDIA容器工具包(以前称为NVIDIA Docker)允许容器访问完整的
- GPU加速。OpenGL、OpenCL和CUDA支持生产使用。Vulkan支持目前处于测试阶段。
- 这只适用于在配备NVIDIA GPU的Linux主机系统上运行的Linux容器。
- </longdescription>
-</pkgmetadata>
diff --git a/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-1.16.1.ebuild b/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-1.16.1.ebuild
deleted file mode 100644
index b6aa4f53c..000000000
--- a/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-1.16.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-EGO_PN="github.com/NVIDIA/${PN}"
-
-inherit go-module
-
-DESCRIPTION="NVIDIA container runtime toolkit"
-HOMEPAGE="https://github.com/NVIDIA/nvidia-container-toolkit"
-
-if [[ "${PV}" == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/NVIDIA/${PN}.git"
- inherit git-r3
-else
- SRC_URI="
- https://github.com/NVIDIA/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz
- "
- S="${WORKDIR}/${PN}-${PV/_rc/-rc.}"
- KEYWORDS="~amd64"
-fi
-
-LICENSE="Apache-2.0"
-SLOT="0/${PV}"
-
-# Some tests may require specific environmental setups or additional hardware.
-RESTRICT="test" # Bug 831702
-
-RDEPEND="
- sys-libs/libnvidia-container:0/${PV}
-"
-
-PATCHES=(
- "${FILESDIR}/extldflags-1.16.1.patch"
-)
-
-src_compile() {
- emake binaries
-}
-
-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"
- doins "${FILESDIR}/config.toml"
-}
-
-pkg_postinst() {
- elog "Your docker service must restart after install this package."
- elog "OpenRC: sudo rc-service docker restart"
- elog "systemd: sudo systemctl restart docker"
- elog "You may need to edit your /etc/nvidia-container-runtime/config.toml"
- elog "file before running ${PN} for the first time."
- elog "For details, please see the NVIDIA docker manual page."
-}
diff --git a/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-9999.ebuild b/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-9999.ebuild
deleted file mode 100644
index b6aa4f53c..000000000
--- a/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-9999.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-EGO_PN="github.com/NVIDIA/${PN}"
-
-inherit go-module
-
-DESCRIPTION="NVIDIA container runtime toolkit"
-HOMEPAGE="https://github.com/NVIDIA/nvidia-container-toolkit"
-
-if [[ "${PV}" == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/NVIDIA/${PN}.git"
- inherit git-r3
-else
- SRC_URI="
- https://github.com/NVIDIA/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz
- "
- S="${WORKDIR}/${PN}-${PV/_rc/-rc.}"
- KEYWORDS="~amd64"
-fi
-
-LICENSE="Apache-2.0"
-SLOT="0/${PV}"
-
-# Some tests may require specific environmental setups or additional hardware.
-RESTRICT="test" # Bug 831702
-
-RDEPEND="
- sys-libs/libnvidia-container:0/${PV}
-"
-
-PATCHES=(
- "${FILESDIR}/extldflags-1.16.1.patch"
-)
-
-src_compile() {
- emake binaries
-}
-
-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"
- doins "${FILESDIR}/config.toml"
-}
-
-pkg_postinst() {
- elog "Your docker service must restart after install this package."
- elog "OpenRC: sudo rc-service docker restart"
- elog "systemd: sudo systemctl restart docker"
- elog "You may need to edit your /etc/nvidia-container-runtime/config.toml"
- elog "file before running ${PN} for the first time."
- elog "For details, please see the NVIDIA docker manual page."
-}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-12-10 0:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-10 0:42 [gentoo-commits] repo/proj/guru:dev commit in: app-containers/nvidia-container-toolkit/, Anna Vyalkova
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox