From 9c4fa5e7d209c6e23f15fe18be01cb7580e57eb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Andr=C3=A9=20Reuter?= Date: Mon, 28 Oct 2024 18:05:29 +0100 Subject: [PATCH] Fix oneAPI sanity check for ifort removal in 2025.0 and newer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan André Reuter --- easybuild/easyblocks/i/intel_compilers.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/easybuild/easyblocks/i/intel_compilers.py b/easybuild/easyblocks/i/intel_compilers.py index a9c49d04e1..4d1c33df6c 100644 --- a/easybuild/easyblocks/i/intel_compilers.py +++ b/easybuild/easyblocks/i/intel_compilers.py @@ -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: