Skip to content

Some modernizations #101

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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

mayrmt
Copy link
Member

@mayrmt mayrmt commented Apr 19, 2025

Description and Context

Some modernizations of the development tool chain:

  • Changes to the python development environment
  • Use pre-commit
  • Introduce CMake presets

Related issues and pull requests

How Has This Been Tested?

I build and ran all tests locally.

Checklist

  • My commit messages mention the appropriate GitHub issue numbers and are longer than one line where appropriate.
  • I have added/updated documentation where necessary.

Additional Information

I also tried to switch to update the Trilinos version presets, however this turned out to be not so straightforward. I'll leave it for the future.

Open question

  • Move to CMake presets and delete do-configure?
  • Switch to newer Trilinos (with proper CMake target configuration)?

Interested Parties / Possible Reviewers

@RShaw026 @isteinbrecher

@mayrmt mayrmt self-assigned this Apr 19, 2025
@mayrmt mayrmt force-pushed the some-modernizations branch from 7bc93b5 to 79116e4 Compare April 19, 2025 22:03
They currently relect the content of do-configure.
@mayrmt mayrmt force-pushed the some-modernizations branch from 79116e4 to ebb754e Compare April 19, 2025 22:06
@mayrmt
Copy link
Member Author

mayrmt commented Apr 19, 2025

@RShaw026 @isteinbrecher Rady for Review!

@mayrmt
Copy link
Member Author

mayrmt commented Apr 20, 2025

Regarding Trilinos: with the CMake preset, I can switch to our newest pre-installed Trilinos (2024_2). In do-configure, I can't find the Trilinos installation.

One possible outcome of this PR is to remove do-configure and switch to CMake presets entirely. Depending on this decision, we can look into changes to the Trilinos configuration.

@mayrmt mayrmt marked this pull request as draft April 20, 2025 04:56
@mayrmt mayrmt mentioned this pull request Apr 20, 2025
1 task
@@ -1,14 +1,38 @@
cmake_minimum_required(VERSION 3.14)
Copy link
Member Author

Choose a reason for hiding this comment

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

If we switch to CMake presets, we need to increase this to >3.25.

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.

1 participant