Include the '-' in the regex to match the IA-32 string on 32 bit windows.

This commit is contained in:
Harald Klimach 2014-09-03 13:50:10 +02:00
parent 2242b53413
commit 7605c17732
1 changed files with 1 additions and 1 deletions

View File

@ -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: