feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 2e01060 was
0fa325b,
checked in by Paul Brossier <piem@piem.org>, 11 years ago
|
waf: unpack
|
-
Property mode set to
100644
|
File size:
860 bytes
|
Line | |
---|
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 | |
---|
5 | import os,sys |
---|
6 | from waflib.Tools import ccroot,ar,gcc |
---|
7 | from waflib.Configure import conf |
---|
8 | @conf |
---|
9 | def find_icc(conf): |
---|
10 | if sys.platform=='cygwin': |
---|
11 | conf.fatal('The Intel compiler does not work on Cygwin') |
---|
12 | v=conf.env |
---|
13 | cc=None |
---|
14 | if v['CC']:cc=v['CC'] |
---|
15 | elif'CC'in conf.environ:cc=conf.environ['CC'] |
---|
16 | if not cc:cc=conf.find_program('icc',var='CC') |
---|
17 | if not cc:cc=conf.find_program('ICL',var='CC') |
---|
18 | if not cc:conf.fatal('Intel C Compiler (icc) was not found') |
---|
19 | cc=conf.cmd_to_list(cc) |
---|
20 | conf.get_cc_version(cc,icc=True) |
---|
21 | v['CC']=cc |
---|
22 | v['CC_NAME']='icc' |
---|
23 | def configure(conf): |
---|
24 | conf.find_icc() |
---|
25 | conf.find_ar() |
---|
26 | conf.gcc_common_flags() |
---|
27 | conf.gcc_modifier_platform() |
---|
28 | conf.cc_load_tools() |
---|
29 | conf.cc_add_flags() |
---|
30 | conf.link_add_flags() |
---|
Note: See
TracBrowser
for help on using the repository browser.