Skip to content

Commit

Permalink
fix version dotted
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed Sep 20, 2024
1 parent bde5934 commit 60f810c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/dependencies/dependencies_nvcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ wget https://developer.download.nvidia.com/compute/cuda/repos/${distro}/x86_64/c
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt-get update
VERSION_DASHED=$(apt-cache search cuda-compiler* | tail -n1 | cut -d' ' -f1 | sed 's/cuda-compiler-//')
VERSON_DOTTED=$(sed 's/-/\./' <<< $VERSION_DASHED)
sudo apt-get install -y \
cuda-command-line-tools-$VERSION_DASHED \
cuda-compiler-$VERSION_DASHED \
cuda-minimal-build-$VERSION_DASHED
sudo ln -s cuda-$VERSION_DOTTED /usr/local/cuda

0 comments on commit 60f810c

Please sign in to comment.