source: waflib/Tools/icc.py @ 44755a0

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 44755a0 was 904702d, checked in by Paul Brossier <piem@piem.org>, 10 years ago

waf, waflib: update to 1.8.7

  • Property mode set to 100644
File size: 624 bytes
RevLine 
[0fa325b]1#! /usr/bin/env python
2# encoding: utf-8
3# WARNING! Do not edit! http://waf.googlecode.com/git/docs/wafbook/single.html#_obtaining_the_waf_file
4
5import os,sys
6from waflib.Tools import ccroot,ar,gcc
7from waflib.Configure import conf
8@conf
9def find_icc(conf):
10        if sys.platform=='cygwin':
11                conf.fatal('The Intel compiler does not work on Cygwin')
[904702d]12        cc=conf.find_program(['icc','ICL'],var='CC')
[0fa325b]13        conf.get_cc_version(cc,icc=True)
[904702d]14        conf.env.CC_NAME='icc'
[0fa325b]15def configure(conf):
16        conf.find_icc()
17        conf.find_ar()
18        conf.gcc_common_flags()
19        conf.gcc_modifier_platform()
20        conf.cc_load_tools()
21        conf.cc_add_flags()
22        conf.link_add_flags()
Note: See TracBrowser for help on using the repository browser.