Changeset 923a7a8 for wscript


Ignore:
Timestamp:
Nov 26, 2013, 4:44:17 AM (11 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:
39a7b26
Parents:
2dbcafa
Message:

src/{fvec,fmat}.c: use memcpy and memset to optimise when possible, add option to disable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r2dbcafa r923a7a8  
    5959  add_option_enable_disable(ctx, 'samplerate', default = None,
    6060          help_str = 'compile with samplerate (auto)', help_disable_str = 'disable samplerate')
     61  add_option_enable_disable(ctx, 'memcpy', default = True,
     62          help_str = 'use memcpy hacks (default)',
     63          help_disable_str = 'do not use memcpy hacks')
    6164  add_option_enable_disable(ctx, 'double', default = False,
    6265          help_str = 'compile aubio in double precision mode',
     
    183186    ctx.msg('Checking for FFT implementation', 'ooura')
    184187
     188  # use memcpy hacks
     189  if (ctx.options.enable_memcpy == True):
     190    ctx.define('HAVE_MEMCPY_HACKS', 1)
     191  else:
     192    ctx.define('HAVE_MEMCPY_HACKS', 0)
     193
    185194  if (ctx.options.enable_jack != False):
    186195    ctx.check_cfg(package = 'jack', atleast_version = '0.15.0',
Note: See TracChangeset for help on using the changeset viewer.