diff options
author | terminaldweller <thabogre@gmail.com> | 2022-06-23 15:04:54 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-06-23 15:04:54 +0000 |
commit | 05c365a54dd074872a6c46f7bd0c6680f7588f71 (patch) | |
tree | d896ea101de423427be13cad55418e793c9d03ee /docker/nvidia-docker-toolkit/build_libnvidia_container.sh | |
parent | cointop (diff) | |
download | scripts-05c365a54dd074872a6c46f7bd0c6680f7588f71.tar.gz scripts-05c365a54dd074872a6c46f7bd0c6680f7588f71.zip |
updates
Diffstat (limited to 'docker/nvidia-docker-toolkit/build_libnvidia_container.sh')
-rwxr-xr-x | docker/nvidia-docker-toolkit/build_libnvidia_container.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docker/nvidia-docker-toolkit/build_libnvidia_container.sh b/docker/nvidia-docker-toolkit/build_libnvidia_container.sh new file mode 100755 index 0000000..100caaf --- /dev/null +++ b/docker/nvidia-docker-toolkit/build_libnvidia_container.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +TOOLKIT_DIR=/home/devi/devi/nvidia-docker/container-toolkit/tools/container/toolkit +TOOLKIT=${TOOLKIT_DIR}/toolkit +torsocks make CFLAGS="-I/usr/include/tirpc -fPIC -O2" LDFLAGS=-ltirpc all +ln -s libnvidia-container.so.1.10.0 libnvidia-container.so.1 +sudo cp libnvidia-container.so.1.10.0 /usr/lib64 +sudo ${TOOLKIT} install /home/devi/nvidia-docker-toolkit +# nvidia-container-cli |