Skip to content

Commit

Permalink
app-containers/nvidia-container-toolkit: update 9999
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Strizhkin <[email protected]>
  • Loading branch information
denisstrizhkin committed Sep 7, 2024
1 parent 61556df commit a4b53ad
Showing 1 changed file with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -34,20 +31,20 @@ 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
}

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"
Expand Down

0 comments on commit a4b53ad

Please sign in to comment.