Skip to content

Commit

Permalink
platform toolset for VS19
Browse files Browse the repository at this point in the history
  • Loading branch information
Carsten Griwodz committed Jul 26, 2024
1 parent 10d90b6 commit fdd65af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ install:
before_build:
- md build
- cd build
- cmake -G "Visual Studio 17 2022" -A x64 -T v170,host=x64 -DBUILD_SHARED_LIBS=%DBUILD_SHARED_LIBS% -DPopSift_BUILD_DOCS:BOOL=OFF -DPopSift_USE_POSITION_INDEPENDENT_CODE:BOOL=%DBUILD_SHARED_LIBS% -DPopSift_BUILD_EXAMPLES:BOOL=ON -DCMAKE_BUILD_TYPE=%configuration% -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake ..
- cmake -G "Visual Studio 17 2022" -A x64 -T v143,host=x64 -DBUILD_SHARED_LIBS=%DBUILD_SHARED_LIBS% -DPopSift_BUILD_DOCS:BOOL=OFF -DPopSift_USE_POSITION_INDEPENDENT_CODE:BOOL=%DBUILD_SHARED_LIBS% -DPopSift_BUILD_EXAMPLES:BOOL=ON -DCMAKE_BUILD_TYPE=%configuration% -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake ..
- ls -l

build:
Expand Down
9 changes: 5 additions & 4 deletions cudaInstallAppveyor.cmd
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
@echo off
echo Downloading CUDA toolkit 12 for Windows 11
appveyor DownloadFile https://developer.download.nvidia.com/compute/cuda/12.0.0/local_installers/cuda_12.0.0_527.41_windows.exe -Filename cuda_12.0.0_windows.exe
echo Downloading CUDA toolkit 12 for Windows 10
appveyor DownloadFile https://developer.download.nvidia.com/compute/cuda/12.5.1/local_installers/cuda_12.5.1_555.85_windows.exe -Filename cuda_12.5.1_windows.exe

dir
echo Installing CUDA toolkit 12
cuda_12.0.0_windows.exe -s nvcc_12.0 ^
cuda_12.5.1_windows.exe -s nvcc_12.0 ^
cublas_12.0 ^
cublas_dev_12.0 ^
cudart_12.0 ^
Expand All @@ -14,6 +15,6 @@ echo CUDA toolkit 12 installed

dir "%ProgramFiles%"

set PATH=%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v12.0\bin;%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v12.0\libnvvp;%PATH%
set PATH=%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v12.5\bin;%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v12.5\libnvvp;%PATH%

nvcc -V

0 comments on commit fdd65af

Please sign in to comment.