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

run post-install commands specified for a specific extension #3696

Merged
merged 2 commits into from
May 25, 2021

Conversation

boegel
Copy link
Member

@boegel boegel commented May 25, 2021

Without this change, specifying postinstallcmds for a specific extension is futile, they're just ignored because post_install_step is not run for extensions.

A workaround was implemented in the PythonPackage eaysblock for this in easybuilders/easybuild-easyblocks#2381 which introduces a custom easyconfig paramter named ext_postinstallcmds, which is no longer needed thanks to the changes here.

Both #3663 and easybuilders/easybuild-easyblocks#2404 can be closed once this is merged.

The custom ext_postinstallcmds easyconfig parameter for PythonPackage should be removed again (it's only there in develop, not included yet with an EasyBuild release), and the 2 easyconfigs that use it should be tweaked to use postinstallcmds instead (DROP-1.0.3-foss-2020b-R-4.0.3.eb and CNVkit-0.9.8-foss-2020b-R-4.0.3.eb).

Copy link
Contributor

@akesandgren akesandgren left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@smoors smoors left a comment

Choose a reason for hiding this comment

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

lgtm
test report in easybuilders/easybuild-easyconfigs#12950
checked that it works with postinstallcmds for both the global easyconfig and extensions

@smoors
Copy link
Contributor

smoors commented May 25, 2021

Going in, thanks @boegel!

@smoors smoors merged commit eb532d0 into easybuilders:develop May 25, 2021
@boegel boegel deleted the ext_postinstallcmds branch May 25, 2021 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants