Skip to content
Snippets Groups Projects
Commit 3a6378c3 authored by Alan O'Cais's avatar Alan O'Cais
Browse files

Always hide software that is a hidden dep

parent cf5284ed
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,17 @@ def parse_hook(ec, *args, **kwargs):
REQUIRE_MODALTSOFTNAME[ec.name],
)
# Check if the module should be installed as hidden
hidden_pkgs = os.getenv("EASYBUILD_HIDE_DEPS").split(',')
if ec.name in hidden_pkgs:
key = "hidden"
if not key in ec_dict or ec_dict[key] is False:
ec[key] = True
ec.log.info(
"[parse hook] Hiding software found in $EASYBUILD_HIDE_DEPS: %s",
ec.name,
)
# Check if CUDA is in the dependencies, if so add the GPU Lmod tag
if (
"CUDA" in [dep[0] for dep in iter(ec_dict["dependencies"])]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment