Changeset f0ce36a1


Ignore:
Timestamp:
Sep 6, 2015, 10:46:31 AM (9 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:
3d30b90, e330033
Parents:
827267b
Message:

wscript: check if we find atlas/cblas.h

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • examples/wscript_build

    r827267b rf0ce36a1  
    1010uselib += ['AVUTIL']
    1111uselib += ['JACK']
     12uselib += ['BLAS']
    1213
    1314utils_source = ['utils.c', 'jackio.c']
  • src/wscript_build

    r827267b rf0ce36a1  
    99uselib += ['AVRESAMPLE']
    1010uselib += ['AVUTIL']
     11uselib += ['BLAS']
    1112
    1213# build each source files
  • tests/wscript_build

    r827267b rf0ce36a1  
    1111    uselib += ['AVUTIL']
    1212    uselib += ['JACK']
     13    uselib += ['BLAS']
    1314    includes = ['../src', '.']
    1415    extra_source = []
  • wscript

    r827267b rf0ce36a1  
    8282            help_str = 'use CoreFoundation (darwin only) (auto)',
    8383            help_disable_str = 'do not use CoreFoundation framework')
     84    add_option_enable_disable(ctx, 'atlas', default = None,
     85            help_str = 'use Atlas library (auto)',
     86            help_disable_str = 'do not use Atlas library')
    8487
    8588    ctx.add_option('--with-target-platform', type='string',
     
    260263    ctx.define('HAVE_WAVWRITE', 1)
    261264
     265    # use ATLAS
     266    if (ctx.options.enable_atlas != False):
     267        ctx.check(header_name = 'atlas/cblas.h', mandatory = ctx.options.enable_atlas)
     268        #ctx.check(lib = 'lapack', uselib_store = 'LAPACK', mandatory = ctx.options.enable_atlas)
     269        ctx.check(lib = 'cblas', uselib_store = 'BLAS', mandatory = ctx.options.enable_atlas)
     270
    262271    # use memcpy hacks
    263272    if (ctx.options.enable_memcpy == True):
Note: See TracChangeset for help on using the changeset viewer.