Skip to content

Commit

Permalink
Fix oneAPI sanity check for ifort removal in 2025.0 and newer
Browse files Browse the repository at this point in the history
Signed-off-by: Jan André Reuter <[email protected]>
  • Loading branch information
Thyre committed Oct 28, 2024
1 parent 2e2d6a3 commit 9c4fa5e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion easybuild/easyblocks/i/intel_compilers.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ def sanity_check_step(self):
]
bindir = os.path.join(self.compilers_subdir, 'bin')
oneapi_compiler_paths = [os.path.join(bindir, x) for x in oneapi_compiler_cmds]
if LooseVersion(self.version) >= LooseVersion('2024'):
if LooseVersion(self.version) >= LooseVersion('2025'):
classic_compiler_cmds = []
elif LooseVersion(self.version) >= LooseVersion('2024'):
classic_compiler_cmds = ['ifort']
classic_bindir = bindir
else:
Expand Down

0 comments on commit 9c4fa5e

Please sign in to comment.