mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 09:40:18 +00:00
CI Win: CUDA/MSVC incompatibility fix
Latest MSVS 2022 17.10.34928.147 (MSVC v14.40.33807) in GH runner 20240603.1.0) is no longer compatible with CUDA 11.8.0.52206. CUDA refuses to compile because of unsupported compiler. Previous version 17.9.34902.65 (GH runner 20240514.3.0) was OK. As MSVS 2022 is supported by CUDA 11.8 in general, we can pass -allow-unsupported-compiler flag.
This commit is contained in:
3
.github/scripts/Windows/prepare_msys.sh
vendored
3
.github/scripts/Windows/prepare_msys.sh
vendored
@@ -8,7 +8,8 @@ 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 INCLUDE='C:\msys64\clang64\include' # for MSVC (CUDA)
|
||||
export CUDA_FLAGS='--generate-code arch=compute_35,code=sm_35'
|
||||
export CUDA_FLAGS="--generate-code arch=compute_35,code=sm_35\
|
||||
-allow-unsupported-compiler"
|
||||
|
||||
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