Skip to content

Add optional CLI for downstream software in mache.deploy#365

Merged
xylar merged 2 commits intoE3SM-Project:mainfrom
xylar:add-target-software-cli-flags
Mar 22, 2026
Merged

Add optional CLI for downstream software in mache.deploy#365
xylar merged 2 commits intoE3SM-Project:mainfrom
xylar:add-target-software-cli-flags

Conversation

@xylar
Copy link
Copy Markdown
Collaborator

@xylar xylar commented Mar 21, 2026

This pull request adds the option to include custom CLI flags to ./deploy.py in downstream software. For example, this will allow Compass to add a --with-albany flag and use it to optionally install the Albany and Trilinos libraries.

The documentation is updated with this new capability.

The mache version is updated to 3.1.0 to reflect this enhancement.

Checklist

  • User's Guide has been updated if needed
  • Developer's Guide has been updated if needed
  • Documentation builds cleanly and changes look as expected
  • Tests pass and new features are covered by tests
  • Testing comment, if appropriate, in the PR documents testing used to verify the changes

xylar added 2 commits March 21, 2026 13:13
This will allow Compass to add a `--with-albany` flag, for
example, and use it to optionally install the Albany and
Trilinos libraries.
@xylar xylar self-assigned this Mar 21, 2026
@xylar xylar added the enhancement New feature or request label Mar 21, 2026
@xylar
Copy link
Copy Markdown
Collaborator Author

xylar commented Mar 21, 2026

Testing

I have added a --with-albany flag in Compass in MPAS-Dev/compass#944 using this capability. It successfully detects the request for the albany flag in its custom hooks and adds them to the spack yaml file.

@xylar xylar force-pushed the add-target-software-cli-flags branch from d764a93 to 64a4e31 Compare March 21, 2026 15:16
@xylar
Copy link
Copy Markdown
Collaborator Author

xylar commented Mar 22, 2026

Testing

I was able to build Albany under Spack with Compass using this and MPAS-Dev/compass#944

@xylar xylar merged commit a052751 into E3SM-Project:main Mar 22, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant