Skip to content

Conversation

@cbentejac
Copy link
Contributor

Description

This PR fixes the Windows build of AliceVision in the GitHub's workflow. Following an update of the image, the MSVC compiler's version was too recent to support by default the compilation of projects using a version of CUDA below 12.1.

Flags to bypass the fatal checks and go through with the compilation have been added.

Additionally, all references to the build flag ALICEVISION_BUILD_EXAMPLES have been removed, as the flag itself has been removed from the project at the same time as the samples.

@cbentejac cbentejac added this to the 3.3.0 milestone Oct 4, 2024
@cbentejac cbentejac self-assigned this Oct 4, 2024
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.
The `ALICEVISION_BUILD_EXAMPLES` flag has been removed when the samples
have been removed from the project, it is thus useless to keep any
reference to it.
Copy link
Contributor

@servantftransperfect servantftransperfect left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, _ALLOW_COMPILER_AND_STL_VERSION_MISMATCH would frighten me, but scoped to continuous integration seems ok.

@servantftransperfect servantftransperfect merged commit b6393db into develop Oct 7, 2024
@servantftransperfect servantftransperfect deleted the ci/fixWindows branch October 7, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants