Commit 26149741 authored by Ran Wang's avatar Ran Wang

Update runtime

parent 48682350
CUDA_LIBS = libcudart.so.12 libcusparse.so.12 libcufft.so.11 libcurand.so.10 libcublas.so.12 libcublasLt.so.12 libnvJitLink.so.12
all: all:
test -f cuda-runtime-12.9.tar.xz
test -f cuda-runtime-12.9.tar.xz.sha256
sha256sum -c cuda-runtime-12.9.tar.xz.sha256
tar xf cuda-runtime-12.9.tar.xz -C / tar xf cuda-runtime-12.9.tar.xz -C /
for lib in $(CUDA_LIBS); do test -e /usr/local/cuda-12.9/lib64/$$lib; done
test ! -e /usr/local/cuda-12.9/bin/nvcc
test ! -e /usr/local/cuda-12.9/nvvm
test ! -e /usr/local/cuda-12.9/include
test -z "$$(find /usr/local/cuda-12.9/lib64 -maxdepth 1 -name 'libnpp*' -print -quit)"
test -z "$$(find /usr/local/cuda-12.9 -type f -name '*.a' -print -quit)"
install -d /etc/ld.so.conf.d install -d /etc/ld.so.conf.d
install -m 0644 cuda-12-9.conf /etc/ld.so.conf.d/cuda-12-9.conf install -m 0644 cuda-12-9.conf /etc/ld.so.conf.d/cuda-12-9.conf
touch /etc/ld.so.conf
grep -qxF /usr/local/cuda-12.9/lib64 /etc/ld.so.conf || \
echo /usr/local/cuda-12.9/lib64 >> /etc/ld.so.conf
ln -sfn cuda-12.9 /usr/local/cuda ln -sfn cuda-12.9 /usr/local/cuda
ldconfig ldconfig
for lib in $(CUDA_LIBS); do \
ldconfig -p | grep -F $$lib; \
done
f3edf8fa532c4f50e451247f774de967b96b1438e99fd2b03865e508d78e45ad cuda-runtime-12.9.tar.xz
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment