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

To stop generating entries for deprecated toolchains

parent 248bbbb9
No related branches found
No related tags found
No related merge requests found
...@@ -33,13 +33,23 @@ d_toolchains = { ...@@ -33,13 +33,23 @@ d_toolchains = {
'GCC+OpenMPI': ['gompi', 'gomkl'], 'GCC+OpenMPI': ['gompi', 'gomkl'],
# Don't change the order, intel-compilers and intel-para should be before intel! # Don't change the order, intel-compilers and intel-para should be before intel!
'Intel+ParaStationMPI': ['ipsmpi', 'intel-para'], 'Intel+ParaStationMPI': ['ipsmpi', 'intel-para'],
'Intel+OpenMPI': ['iompi', 'iomkl'],
'Intel+IntelMPI': ['iimpi', 'intel'],
'NVHPC+ParaStationMPI': ['npsmpic'], 'NVHPC+ParaStationMPI': ['npsmpic'],
'NVHPC+OpenMPI': ['nvompic'], 'NVHPC+OpenMPI': ['nvompic'],
# Deprecated
#'Intel+OpenMPI': ['iompi', 'iomkl'],
#'Intel+IntelMPI': ['iimpi', 'intel'],
} }
} }
# List of toolchains to be ignored (due to deprecation, mostly)
ignored_toolchains = [
'iccifort',
'iompi',
'iomkl',
'iimpi',
'intel',
]
# List of packages to be ignored (due to deprecation, split in other # List of packages to be ignored (due to deprecation, split in other
# packages, consolidation or moved to a different toolchain) # packages, consolidation or moved to a different toolchain)
ignored_pkgs = [ ignored_pkgs = [
...@@ -153,8 +163,8 @@ def sw_loop(eb_files): ...@@ -153,8 +163,8 @@ def sw_loop(eb_files):
else: else:
toolchain = 'SYSTEM' toolchain = 'SYSTEM'
# Ignore it, since we will take intel-compilers # Ignore it
if toolchain == 'iccifort': if toolchain in ignored_toolchains:
continue continue
inject(sw_dict, eb_name, toolchain) inject(sw_dict, eb_name, toolchain)
...@@ -308,12 +318,13 @@ def table_generator(sw_dict, acls, table_type): ...@@ -308,12 +318,13 @@ def table_generator(sw_dict, acls, table_type):
'gomkl': 1, 'gomkl': 1,
'ipsmpi': 2, 'ipsmpi': 2,
'intel-para': 2, 'intel-para': 2,
'iompi': 3, 'npsmpic': 3,
'iomkl': 3, 'nvompic': 4
'iimpi': 4, # Deprecated
'intel': 4, # 'iompi': 3,
'npsmpic': 5, # 'iomkl': 3,
'nvompic': 6 # 'iimpi': 4,
# 'intel': 4,
} }
else: else:
table.update({'Packages': d_toolchains[table_type]}) table.update({'Packages': d_toolchains[table_type]})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment