Changes in / [695e171:3d30b90]


Ignore:
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • examples/wscript_build

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

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

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

    r695e171 r3d30b90  
    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.