From fdd65affcfbbe6d0434ba3451d4190ebe939f192 Mon Sep 17 00:00:00 2001 From: Carsten Griwodz Date: Fri, 26 Jul 2024 15:00:07 +0200 Subject: [PATCH] platform toolset for VS19 --- appveyor.yml | 2 +- cudaInstallAppveyor.cmd | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 9b196bab..f6e63f89 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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: diff --git a/cudaInstallAppveyor.cmd b/cudaInstallAppveyor.cmd index d6edbae9..45a750da 100644 --- a/cudaInstallAppveyor.cmd +++ b/cudaInstallAppveyor.cmd @@ -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 ^ @@ -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