Skip to content

Conversation

@tmadlener
Copy link
Collaborator

@tmadlener tmadlener commented Dec 17, 2025

BEGINRELEASENOTES

  • Add a few cmake presets to put common build options together.
  • Use presets in CI workflows to reduce some of the duplication that is currently present

ENDRELEASENOTES

@tmadlener tmadlener force-pushed the cmake-presets branch 5 times, most recently from 1202fc3 to 922bc85 Compare December 18, 2025 09:23
@m-fila
Copy link
Contributor

m-fila commented Dec 18, 2025

How about workflow presets to combine configure/build/test presets?

@tmadlener
Copy link
Collaborator Author

I had briefly thought about workflow presets, but they would require schema version 6, aka cmake >= 3.25 and I wasn't sure whether we have that fulfilled in all our CI workflows. However, looking into things, even LCG_104 comes with 3.26.2, so this should be fine.

@tmadlener
Copy link
Collaborator Author

I have looked into workflow presets a bit and it looks like we cannot pass additional options via -D with cmake --workflow --preset. See also: https://discourse.cmake.org/t/workflow-usage/8288/9

At least at the moment we use those quite a bit for some configuration on top of the ci-build preset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants