Skip to content

cmake: Allow building with fmt <= 11.1.4#62564

Merged
tchaikov merged 1 commit intoceph:mainfrom
tchaikov:cmake-fmt
Apr 1, 2025
Merged

cmake: Allow building with fmt <= 11.1.4#62564
tchaikov merged 1 commit intoceph:mainfrom
tchaikov:cmake-fmt

Conversation

@tchaikov
Copy link
Contributor

@tchaikov tchaikov commented Mar 30, 2025

Testing confirms successful builds with fmt 11.1.4, which is currently packaged in Fedora 42. This change relaxes the fmt version constraints to improve compatibility with Fedora 42 and other distributions shipping this version of fmt-devel.

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

Testing confirms successful builds with fmt 11.1.4, which is currently
packaged in Fedora 42. This change relaxes the fmt version constraints
to improve compatibility with Fedora 42 and other distributions shipping
this version of fmt-devel.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
@tchaikov
Copy link
Contributor Author

@adamemerson hi Adam, could you please help review this change?

@tchaikov
Copy link
Contributor Author

the tox test failures in cephfs-top and qa should be fixed by #62567.

Copy link
Contributor

@Matan-B Matan-B left a comment

Choose a reason for hiding this comment

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

Our submodule is using 11.0.2 #58990 (and could also be updated probably - #62568).

I see no reason for the system's fmt support to lag behind.
Thanks!

@Matan-B Matan-B mentioned this pull request Mar 30, 2025
14 tasks
@ronen-fr
Copy link
Contributor

jenkins test make check

@ronen-fr
Copy link
Contributor

jenkins test make check arm64

@tchaikov
Copy link
Contributor Author

jenkins test make check

@tchaikov
Copy link
Contributor Author

jenkins test make check arm64

@tchaikov tchaikov merged commit 6ac2b52 into ceph:main Apr 1, 2025
17 checks passed
@tchaikov tchaikov deleted the cmake-fmt branch April 1, 2025 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants