Skip to content

Commit b3654c2

Browse files
author
Vasileios Karakasis
authored
Merge pull request #1712 from teojgo/test/cray_variables_cdt2011
[test] Update Cray variable test for cdt/20.11
2 parents 9399103 + af2ec71 commit b3654c2

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

cscs-checks/prgenv/environ_check.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,15 @@ def __init__(self, module_name):
6262
sn.assert_found(f'{envvar_prefix}_VERSION', self.stderr)
6363
])
6464

65-
# These modules should be fixed in later releases
65+
# FIXME: These modules should be fixed in later releases,
66+
# while gcc was fixed in 20.11
67+
6668
cdt = osext.cray_cdt_version()
67-
if (cdt and cdt <= '20.10' and
68-
module_name in ['cray-petsc-complex',
69-
'cray-petsc-complex-64',
70-
'cudatoolkit', 'gcc']):
69+
if ((cdt and cdt <= '20.11' and
70+
module_name in ['cray-petsc-complex',
71+
'cray-petsc-complex-64',
72+
'cudatoolkit']) or
73+
(cdt and cdt < 20.11 and module_name == 'gcc')):
7174
self.valid_systems = []
7275

7376
self.maintainers = ['EK', 'VH']

0 commit comments

Comments
 (0)