From: "Rui Huang" <vowstar@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-containers/nvidia-container-toolkit/
Date: Wed, 22 Mar 2023 13:20:04 +0000 (UTC) [thread overview]
Message-ID: <1679491156.3866dcb6c9fcd5d26574a031ae5692c531aa122d.vowstar@gentoo> (raw)
commit: 3866dcb6c9fcd5d26574a031ae5692c531aa122d
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Wed Mar 22 13:19:16 2023 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Wed Mar 22 13:19:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3866dcb6
app-containers/nvidia-container-toolkit: add 1.12.1
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
app-containers/nvidia-container-toolkit/Manifest | 3 +
.../nvidia-container-toolkit-1.12.1.ebuild | 67 ++++++++++++++++++++++
2 files changed, 70 insertions(+)
diff --git a/app-containers/nvidia-container-toolkit/Manifest b/app-containers/nvidia-container-toolkit/Manifest
index 12a9e43f0..8b92af4f8 100644
--- a/app-containers/nvidia-container-toolkit/Manifest
+++ b/app-containers/nvidia-container-toolkit/Manifest
@@ -1946,6 +1946,9 @@ DIST mvdan.cc%2Flint%2F@v%2Fv0.0.0-20170908181259-adc824a0674b.mod 21 BLAKE2B ed
DIST mvdan.cc%2Funparam%2F@v%2Fv0.0.0-20210104141923-aac4ce9116a7.mod 244 BLAKE2B 2c036357fc8644a98fe147a4725e68b93fbe6cdb18dc10bf2e49fbc37968b2c555cfb196eeae33ad873bbdaf4ee84fbe5f45bbfcc2148e54b82a71fbe6fb52e6 SHA512 1ee461698c2325a9cd8c3ec1927704384724570c74dddc6c6ea1c32aea50658db74553d3918ff23b311a1ade32ecafb276cb7bd53e318723e7e14716bd7ea399
DIST nvidia-container-toolkit-1.10.0-deps.tar.xz 608539028 BLAKE2B 4442849f35ed952eea9cee180d27b21dbbb3bb01ea24f9536b59791bb2cf99e4c0de82eeafd1750620e4981a5f73428e6eaeee7350689df00b3e80af6354d33b SHA512 51c94b7114e357e3a8753eea3e8ddccec1ce40268328d777c7ec069bc6d539f1ffb81bdc17b7dfcb552c303fd21c6b64e130f92fe0f5b9dfff31013e3a1eeaa2
DIST nvidia-container-toolkit-1.10.0.tar.gz 1817732 BLAKE2B 3a679aca183a62a16318a90442b764252e4e1048076c9d0fc439074c13370453152f19cf344c9c727892b4a998ce370c895a43b2fea77796c49e06f3e0628a37 SHA512 4f35918811edf7ea0f24d04eba12e4670b039edd0bb29ed4f16b47c4208f8a3d4316042f5ca52a278fedd1dce549070df69807080b1a7bda4a859369ad707bf9
+DIST nvidia-container-toolkit-1.12.1-deps.tar.xz 16912940 BLAKE2B c4733beabf008f164d1ece29fd572d8735e9dd9c60d22fa2b226102382d077401a3d849746a914092750d12b0156de5a61c0dd6d6f61835a1df9d641c0bd51c0 SHA512 c1bcdd60ddfdd70ac335150815fb6fb7fcbc5ed4aa0ed119b4b915efa9600438a78c3d361ee4779055dc3b9e2e1fcb40377ca1580a96fd7370126f9d5c373b2d
+DIST nvidia-container-toolkit-1.12.1-vendor.tar.xz 1101200 BLAKE2B 5343d8c0eed8715c0e06464f542e5874ae288717a3ec0e89e3f3fb0c4b3d406de192cea5131a992c7ab4cae7587fa2b2d91b331b3d5f81c24c2b83955c0ecec5 SHA512 3bd6f685e9273d65465a23f5d4ce9fcd95562afc30ab39dcac08eaf9d01a48d3a5cc195c4f48217bb2263af033b60c2d30d0c6309306057359a037959f806615
+DIST nvidia-container-toolkit-1.12.1.tar.gz 2226106 BLAKE2B f2f68068bdfe5db6b733bb2c4f58ed2e6692382121955ed605469ca014422d24f979b3d0797f55c7d0bc99cd1458de469da66c5ad095ef0902f90f6c698ce433 SHA512 22cf523cfab0e619687a45442e53b127a1433503b50aef33c23d29e47e11371cdaa03dcd24ba4eb28c530fd905d09e76468365f096213f743ca8f9c585b679e5
DIST nvidia-container-toolkit-1.9.0.tar.gz 1501756 BLAKE2B 5e6b34bab370eff531a67d03590c44512a1e48d8a05715b69b1ff67b145489f19fe6f00bd4bec8634768ef65155221cc750c4a23ea355648ae27ed4d86ace59a SHA512 aa734e5611d2ee6b5a55cbacebf29d7094ff4ff6f3317e381bee529582d7374cccc9297846fd77dbc569df6646095c186f1c0287fa39ea5f15d2a13cf55c8c32
DIST rsc.io%2Fbinaryregexp%2F@v%2Fv0.2.0.mod 36 BLAKE2B 61110bed2b9e99e0250cf6e8b842257202c89b3462edf9368b73cab29f9dbd4dcc66c3e290a1d6329b7d62321eecc52082a8c4c0797eac743a29a8a00910a93f SHA512 db50ff677b0bdccbc1a1ad3df7c5cc76f2fcccf3ab99d08d1c2868440eb9b893fe89452f4286f7d42f2f16abf0f4acda67fe86e174dcfa730a743aafcc166774
DIST rsc.io%2Fquote%2Fv3%2F@v%2Fv3.1.0.mod 55 BLAKE2B f1f0ba35f0ffd200ed37c06b2025c1fd436e3fd857bd525b9295c0cbcade7e1f037e3f566124a7ef428384d50525426f0d40468c967e39bac6057174710e2566 SHA512 e6357ddd7d09692c60e59e6cb80469ade8284052cdd3ea520ec4dbcb42c1cabe045c599e43cce94bec022bd82e87a554ecac42f8c917cf2ff44daff9c1a147d5
diff --git a/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-1.12.1.ebuild b/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-1.12.1.ebuild
new file mode 100644
index 000000000..beb9ab285
--- /dev/null
+++ b/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-1.12.1.ebuild
@@ -0,0 +1,67 @@
+# 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/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"
+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."
+}
next reply other threads:[~2023-03-22 13:20 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-22 13:20 Rui Huang [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-07 19:12 [gentoo-commits] repo/proj/guru:dev commit in: app-containers/nvidia-container-toolkit/ 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-20 18:37 David Reed
2023-06-03 7:48 David Reed
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=1679491156.3866dcb6c9fcd5d26574a031ae5692c531aa122d.vowstar@gentoo \
--to=vowstar@gmail.com \
--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