-
Notifications
You must be signed in to change notification settings - Fork 203
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
also support %(installdir)s and %(builddir)s templates for extensions #3237
also support %(installdir)s and %(builddir)s templates for extensions #3237
Conversation
This solves my problem of using %(installdir)s in a preinstallopts in an exts_list in GROMACS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akesandgren lgtm, but needs to be covered in the tests too...
easybuild/framework/extension.py
Outdated
@@ -111,6 +111,11 @@ def __init__(self, mself, ext, extra_params=None): | |||
# construct dict with template values that can be used | |||
self.cfg.template_values.update(template_constant_dict({'name': name, 'version': version})) | |||
|
|||
# Add install/builddir templates, copied from update_config_template_run_step | |||
# do we need to call self.cfg.generate_template_values() after? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to call generate_template_values
, so you can drop this comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought so, since that's already done in master.
Clarify where the values for install/builddir is coming from.
BTW, this is going to be vital for GROMACS 2020.1 with the gmxapi extension. |
No description provided.