Skip to content

Commit

Permalink
{2023.06}[GCCcore/12.2.0][GCCcore/12.3.0] BioPerl v1.7.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Top committed Aug 5, 2024
1 parent 82c0d07 commit 448f0ab
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
easyconfigs:
- BLAST+-2.14.0-gompi-2022b.eb
- BioPerl-1.7.8-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ easyconfigs:
- librosa-0.10.1-foss-2023a.eb
- xarray-2023.9.0-gfbf-2023a.eb
- SciTools-Iris-3.9.0-foss-2023a.eb
- BioPerl-1.7.8-GCCcore-12.3.0.eb
11 changes: 11 additions & 0 deletions eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,16 @@ def post_sanitycheck_hook(self, *args, **kwargs):
POST_SANITYCHECK_HOOKS[self.name](self, *args, **kwargs)


def post_sanitycheck_bioperl(self, *args, **kwargs):
"""
Allow the copy of easyblock perlmodule.py to /tmp/eb... after sanity check by changing directory permissions
"""
if self.name == 'BioPerl':
print_msg("Adding user write permission for EasyBuild directories under /tmp/eb*...")
bioperlcmd = "chmod u+w -R /tmp/eb*"
run_cmd(bioperlcmd)


def post_sanitycheck_cuda(self, *args, **kwargs):
"""
Remove files from CUDA installation that we are not allowed to ship,
Expand Down Expand Up @@ -791,5 +801,6 @@ def inject_gpu_property(ec):
}

POST_SANITYCHECK_HOOKS = {
'BioPerl': post_sanitycheck_bioperl,
'CUDA': post_sanitycheck_cuda,
}

0 comments on commit 448f0ab

Please sign in to comment.