Skip to content

Commit

Permalink
Added additional fallback case to install script
Browse files Browse the repository at this point in the history
  • Loading branch information
dorian-bucaille committed May 1, 2022
1 parent 204fb48 commit f0df278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ if [[ "$error_check" == *"The CUDA compiler identification is unknown"* || "$err
nvcc_path=$(which nvcc)
echo "nvcc_path: $nvcc_path"
if [ -z "$nvcc_path" ]; then
printf "NVCC not found. Please install CUDA and try again.\n"
exit 1
printf "NVCC not found. Please install CUDA and try again.\nIf you are sure CUDA is installed on your system, enter the full path to the nvcc executable :"
read nvcc_path
fi
rm -rf ./CMakeFiles
rm ./CMakeCache.txt
Expand Down

0 comments on commit f0df278

Please sign in to comment.