Changeset 22c13ae


Ignore:
Timestamp:
Aug 24, 2014, 7:24:08 PM (10 years ago)
Author:
Paul Brossier <piem@piem.org>
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:
4da806c
Parents:
6716024
git-author:
Paul Brossier <piem@piem.org> (03/31/14 04:53:29)
git-committer:
Paul Brossier <piem@piem.org> (08/24/14 19:24:08)
Message:

wscript: make fat build optional

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r6716024 r22c13ae  
    7373            help_str = 'compile in double precision mode',
    7474            help_disable_str = 'compile in single precision mode (default)')
     75    add_option_enable_disable(ctx, 'fat', default = False,
     76            help_str = 'build fat binaries (darwin only)',
     77            help_disable_str = 'do not build fat binaries (default)')
    7578
    7679    ctx.add_option('--with-target-platform', type='string',
     
    103106        ctx.env['cshlib_PATTERN'] = 'lib%s.dll'
    104107
    105     if target_platform == 'darwin':
     108    if target_platform == 'darwin' and ctx.options.enable_fat:
    106109        ctx.env.CFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
    107110        ctx.env.LINKFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
Note: See TracChangeset for help on using the changeset viewer.