New package: nvidia-container-toolkit-1.10.0
This commit is contained in:
parent
c7c73db303
commit
ab9c872933
|
@ -0,0 +1,24 @@
|
|||
# Template file for 'nvidia-container-toolkit'
|
||||
pkgname=nvidia-container-toolkit
|
||||
version=1.10.0
|
||||
revision=1
|
||||
archs="x86_64"
|
||||
build_style=go
|
||||
go_import_path=github.com/NVIDIA/nvidia-container-toolkit
|
||||
go_package="${go_import_path}/cmd/nvidia-container-toolkit
|
||||
${go_import_path}/cmd/nvidia-container-runtime
|
||||
${go_import_path}/cmd/nvidia-ctk"
|
||||
depends="libnvidia-container"
|
||||
short_desc="Build and run containers leveraging NVIDIA GPUs"
|
||||
maintainer="Quentin Freimanis <quentinfreimanis@gmail.com>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://github.com/NVIDIA/nvidia-container-toolkit/"
|
||||
distfiles="https://github.com/NVIDIA/nvidia-container-toolkit/archive/v${version}.tar.gz"
|
||||
checksum=7c88e6b16df92feac9a14f7ca7f2960409c71760b2563fea29c57c8799930db3
|
||||
|
||||
post_install() {
|
||||
ln -sf /usr/bin/nvidia-container-toolkit ${DESTDIR}/usr/bin/nvidia-container-runtime-hook
|
||||
vmkdir /etc/nvidia-container-runtime 755
|
||||
vinstall config/config.toml.centos 644 /etc/nvidia-container-runtime config.toml
|
||||
vinstall oci-nvidia-hook.json 644 /usr/share/containers/oci/hooks.d 00-oci-nvidia-hook.json
|
||||
}
|
Loading…
Reference in New Issue