Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions easybuild/framework/easyconfig/easyconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,10 @@ def _parse_dependency(self, dep, hidden=False, build_only=False):
if build_option('hide_deps'):
dependency['hidden'] |= dependency['name'] in build_option('hide_deps')

# check whether all dependencies should be hidden according to --hide-all-deps
if build_option('hide_all_deps'):
dependency['hidden'] = True

# dependency inherits toolchain, unless it's specified to have a custom toolchain
tc = copy.deepcopy(self['toolchain'])
tc_spec = dependency['toolchain']
Expand Down
1 change: 1 addition & 0 deletions easybuild/tools/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def mk_full_default_path(name, prefix=DEFAULT_PREFIX):
'filter_deps',
'filter_env_vars',
'hide_deps',
'hide_all_deps',
'hide_toolchains',
'force_download',
'from_pr',
Expand Down
1 change: 1 addition & 0 deletions easybuild/tools/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ def override_options(self):
None, 'store_true', False),
'hide-deps': ("Comma separated list of dependencies that you want automatically hidden, "
"(e.g. --hide-deps=zlib,ncurses)", 'strlist', 'extend', None),
'hide-all-deps': ("Hide all dependencies", None, 'store_true', False),
'hide-toolchains': ("Comma separated list of toolchains that you want automatically hidden, "
"(e.g. --hide-toolchains=GCCcore)", 'strlist', 'extend', None),
'ignore-checksums': ("Ignore failing checksum verification", None, 'store_true', False),
Expand Down