Changeset 06d30f9
- Timestamp:
- Sep 25, 2009, 4:16:45 AM (15 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:
- e4284c9
- Parents:
- c423c3d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wscript
rc423c3d r06d30f9 19 19 20 20 def set_options(opt): 21 opt.add_option('--enable-double', action='store_true', default=False, 22 help='compile aubio in double precision mode') 21 23 opt.add_option('--disable-fftw3f', action='store_true', default=False, 22 24 help='compile with fftw3 instead of fftw3f') … … 67 69 args = '--cflags --libs') 68 70 71 # double precision mode 72 if (Options.options.enable_double == True): 73 conf.define('HAVE_AUBIO_DOUBLE', 1) 74 else: 75 conf.define('HAVE_AUBIO_DOUBLE', 0) 76 69 77 # one of fftwf or fftw3f 70 78 if (Options.options.disable_fftw3f == True): 71 79 conf.check_cfg(package = 'fftw3', atleast_version = '3.0.0', 72 args = '--cflags --libs')80 args = '--cflags --libs') 73 81 else: 74 conf.check_cfg(package = 'fftw3f', atleast_version = '3.0.0', 75 args = '--cflags --libs') 82 # fftw3f not disabled, take most sensible one according to enable_double 83 if (Options.options.enable_double == True): 84 conf.check_cfg(package = 'fftw3', atleast_version = '3.0.0', 85 args = '--cflags --libs') 86 else: 87 conf.check_cfg(package = 'fftw3f', atleast_version = '3.0.0', 88 args = '--cflags --libs') 76 89 77 90 # optional dependancies
Note: See TracChangeset
for help on using the changeset viewer.