Skip to content
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

Adjust pkgs meson file for transitioning M4AGO #414

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jmaerz
Copy link
Collaborator

@jmaerz jmaerz commented Oct 18, 2024

This PR informs about potential issues when setting up a run with meson - cime-managed runs are NOT affected.

The PR provides support for any of the current M4AGO versions provided meson >= 0.57 is used.

Background
I recently worked on the M4AGO-sinking-scheme package and introduced a new file, which requires to be explicitly set via meson.build. Typically, a particular tag/sha of M4AGO is checked out (where this change isn't needed), but if one for any reason moves on to M4AGO master, this will create issues when compiling with meson. The code snippet is applicable for meson versions >=0.57, where the meson file system module has been introduced. Otherwise, the file needs to be manually added in the meson.build file. Hope it helps in the current transition period for M4AGO which is for making it more general and future-ready.

@JorgSchwinger and @TomasTorsvik : if wished, I can push it to master - I was just hesitant since the required meson release was Feb. 2021, which isn't too long ago.

@matsbn : I put you in here explicitly, since I know that you are using meson every now and then (not sure, which meson version you're running, though).

…t version

Only relevant, when compiled via meson setups
@jmaerz jmaerz added iHAMOCC Issue mainly concerns the iHAMOCC code base BLOM Issues mainly concerning the BLOM code base Externals labels Oct 18, 2024
@jmaerz jmaerz self-assigned this Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BLOM Issues mainly concerning the BLOM code base Externals iHAMOCC Issue mainly concerns the iHAMOCC code base
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant