Skip to content

Commit

Permalink
Prefix $PATH with /usr/local/cuda/bin
Browse files Browse the repository at this point in the history
 So that nvcc is available.
 #CCCP-1853
  • Loading branch information
martbhell committed Jul 11, 2019
1 parent 4031c32 commit a6d4e50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions elements/nvidia-cuda/pre-install.d/01-nvidia-cuda-repo
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ else
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
dpkg -i cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
apt-get update
echo 'PATH=/usr/local/cuda/bin:$PATH # So latest NVCC is in $PATH' > /etc/profile.d/csc_cuda_bin.sh
fi

exit 0

0 comments on commit a6d4e50

Please sign in to comment.