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

Make the check also work in for -mt toolchains

parent 800d95ce
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,8 @@ class Ipsmpi(IccIfort, IntelCompilersToolchain, Psmpi): ...@@ -59,7 +59,8 @@ class Ipsmpi(IccIfort, IntelCompilersToolchain, Psmpi):
# 'a' is assumed to be equivalent with '.01' (January), and 'b' with '.07' (June) # 'a' is assumed to be equivalent with '.01' (January), and 'b' with '.07' (June)
# (good enough for this purpose) # (good enough for this purpose)
self.ipsmpi_ver = self.version.replace('a', '.01').replace('b', '.07') self.ipsmpi_ver = self.version.replace('a', '.01').replace('b', '.07')
if LooseVersion(self.ipsmpi_ver) >= LooseVersion('2020.12'): # Strip out -mt if necessary for the comparison, otherwise it breaks
if LooseVersion(self.ipsmpi_ver.replace('-mt', '')) >= LooseVersion('2020.12'):
self.oneapi_gen = True self.oneapi_gen = True
self.SUBTOOLCHAIN = IntelCompilersToolchain.NAME self.SUBTOOLCHAIN = IntelCompilersToolchain.NAME
self.COMPILER_MODULE_NAME = IntelCompilersToolchain.COMPILER_MODULE_NAME self.COMPILER_MODULE_NAME = IntelCompilersToolchain.COMPILER_MODULE_NAME
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment