Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    rcc81763 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.