Skip to content

ci: update cmake version#5612

Merged
CarolYeh910 merged 3 commits intoaws:mainfrom
CarolYeh910:update-cmake-version
Nov 11, 2025
Merged

ci: update cmake version#5612
CarolYeh910 merged 3 commits intoaws:mainfrom
CarolYeh910:update-cmake-version

Conversation

@CarolYeh910
Copy link
Copy Markdown
Contributor

@CarolYeh910 CarolYeh910 commented Nov 10, 2025

Goal

resolves #5607

Why

Gentoo is warning about cmake <3.10 backwards compatibility getting deprecated. We should upgrade to the newer versions of cmake if possible.

How

Change the minimum required cmake version to 3.10

Testing

CI should pass

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Nov 10, 2025
Copy link
Copy Markdown
Contributor

@dougch dougch left a comment

Choose a reason for hiding this comment

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

Did some checking... Ubuntu18 has 3.10; other older platforms/test don't use cmake.

@CarolYeh910 CarolYeh910 added this pull request to the merge queue Nov 11, 2025
Merged via the queue into aws:main with commit e55fa0d Nov 11, 2025
52 checks passed
@CarolYeh910 CarolYeh910 deleted the update-cmake-version branch November 11, 2025 19:33
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.9)
cmake_minimum_required (VERSION 3.10)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This can be updated to 3.10..3.31 which covers all main versions, I've tested with 3.31 and the build works.

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.

cmake version

4 participants