-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Downgrade CMake to 3.31 #11926
Comments
This also caught my team and broke our CI. |
Now the Windows builds are failing as well due to installing |
Note the documentation in this repo is also out of date, eg. https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md says:
|
Caught us as well. A major version bump of any package should not be done to the existing "latest" image. Oh, and I'd add that this should be a "bug report" not a "feature request" since it was done without warning and without even updating the documentation. |
And I just realized that the release this change is in is in "pre-release" status so how did it get actually pushed to ubuntu:latest??? |
We had to downgrade CMake manually in all our workflows. |
CMake has been updated to 4.0 which breaks compatibility with all project targeting version < 3.5. See for more user stories: actions/runner-images#11926 Remove 4.0 from path and use the one from VS installation which is working for now. Generally we want to use only tools from VS installation, but unfortunatelly Windows image provided by GHA have poluted PATH which already causes issues in the past, that's why we remove yet another directory from PATH. The affected project in our case is https://github.com/webmproject/sjpeg which is build as part of libjxl.
CMake has been updated to 4.0 which breaks compatibility with all project targeting version < 3.5. See for more user stories: actions/runner-images#11926 Remove 4.0 from path and use the one from VS installation which is working for now. Generally we want to use only tools from VS installation, but unfortunately Windows image provided by GHA have polluted PATH which already causes issues in the past, that's why we remove yet another directory from PATH. The affected project in our case is https://github.com/webmproject/sjpeg which is build as part of libjxl.
CMake has been updated to 4.0 which breaks compatibility with all project targeting version < 3.5. See for more user stories: actions/runner-images#11926 Remove 4.0 from path and use the one from VS installation which is working for now. Generally we want to use only tools from VS installation, but unfortunately Windows image provided by GHA have polluted PATH which already causes issues in the past, that's why we remove yet another directory from PATH. The affected project in our case is https://github.com/webmproject/sjpeg which is build as part of libjxl.
CMake has been updated to 4.0 which breaks compatibility with all project targeting version < 3.5. See for more user stories: actions/runner-images#11926 Remove 4.0 from path and use the one from VS installation which is working for now. Generally we want to use only tools from VS installation, but unfortunately Windows image provided by GHA have polluted PATH which already causes issues in the past, that's why we remove yet another directory from PATH. The affected project in our case is https://github.com/webmproject/sjpeg which is build as part of libjxl.
Hi @seagetch - Thank you for bringing this issue to our attention. We will look into this issue and will update you after investigating. |
@kishorekumar-anchala It's not just Ubuntu, Windows images suffer from this too (the image is a pre-release yet ended up being pushed for Please don't experiment with the community this way. |
…CMake projects not compatible with CMake 4.0 (actions/runner-images#11926). Signed-off-by: Marat Abrarov <[email protected]>
…CMake projects not compatible with CMake 4.0 (actions/runner-images#11926). Signed-off-by: Marat Abrarov <[email protected]>
…CMake projects not compatible with CMake 4.0 (actions/runner-images#11926). Signed-off-by: Marat Abrarov <[email protected]>
…CMake projects not compatible with CMake 4.0 (actions/runner-images#11926). Signed-off-by: Marat Abrarov <[email protected]>
…CMake projects not compatible with CMake 4.0 (actions/runner-images#11926). Signed-off-by: Marat Abrarov <[email protected]>
Some github runners embed now a cmake>=4.0 which is not yet compatible with the cmake files. So we freeze it to the previous version (3.31.6) thanks to a dedicated github action. See the issue and the workaround here: actions/runner-images#11926 (comment)
…CMake projects not compatible with CMake 4.0 (actions/runner-images#11926). Signed-off-by: Marat Abrarov <[email protected]>
…CMake projects not compatible with CMake 4.0 (actions/runner-images#11926). Signed-off-by: Marat Abrarov <[email protected]>
Some github runners embed now a cmake>=4.0 which is not yet compatible with the cmake files. So we freeze it to the previous version (3.31.6) thanks to a dedicated github action. See the issue and the workaround here: actions/runner-images#11926 (comment)
For whatever reason, some modern package managers/envs think it's wise to use 'latest' for about everything. Even for the most important building tools, even when said tools release a major new version warning about big compatibility breakage. Stay on CMake 3.31 until the ecosystem is fixed for CMake 4. See actions/runner-images#11926.
Hi All, The PR has been merged, kindly sync the main branch, W are closing this issue. Thanks. |
…with third-party library CMake projects not compatible with CMake 4.0 (actions/runner-images#11926). Signed-off-by: Marat Abrarov <[email protected]>
…CMake projects not compatible with CMake 4.0 (actions/runner-images#11926).
…CMake projects not compatible with CMake 4.0 (actions/runner-images#11926). Signed-off-by: Marat Abrarov <[email protected]>
…CMake projects not compatible with CMake 4.0 (actions/runner-images#11926). Signed-off-by: Marat Abrarov <[email protected]>
…CMake projects not compatible with CMake 4.0 (actions/runner-images#11926). Signed-off-by: Marat Abrarov <[email protected]>
…CMake projects not compatible with CMake 4.0 (actions/runner-images#11926). Signed-off-by: Marat Abrarov <[email protected]>
…CMake projects not compatible with CMake 4.0 (actions/runner-images#11926). Signed-off-by: Marat Abrarov <[email protected]>
…CMake projects not compatible with CMake 4.0 (actions/runner-images#11926). Signed-off-by: Marat Abrarov <[email protected]>
…CMake projects not compatible with CMake 4.0 (actions/runner-images#11926). Signed-off-by: Marat Abrarov <[email protected]>
…CMake projects not compatible with CMake 4.0 (actions/runner-images#11926). Signed-off-by: Marat Abrarov <[email protected]>
Tool name
cmake
Tool license
BSD 3-clause
Add or update?
Desired version
3.31
Approximate size
No response
Brief description of tool
Since cmake 4.0.0 breaks backward compatibility, it should not be altered silently unless user explicitly specifies it in the script.
URL for tool's homepage
No response
Provide a basic test case to validate the tool's functionality.
Platforms where you need the tool
Runner images where you need the tool
Can this tool be installed during the build?
Tool installation time in runtime
No response
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: