Changeset f0ce36a1 for wscript


Ignore:
Timestamp:
Sep 6, 2015, 10:46:31 AM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
3d30b90, e330033
Parents:
827267b
Message:

wscript: check if we find atlas/cblas.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.