- Timestamp:
- Nov 17, 2011, 2:29:35 AM (13 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:
- cfaa3c4
- Parents:
- e298138
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wscript
re298138 r729a3c0 31 31 opt.add_option('--enable-double', action='store_true', default=False, 32 32 help='compile aubio in double precision mode') 33 opt.add_option('--disable-fftw', action='store_true', default=False, 34 help='compile with ooura instead of fftw') 33 35 opt.add_option('--disable-fftw3f', action='store_true', default=False, 34 36 help='compile with fftw3 instead of fftw3f') … … 86 88 conf.define('HAVE_AUBIO_DOUBLE', 0) 87 89 88 # one of fftwf or fftw3f 89 if (Options.options.disable_fftw3f == True): 90 conf.check_cfg(package = 'fftw3', atleast_version = '3.0.0', 91 args = '--cflags --libs') 92 else: 93 # fftw3f not disabled, take most sensible one according to enable_double 94 if (Options.options.enable_double == True): 90 if (Options.options.disable_fftw == False): 91 # one of fftwf or fftw3f 92 if (Options.options.disable_fftw3f == True): 95 93 conf.check_cfg(package = 'fftw3', atleast_version = '3.0.0', 96 94 args = '--cflags --libs') 97 95 else: 98 conf.check_cfg(package = 'fftw3f', atleast_version = '3.0.0', 99 args = '--cflags --libs') 96 # fftw3f not disabled, take most sensible one according to enable_double 97 if (Options.options.enable_double == True): 98 conf.check_cfg(package = 'fftw3', atleast_version = '3.0.0', 99 args = '--cflags --libs') 100 else: 101 conf.check_cfg(package = 'fftw3f', atleast_version = '3.0.0', 102 args = '--cflags --libs') 103 conf.define('HAVE_FFTW3', 1) 104 else: 105 # fftw disabled, use ooura 106 pass 100 107 101 108 # optional dependancies … … 192 199 if str(target_name).endswith('test-phasevoc-jack.c'): 193 200 this_target.includes = ['src', 'examples'] 194 this_target.use = ['aubio']195 201 this_target.uselib = ['JACK'] 196 202 this_target.target += ' examples/jackio.c'
Note: See TracChangeset
for help on using the changeset viewer.