Skip to content

Commit

Permalink
[ci] Windows: Add appropriate CUDA flags
Browse files Browse the repository at this point in the history
Add `--allow-unsupported-compiler` and
`ALLOW_COMPILER_AND_STL_VERSION_MISMATCH` flags to prevent fatal errors
induced by the version of the MSVC compiler, which has been updated
in the GitHub image to a recent version that by default does not support
any version of CUDA that is below 12.1.
  • Loading branch information
cbentejac committed Oct 4, 2024
1 parent 1d5b5c5 commit 6593648
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ jobs:
-DALICEVISION_BUILD_STEREOPHOTOMETRY=OFF
-DALICEVISION_BUILD_SEGMENTATION=OFF
-DBOOST_NO_CXX11=ON
-DCUDA_NVCC_FLAGS=--allow-unsupported-compiler;-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH

# This input tells run-cmake to consume the vcpkg.cmake toolchain file set by run-vcpkg.
cmakeBuildType: Release
buildWithCMake: true
Expand Down

0 comments on commit 6593648

Please sign in to comment.