Changeset 8be88e7 for wscript


Ignore:
Timestamp:
Oct 3, 2016, 2:24:29 PM (3 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, sampler, yinfft+
Children:
45521d2
Parents:
5210563
Message:

wscript: disable libsamplerate if double precision enabled (libsamplerate only supports float)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r5210563 r8be88e7  
    262262
    263263    # check for libsamplerate
     264    if (ctx.options.enable_double):
     265        if (ctx.options.enable_samplerate):
     266            ctx.fatal("Could not compile aubio in double precision mode with libsamplerate")
     267        else:
     268            ctx.options.enable_samplerate = False
     269            ctx.msg('Checking if using samplerate', 'no (disabled in double precision mode)',
     270                    color = 'YELLOW')
    264271    if (ctx.options.enable_samplerate != False):
    265272        ctx.check_cfg(package = 'samplerate', atleast_version = '0.0.15',
Note: See TracChangeset for help on using the changeset viewer.