-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmake: ignore MSB warnings #3109
Conversation
This will fail The offending CMake is NOT the one we are building but rather the one we are using to build it (we build CMake with CMake) Hence, you would need to patch the installed CMake on the Windows CI machines |
The sources contain: # Make sure we can find internal find_package modules only used for
# building CMake and not for shipping externally
list(INSERT CMAKE_MODULE_PATH 0 ${CMake_SOURCE_DIR}/Source/Modules) So there is hope 🤞 |
Some configurations of 'cmake/3.16.2' failed in build 1 (
|
All green in build 3 (
|
@Croydon |
Wohoo. Nevermind, don't listen to me. You are doing amazing work 🎉 🥳 🎉 So, we are going to merge this and push it upstream? 🤔 |
just out of interest, what is the actually problem solved here ? |
No, there was a change in the Windows CI which causes MSVC to produce a warning which is treated by CMake effectively as an error See here #3053 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, not sure if an approval from me helps to merge that faster, but for the case it helps, here it is :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will fix it in the infra, no need to make the recipe more complex just because we are not doing things right in the backend.
@danimtb , what about releasing a new version of C3i? I think it is ready.
@jgsogo Upstream already agreed to welcome a PR fixing this, so I don't see a reason why we shouldn't patch existing versions on CCI. The patch is rather small and can be dropped for future versions as soon as it is upstreamed |
I prefer not to add complexity (maintenance, |
This patch just got merged at https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5348 |
Thank you for pushing this forward @madebr
It is an upstream problem and may also affect other environments similar to C3I, but since it is now upstreamed, it at least won't be a problem for future CMake versions. So I guess it is fine with me if we don't patch the older versions. That said, we got a new "unexpected error" here: 🙈 |
All green in build 4 (
|
I'll close it. I see the other pr will apply the openssl version bump. |
Specify library name and version: cmake/all
I will push the patch upstream but want to test it first on CI.
update:
https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5348
I've read the guidelines for contributing.
I've followed the PEP8 style guides for Python code in the recipes.
I've used the latest Conan client version.
I've tried at least one configuration locally with the
conan-center hook activated.