mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-23 08:50:16 +01:00
Include the '-' in the regex to match the IA-32 string on 32 bit windows.
This commit is contained in:
parent
2242b53413
commit
7605c17732
@ -37,7 +37,7 @@ def ifort_modifier_platform(conf):
|
||||
def get_ifort_version(conf, fc):
|
||||
"""get the compiler version"""
|
||||
|
||||
version_re = re.compile(r"Intel[\sa-zA-Z()0-9,]*Version\s*(?P<major>\d*)\.(?P<minor>\d*)",re.I).search
|
||||
version_re = re.compile(r"Intel[\sa-zA-Z()0-9,-]*Version\s*(?P<major>\d*)\.(?P<minor>\d*)",re.I).search
|
||||
if Utils.is_win32:
|
||||
cmd = fc
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user