Changeset f3f0d14 for wscript


Ignore:
Timestamp:
Oct 1, 2017, 8:03:45 PM (23 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master
Children:
799d992
Parents:
b701179
Message:

wscript: shorten long lines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    rb701179 rf3f0d14  
    252252
    253253        # tell emscripten functions we want to expose
    254         from python.lib.gen_external import get_c_declarations, get_cpp_objects_from_c_declarations, get_all_func_names_from_lib, generate_lib_from_c_declarations
     254        from python.lib.gen_external import get_c_declarations, \
     255                get_cpp_objects_from_c_declarations, get_all_func_names_from_lib, \
     256                generate_lib_from_c_declarations
    255257        c_decls = get_c_declarations(usedouble=False)  # emscripten can't use double
    256258        objects = list(get_cpp_objects_from_c_declarations(c_decls))
     
    293295    # check for Intel IPP
    294296    if (ctx.options.enable_intelipp != False):
    295         if (ctx.check(header_name=['ippcore.h', 'ippvm.h', 'ipps.h'], mandatory = False) and
    296             ctx.check(lib=['ippcore', 'ippvm', 'ipps'], uselib_store='INTEL_IPP', mandatory = False)):
     297        has_ipp_headers = ctx.check(header_name=['ippcore.h', 'ippvm.h', 'ipps.h'],
     298                mandatory = False)
     299        has_ipp_libs = ctx.check(lib=['ippcore', 'ippvm', 'ipps'],
     300                uselib_store='INTEL_IPP', mandatory = False)
     301        if (has_ipp_headers and has_ipp_libs):
    297302            ctx.msg('Checking if Intel IPP is available', 'yes')
    298303            ctx.define('HAVE_INTEL_IPP', 1)
Note: See TracChangeset for help on using the changeset viewer.