File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,10 @@ def verify_toolchains_supported_by_eessi_version(easyconfigs):
174174 site_top_level_toolchains_envvar = 'EESSI_SITE_TOP_LEVEL_TOOLCHAINS_' + eessi_version .replace ('.' , '_' )
175175 site_top_level_toolchains = parse_list_of_dicts_env (site_top_level_toolchains_envvar )
176176 for top_level_toolchain in EESSI_SUPPORTED_TOP_LEVEL_TOOLCHAINS [eessi_version ] + site_top_level_toolchains :
177- supported_eessi_toolchains += get_toolchain_hierarchy (top_level_toolchain )
177+ try :
178+ supported_eessi_toolchains += get_toolchain_hierarchy (top_level_toolchain )
179+ except EasyBuildError as error :
180+ print_msg (f"No toolchain hierarchy found for { top_level_toolchain } , ignoring! ({ error } )" )
178181 for ec in easyconfigs :
179182 toolchain = ec ['ec' ]['toolchain' ]
180183 # if it is a system toolchain or appears in the list, we are all good
You can’t perform that action at this time.
0 commit comments