diff --git a/appveyor.yml b/appveyor.yml index dc822f2b..9b196bab 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,6 @@ version: '1.0.{build}' -image: Visual Studio 2015 +image: Visual Studio 2022 platform: - x64 @@ -26,7 +26,7 @@ install: before_build: - md build - cd build - - cmake -G "Visual Studio 14 2015" -A x64 -T v140,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 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 .. - ls -l build: diff --git a/cudaInstallAppveyor.cmd b/cudaInstallAppveyor.cmd index 381d4048..d6edbae9 100644 --- a/cudaInstallAppveyor.cmd +++ b/cudaInstallAppveyor.cmd @@ -1,19 +1,19 @@ @echo off -echo Downloading CUDA toolkit 9 -appveyor DownloadFile https://developer.nvidia.com/compute/cuda/9.1/Prod/local_installers/cuda_9.1.85_windows -FileName cuda_9.1.85_windows.exe +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 dir -echo Installing CUDA toolkit 9 -cuda_9.1.85_windows.exe -s nvcc_9.1 ^ - cublas_9.1 ^ - cublas_dev_9.1 ^ - cudart_9.1 ^ - curand_9.1 ^ - curand_dev_9.1 +echo Installing CUDA toolkit 12 +cuda_12.0.0_windows.exe -s nvcc_12.0 ^ + cublas_12.0 ^ + cublas_dev_12.0 ^ + cudart_12.0 ^ + curand_12.0 ^ + curand_dev_12.0 -echo CUDA toolkit 9 installed +echo CUDA toolkit 12 installed dir "%ProgramFiles%" -set PATH=%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin;%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v9.1\libnvvp;%PATH% +set PATH=%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v12.0\bin;%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v12.0\libnvvp;%PATH% -nvcc -V \ No newline at end of file +nvcc -V