Skip to content

Commit

Permalink
adding VS studio build extensions to the list of manually installed s…
Browse files Browse the repository at this point in the history
…tuff
  • Loading branch information
Carsten Griwodz committed Jul 30, 2024
1 parent 1b624f0 commit 8c8b799
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions cudaInstallAppveyor.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,25 @@ echo Downloading CUDA toolkit 12 for Windows 10
appveyor DownloadFile https://developer.download.nvidia.com/compute/cuda/redist/cuda_nvcc/windows-x86_64/cuda_nvcc-windows-x86_64-12.5.82-archive.zip -Filename cuda_nvcc.zip
appveyor DownloadFile https://developer.download.nvidia.com/compute/cuda/redist/cuda_cudart/windows-x86_64/cuda_cudart-windows-x86_64-12.5.82-archive.zip -Filename cuda_cudart.zip
appveyor DownloadFile https://developer.download.nvidia.com/compute/cuda/redist/cuda_nvtx/windows-x86_64/cuda_nvtx-windows-x86_64-12.5.82-archive.zip -Filename cuda_nvtx.zip
appveyor DownloadFile https://developer.download.nvidia.com/compute/cuda/redist/visual_studio_integration/windows-x86_64/visual_studio_integration-windows-x86_64-12.5.82-archive.zip -Filename vs_integration.zip
dir

echo Unzipping CUDA toolkit 12
tar -xf cuda_nvcc.zip
tar -xf cuda_cudart.zip
tar -xf cuda_nvtx.zip
tar -xf vs_integration.zip
dir

echo Making CUDA install dir
echo Making CUDA install dir(s)
mkdir "%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v12.5"
mkdir "%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v12.5\extras"

echo Copying toolkit files to install dir
echo Copying toolkit files to install dir(s)
xcopy cuda_cudart-windows-x86_64-12.5.82-archive "%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v12.5" /s /e /i /y
xcopy cuda_nvcc-windows-x86_64-12.5.82-archive "%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v12.5" /s /e /i /y
xcopy cuda_nvtx-windows-x86_64-12.5.82-archive "%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v12.5" /s /e /i /y
xcopy visual_studio_integration-windows-x86_64-12.5.82-archive "%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v12.5\extras" /s /e /i /y


# echo Installing CUDA toolkit 12
Expand All @@ -34,6 +38,7 @@ dir "%ProgramFiles%"
set PATH=%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v12.5\bin;%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v12.5\libnvvp;%PATH%

dir "%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA"
dir "%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v12.5"
dir "%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v12.5\bin"

nvcc -V

0 comments on commit 8c8b799

Please sign in to comment.