Skip to content

Commit

Permalink
Merge pull request easybuilders#4719 from Flamefire/cray-list-toolchains
Browse files Browse the repository at this point in the history
Fix FFT entry in --list-toolchain output for Cray toolchains
  • Loading branch information
boegel authored Dec 18, 2024
2 parents 5661bf5 + 93c9702 commit 478767c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions easybuild/tools/docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,7 @@ def list_toolchains_md(tcs):
none_txt = '*(none)*'

# Initialize an empty list of lists for the table data
table_values = [[] for i in range(len(table_titles))]
table_values = [[] for _ in range(len(table_titles))]

for col_id, col_name in enumerate(table_titles):
if col_name == 'NAME':
Expand All @@ -1141,6 +1141,8 @@ def list_toolchains_md(tcs):
entry = 'cray-mpich'
elif col_name == 'LINALG':
entry = 'cray-libsci'
else:
entry = none_txt
# Combine the linear algebra libraries into a single column
elif col_name == 'LINALG':
linalg = []
Expand Down Expand Up @@ -1185,7 +1187,7 @@ def list_toolchains_rst(tcs):
none_txt = '*(none)*'

# Initialize an empty list of lists for the table data
table_values = [[] for i in range(len(table_titles))]
table_values = [[] for _ in range(len(table_titles))]

for col_id, col_name in enumerate(table_titles):
if col_name == 'NAME':
Expand All @@ -1201,6 +1203,8 @@ def list_toolchains_rst(tcs):
entry = 'cray-mpich'
elif col_name == 'LINALG':
entry = 'cray-libsci'
else:
entry = none_txt
# Combine the linear algebra libraries into a single column
elif col_name == 'LINALG':
linalg = []
Expand Down

0 comments on commit 478767c

Please sign in to comment.