public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Reed" <david-gentoo@reedfam.email>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-containers/nvidia-container-toolkit/
Date: Tue, 20 Jun 2023 18:37:12 +0000 (UTC)	[thread overview]
Message-ID: <1687286161.e47ee514ba9b23d9f936b1a2f8fb36fbaece93b9.david-gentoo@gentoo> (raw)

commit:     e47ee514ba9b23d9f936b1a2f8fb36fbaece93b9
Author:     David Reed <david-gentoo <AT> reedfam <DOT> email>
AuthorDate: Tue Jun 20 18:36:01 2023 +0000
Commit:     David Reed <david-gentoo <AT> reedfam <DOT> email>
CommitDate: Tue Jun 20 18:36:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e47ee514

app-containers/nvidia-container-toolkit: add 1.13.2

Signed-off-by: David Reed <david-gentoo <AT> reedfam.email>

 app-containers/nvidia-container-toolkit/Manifest   |  3 +
 .../nvidia-container-toolkit-1.13.2.ebuild         | 68 ++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/app-containers/nvidia-container-toolkit/Manifest b/app-containers/nvidia-container-toolkit/Manifest
index 8525cfc91..b25852d7f 100644
--- a/app-containers/nvidia-container-toolkit/Manifest
+++ b/app-containers/nvidia-container-toolkit/Manifest
@@ -4,3 +4,6 @@ DIST nvidia-container-toolkit-1.12.1.tar.gz 2226106 BLAKE2B f2f68068bdfe5db6b733
 DIST nvidia-container-toolkit-1.13.1-deps.tar.xz 16932688 BLAKE2B 86e0b8c948b92c389279328e4505a8e5d189af4efa3b0fb12d1a1e374b070432667b5b2f65dc38a9d9f4d08e3b3af0c36c794790819316c64fd612e15b44f9d5 SHA512 dc5273395e730a8ef7c59507547c6a4d388c6252d1360295285e3576b3c4d2e87b809d1bf4f967f03ba1105c844250da2f6dd7ae45d2edea383c55435756f6e6
 DIST nvidia-container-toolkit-1.13.1-vendor.tar.xz 1107124 BLAKE2B 186952ded4bb979d24aa4beca87ceb2495530b4221cf9778b227c869c1f2b3d0b4957227e9c71d7d9596058df55d3e8fb6345515dbb43d408a7f2cc589928f89 SHA512 14121daf2351f7107c247ae2fa74e34d4b8cfb443c7b00386428a179a05de625a985622642ea9b16691b23ef4b49dac3f977a3b373e9ddd6adcf50c5d16b9dc9
 DIST nvidia-container-toolkit-1.13.1.tar.gz 2269989 BLAKE2B 48cdafa390320d467133ab5aa3d77d6bd1fc5c7fc3314c2d8f977de4fd4224b3da4e647cfeb8f3eb3b20c711a69471b57fbb3211954c3c77b7fb82ec807b5926 SHA512 e0d9dbb06e2b8ef075a881f4414bfb4b1ab9f571d148a202fbf7c2a7b59447f199028d5d176196703dadcb04040a74a229f09062da24e615faa4c051d614e206
+DIST nvidia-container-toolkit-1.13.2-deps.tar.xz 17094568 BLAKE2B 6f728a572135c52aff9144eb693322c189837674bfb189d5666d0001d379ebcb131a2290a513a9aae76112982068e46a1a1051578f759997874a6089646a2510 SHA512 9c508bfa04591b408b42f80f10e78bed6964cfe72aeff66cacb2949fd41a62da2023bee571ccfa030fe33747ca77d74e53fd22f0ad241ac2a21ab41f98541ce4
+DIST nvidia-container-toolkit-1.13.2-vendor.tar.xz 1118008 BLAKE2B f9acaa19dbe9f196a9ba92672e0df2308453528d519ac00dd29aa462ecfde20bd095764e5ccc6af477ecc7231162ca464413342849809da8588d8f91de5c92b1 SHA512 f28b7c099b58dc710dab2f12b06993445b6cae50e1fb999a0ed30fbc22ef498c4a384d4e6f3f5d144d1b7a245268d46e78b9006cdccdaff5de2e2a1db5e222ea
+DIST nvidia-container-toolkit-1.13.2.tar.gz 2341404 BLAKE2B c5ce0d36dcc4158f13b9ec7208444478ce49c058c8cd83e27a749859a7830ee19258580e6c8faf30e58594df565b7d511d81e118145fe5aa8935725ed7ad5161 SHA512 0c87df23d7635d37312eb76b80e51c456a7bf23c86ac70813bbb2cb79f52ea6d7be2e69f89a5a356202fdbf1331299aa0920f7c49395130d0504a0cfdc7c9f5b

diff --git a/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-1.13.2.ebuild b/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-1.13.2.ebuild
new file mode 100644
index 000000000..edefa60c2
--- /dev/null
+++ b/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-1.13.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 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
+
+	src_unpack() {
+		git-r3_src_unpack
+		go-module_live_vendor
+	}
+else
+	SRC_URI="
+		https://github.com/NVIDIA/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz
+		https://github.com/david-gentoo/gentoo-go-deps/releases/download/${P}/${P}-deps.tar.xz
+		https://github.com/david-gentoo/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"
+SLOT="0"
+
+IUSE=""
+
+RDEPEND="
+	sys-libs/libnvidia-container
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+	app-arch/unzip
+	sys-devel/make
+"
+
+src_compile() {
+	emake binaries
+}
+
+src_install() {
+	# Fixed by https://github.com/vizv
+	dobin "nvidia-container-runtime"
+	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."
+}


             reply	other threads:[~2023-06-20 18:37 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-20 18:37 David Reed [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-13 17:55 [gentoo-commits] repo/proj/guru:dev commit in: app-containers/nvidia-container-toolkit/ Viorel Munteanu
2024-09-07 19:12 Denis Strizhkin
2024-09-07 19:12 Denis Strizhkin
2024-09-07 18:26 Denis Strizhkin
2024-09-07 12:32 Denis Strizhkin
2024-03-27 11:50 [gentoo-commits] repo/proj/guru:master " Rui Huang
2024-03-26 12:24 ` [gentoo-commits] repo/proj/guru:dev " Rui Huang
2024-03-27 11:50 [gentoo-commits] repo/proj/guru:master " Rui Huang
2024-03-26 12:24 ` [gentoo-commits] repo/proj/guru:dev " Rui Huang
2023-06-03  7:48 David Reed
2023-03-22 13:20 Rui Huang
2023-03-22 13:20 Rui Huang
2023-03-22 13:20 Rui Huang
2022-07-08  4:51 Rui Huang
2022-07-08  4:51 Rui Huang
2022-07-08  4:51 Rui Huang
2022-04-01 10:35 Rui Huang
2022-04-01 10:35 Rui Huang
2022-01-18 15:23 Rui Huang
2022-01-18 15:23 Rui Huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1687286161.e47ee514ba9b23d9f936b1a2f8fb36fbaece93b9.david-gentoo@gentoo \
    --to=david-gentoo@reedfam.email \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox