Changeset 0309a22
- Timestamp:
- Aug 20, 2015, 1:19:19 PM (9 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:
- e4f8e57
- Parents:
- 3c6f584
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wscript
r3c6f584 r0309a22 76 76 help_str = 'build fat binaries (darwin only)', 77 77 help_disable_str = 'do not build fat binaries (default)') 78 add_option_enable_disable(ctx, 'accelerate', default = None, 79 help_str = 'use Accelerate framework (darwin only) (auto)', 80 help_disable_str = 'do not use Accelerate framework') 78 81 79 82 ctx.add_option('--with-target-platform', type='string', … … 111 114 112 115 if target_platform in [ 'darwin', 'ios', 'iosimulator']: 113 ctx.env.FRAMEWORK = ['CoreFoundation', 'AudioToolbox' , 'Accelerate']116 ctx.env.FRAMEWORK = ['CoreFoundation', 'AudioToolbox'] 114 117 ctx.define('HAVE_SOURCE_APPLE_AUDIO', 1) 115 118 ctx.define('HAVE_SINK_APPLE_AUDIO', 1) 116 ctx.define('HAVE_ACCELERATE', 1) 119 if (ctx.options.enable_accelerate != False): 120 ctx.define('HAVE_ACCELERATE', 1) 121 ctx.env.FRAMEWORK += ['Accelerate'] 117 122 118 123 if target_platform in [ 'ios', 'iosimulator' ]:
Note: See TracChangeset
for help on using the changeset viewer.