Skip to content
Snippets Groups Projects
Commit 3f769a65 authored by Damian Alvarez's avatar Damian Alvarez
Browse files

Merge branch 'update_user_installs' into '2020'

Update UserInstallations to be able to build software for user or group

See merge request hps-public/easybuild-repository!594
parents cf5284ed 3a6378c3
No related branches found
No related tags found
No related merge requests found
...@@ -83,6 +83,17 @@ def parse_hook(ec, *args, **kwargs): ...@@ -83,6 +83,17 @@ def parse_hook(ec, *args, **kwargs):
REQUIRE_MODALTSOFTNAME[ec.name], 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 # Check if CUDA is in the dependencies, if so add the GPU Lmod tag
if ( if (
"CUDA" in [dep[0] for dep in iter(ec_dict["dependencies"])] "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