From f27a7fc85f2f29b8736d1868c21ce5af64fba56a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20=C3=96hman?= Date: Fri, 5 Apr 2024 00:23:18 +0200 Subject: [PATCH] Enable module-depends-on by default --- easybuild/framework/easyconfig/default.py | 2 +- easybuild/tools/options.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/easybuild/framework/easyconfig/default.py b/easybuild/framework/easyconfig/default.py index 1b197ab912..e9ece9a238 100644 --- a/easybuild/framework/easyconfig/default.py +++ b/easybuild/framework/easyconfig/default.py @@ -205,7 +205,7 @@ 'moduleclass': [MODULECLASS_BASE, 'Module class to be used for this software', MODULES], 'moduleforceunload': [False, 'Force unload of all modules when loading the extension', MODULES], 'moduleloadnoconflict': [False, "Don't check for conflicts, unload other versions instead ", MODULES], - 'module_depends_on': [False, 'Use depends_on (Lmod 7.6.1+) for dependencies in generated module ' + 'module_depends_on': [True, 'Use depends_on (Lmod 7.6.1+) for dependencies in generated module ' '(implies recursive unloading of modules).', MODULES], 'recursive_module_unload': [None, "Recursive unload of all dependencies when unloading module " "(True/False to hard enable/disable; None implies honoring " diff --git a/easybuild/tools/options.py b/easybuild/tools/options.py index 73744c0ddc..eee445608a 100644 --- a/easybuild/tools/options.py +++ b/easybuild/tools/options.py @@ -579,7 +579,7 @@ def config_options(self): 'strtuple', 'store', DEFAULT_LOGFILE_FORMAT[:], {'metavar': 'DIR,FORMAT'}), 'module-depends-on': ("Use depends_on (Lmod 7.6.1+) for dependencies in all generated modules " "(implies recursive unloading of modules).", - None, 'store_true', False), + None, 'store_true', True), 'module-extensions': ("Include 'extensions' statement in generated module file (Lua syntax only)", None, 'store_true', False), 'module-naming-scheme': ("Module naming scheme to use", None, 'store', DEFAULT_MNS),