mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 00:40:25 +00:00
CI Windows: build CUDA stuff for CC 3.5
Kepler cards are still (and few months will be) supported by NVIDIA.
This commit is contained in:
2
.github/scripts/Windows/prepare.ps1
vendored
2
.github/scripts/Windows/prepare.ps1
vendored
@@ -6,7 +6,7 @@ Set-PSDebug -Trace 1
|
||||
|
||||
# Install CUDA
|
||||
if (!${env:no_cuda}) {
|
||||
$url="https://developer.download.nvidia.com/compute/cuda/12.1.0/network_installers/cuda_12.1.0_windows_network.exe"
|
||||
$url="https://developer.download.nvidia.com/compute/cuda/11.8.0/network_installers/cuda_11.8.0_windows_network.exe"
|
||||
$url -match 'cuda/(?<version>[0-9]+.[0-9]+)'
|
||||
$version=$Matches.version
|
||||
Invoke-WebRequest $url -OutFile cuda_inst.exe
|
||||
|
||||
1
.github/scripts/Windows/prepare_msys.sh
vendored
1
.github/scripts/Windows/prepare_msys.sh
vendored
@@ -7,6 +7,7 @@ export PATH=$MSYSTEM_PREFIX/bin:/usr/local/bin:$PATH
|
||||
export CPATH=/usr/local/include:/usr/include
|
||||
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig:$MSYSTEM_PREFIX/lib/pkgconfig
|
||||
export LIBRARY_PATH=/usr/local/lib
|
||||
export CUDA_FLAGS='--generate-code arch=compute_35,code=sm_35'
|
||||
|
||||
CUDA_D=$(ls -d /c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/*)
|
||||
if test -d "$CUDA_D"; then
|
||||
|
||||
Reference in New Issue
Block a user