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

To don't include packages in the list that we don't want to have there

parent 5bd4d28c
Branches
No related tags found
No related merge requests found
...@@ -40,6 +40,26 @@ d_toolchains = { ...@@ -40,6 +40,26 @@ d_toolchains = {
} }
} }
# List of packages to be ignored (due to deprecation, split in other
# packages, consolidation or moved to a different toolchain)
ignored_pkgs = [
'basemap', # Deprecated in favour of Cartopy
'iccifort', # Renamed to intel-compilers
'itstool', # Renamed to ITSTool
'libfabric', # Not needed, since we won't install OpenMPI in JURECA booster (only place where it was relevant)
'meld', # meld is broken (segmentation fault) and it pulls in too much packages for something not so important
'nvptx-tools', # Integrated in GCC
'parallel-netcdf', # Renamed to PnetCDF
'scikit', # Split in multiple packages
'unzip', # Renamed to UnZip
'Boost', # Moved to GCCcore, so let's remove it here so it doesn't show up in MPI toolchains
'Boost.Python', # Moved to GCCcore, so let's remove it here so it doesn't show up in MPI toolchains
'Elemental', # Deprecated, let's drop it
'HDFView', # Latest release not compatible with latest HDF5, so let's ignore it for the time being
'Julia.CUDA', # Integrated in Julia
'Julia.MPI', # Integrated in Julia
]
def find_eb_files(path): def find_eb_files(path):
eb_files = [] eb_files = []
for root, dirs, files in os.walk(path): for root, dirs, files in os.walk(path):
...@@ -64,7 +84,7 @@ def sw_loop(eb_files): ...@@ -64,7 +84,7 @@ def sw_loop(eb_files):
toolchains = d_toolchains['base'] + d_toolchains['compiler'] + [t for t in d_toolchains['mpi']] + [ toolchains = d_toolchains['base'] + d_toolchains['compiler'] + [t for t in d_toolchains['mpi']] + [
t for sublist in list(d_toolchains['mpi'].values()) for t in sublist] t for sublist in list(d_toolchains['mpi'].values()) for t in sublist]
version_matcher = re.compile('^[0-9]+') version_matcher = re.compile('^v?[0-9]+')
sw_dict = {} sw_dict = {}
...@@ -74,7 +94,7 @@ def sw_loop(eb_files): ...@@ -74,7 +94,7 @@ def sw_loop(eb_files):
eb_l = eb.split('-') eb_l = eb.split('-')
eb_name = eb_l[0] eb_name = eb_l[0]
if eb_name == 'iccifort': if eb_name in ignored_pkgs or '-'.join([eb_name, eb_l[1]]) in ignored_pkgs:
continue continue
if eb_l[1] == 'settings': if eb_l[1] == 'settings':
...@@ -146,7 +166,7 @@ def table_formatter(table, compare_repo=False): ...@@ -146,7 +166,7 @@ def table_formatter(table, compare_repo=False):
global html global html
sw_name_max_len = 30 sw_name_max_len = 30
owner_max_len = 12 owner_max_len = 16
if emojis: if emojis:
len_padding = 1 len_padding = 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment