Changeset 904702d for waflib/Tools/ifort.py
- Timestamp:
- Mar 14, 2015, 6:06:10 PM (10 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 6d7acc8
- Parents:
- 5525507
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waflib/Tools/ifort.py
r5525507 r904702d 10 10 def find_ifort(conf): 11 11 fc=conf.find_program('ifort',var='FC') 12 fc=conf.cmd_to_list(fc)13 12 conf.get_ifort_version(fc) 14 13 conf.env.FC_NAME='IFORT' … … 30 29 @conf 31 30 def get_ifort_version(conf,fc): 32 version_re=re.compile(r"ifort\s*\(IFORT\)\s*(?P<major>\d*)\.(?P<minor>\d*)",re.I).search 33 cmd=fc+['--version'] 31 version_re=re.compile(r"Intel[\sa-zA-Z()0-9,-]*Version\s*(?P<major>\d*)\.(?P<minor>\d*)",re.I).search 32 if Utils.is_win32: 33 cmd=fc 34 else: 35 cmd=fc+['-logo'] 34 36 out,err=fc_config.getoutput(conf,cmd,stdin=False) 35 37 if out:
Note: See TracChangeset
for help on using the changeset viewer.