Skip to content

Commit

Permalink
trying newer Windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Carsten Griwodz committed Jul 26, 2024
1 parent b3ad67c commit 10d90b6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: '1.0.{build}'

image: Visual Studio 2015
image: Visual Studio 2022

platform:
- x64
Expand All @@ -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:
Expand Down
24 changes: 12 additions & 12 deletions cudaInstallAppveyor.cmd
Original file line number Diff line number Diff line change
@@ -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
nvcc -V

0 comments on commit 10d90b6

Please sign in to comment.