feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 46b00690 was
c101fe1,
checked in by Paul Brossier <piem@piem.org>, 11 years ago
|
waf, waflib: update to 1.7.13
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[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 | |
---|
| 5 | import os |
---|
| 6 | from waflib import Utils |
---|
| 7 | from waflib.Tools import ccroot,ar |
---|
| 8 | from waflib.Configure import conf |
---|
| 9 | @conf |
---|
| 10 | def find_sxx(conf): |
---|
| 11 | v=conf.env |
---|
| 12 | cc=None |
---|
| 13 | if v['CXX']:cc=v['CXX'] |
---|
| 14 | elif'CXX'in conf.environ:cc=conf.environ['CXX'] |
---|
| 15 | if not cc:cc=conf.find_program('CC',var='CXX') |
---|
| 16 | if not cc:cc=conf.find_program('c++',var='CXX') |
---|
| 17 | if not cc:conf.fatal('Could not find a Sun C++ compiler') |
---|
| 18 | cc=conf.cmd_to_list(cc) |
---|
| 19 | try: |
---|
| 20 | conf.cmd_and_log(cc+['-flags']) |
---|
| 21 | except Exception: |
---|
| 22 | conf.fatal('%r is not a Sun compiler'%cc) |
---|
| 23 | v['CXX']=cc |
---|
| 24 | v['CXX_NAME']='sun' |
---|
[c101fe1] | 25 | conf.get_suncc_version(cc) |
---|
[0fa325b] | 26 | @conf |
---|
| 27 | def sxx_common_flags(conf): |
---|
| 28 | v=conf.env |
---|
| 29 | v['CXX_SRC_F']=[] |
---|
| 30 | v['CXX_TGT_F']=['-c','-o'] |
---|
| 31 | if not v['LINK_CXX']:v['LINK_CXX']=v['CXX'] |
---|
| 32 | v['CXXLNK_SRC_F']=[] |
---|
| 33 | v['CXXLNK_TGT_F']=['-o'] |
---|
| 34 | v['CPPPATH_ST']='-I%s' |
---|
| 35 | v['DEFINES_ST']='-D%s' |
---|
| 36 | v['LIB_ST']='-l%s' |
---|
| 37 | v['LIBPATH_ST']='-L%s' |
---|
| 38 | v['STLIB_ST']='-l%s' |
---|
| 39 | v['STLIBPATH_ST']='-L%s' |
---|
| 40 | v['SONAME_ST']='-Wl,-h,%s' |
---|
| 41 | v['SHLIB_MARKER']='-Bdynamic' |
---|
| 42 | v['STLIB_MARKER']='-Bstatic' |
---|
| 43 | v['cxxprogram_PATTERN']='%s' |
---|
| 44 | v['CXXFLAGS_cxxshlib']=['-Kpic','-DPIC'] |
---|
| 45 | v['LINKFLAGS_cxxshlib']=['-G'] |
---|
| 46 | v['cxxshlib_PATTERN']='lib%s.so' |
---|
| 47 | v['LINKFLAGS_cxxstlib']=['-Bstatic'] |
---|
| 48 | v['cxxstlib_PATTERN']='lib%s.a' |
---|
| 49 | def configure(conf): |
---|
| 50 | conf.find_sxx() |
---|
| 51 | conf.find_ar() |
---|
| 52 | conf.sxx_common_flags() |
---|
| 53 | conf.cxx_load_tools() |
---|
| 54 | conf.cxx_add_flags() |
---|
| 55 | conf.link_add_flags() |
---|
Note: See
TracBrowser
for help on using the repository browser.