Update instructions for Ramble's new package manager support #550
linsword13
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Context
A major enhancement that allows Ramble to support different package managers has been merged to the
developbranch (#535.) This is a breaking change and is slated for the next release (v0.6.0). In preparation for this upcoming release, here are the instructions for updating existing configs and object (applications and modifiers) definitions.Update instructions
Update Ramble config (example)
Add a
variantssection to specify the package manager to use.Update the
spackpackage config section to thesoftwaresection. Also changespack_spectopkg_spec.Update applications and modifiers definitions
This is only applicable if you have defined your own Ramble applications and/or modifiers.
Update the base class from
SpackApplication/SpackModifiertoExecutableApplication/BasicModifier. For directives that usespack_spec, change those topkg_specinstead. Additionally for such package manager directives, apackage_managerparameter can be specified to define the applicable package managers. Here is an example that contains these changes.If the application/modifier uses the
<software_spec_name>variable to locate the package installation path, the reference should be updated to<software_spec_name>_path(example)We are here to help!
Please let us know via the comments if you encounter issues or have questions. We are here to assist with the update.
All reactions