From ad30486ea1a604570f67118ed6e9f2ba6380938a Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 24 Sep 2015 21:44:04 +0200 Subject: [PATCH] [DEV] update next lutin version --- lutin_speex.py | 44 ++++++++++++++++++++-------------------- lutin_speextestenc.py | 12 +++++------ lutin_speextestencuwb.py | 12 +++++------ lutin_speextestencwb.py | 12 +++++------ 4 files changed, 40 insertions(+), 40 deletions(-) diff --git a/lutin_speex.py b/lutin_speex.py index 22ca71b..afca82f 100644 --- a/lutin_speex.py +++ b/lutin_speex.py @@ -7,11 +7,11 @@ def get_desc(): def create(target): - myModule = module.Module(__file__, 'speex', 'LIBRARY') + my_module = module.Module(__file__, 'speex', 'LIBRARY') # add extra compilation flags : - myModule.add_extra_compile_flags() + my_module.add_extra_compile_flags() # add the file to compile: - myModule.add_src_file([ + my_module.add_src_file([ 'speex/libspeex/bits.c', 'speex/libspeex/exc_5_256_table.c', 'speex/libspeex/gain_table_lbr.c', @@ -49,45 +49,45 @@ def create(target): ]) # name of the dependency - #myModule.add_module_depend('speexdsp') + #my_module.add_module_depend('speexdsp') - myModule.compile_version_CC(1989, gnu=True) - myModule.add_export_path(tools.get_current_path(__file__) + "/speex/include") + my_module.compile_version_CC(1989, gnu=True) + my_module.add_export_path(tools.get_current_path(__file__) + "/speex/include") # configure library : # Make use of ARM4 assembly optimizations - #myModule.compile_flags_CC("-DARM4_ASM=1") + #my_module.compile_flags_CC("-DARM4_ASM=1") # Make use of ARM5E assembly optimizations - #myModule.compile_flags_CC("-DARM5E_ASM=1") + #my_module.compile_flags_CC("-DARM5E_ASM=1") # Make use of Blackfin assembly optimizations - #myModule.compile_flags_CC("-DBFIN_ASM=1") + #my_module.compile_flags_CC("-DBFIN_ASM=1") # Disable all parts of the API that are using floats - #myModule.compile_flags_CC("-DDISABLE_FLOAT_API=1") + #my_module.compile_flags_CC("-DDISABLE_FLOAT_API=1") # Enable valgrind extra checks - #myModule.compile_flags_CC("-DENABLE_VALGRIND=1") + #my_module.compile_flags_CC("-DENABLE_VALGRIND=1") # Symbol visibility prefix */ #define EXPORT __attribute__((visibility("default"))) - myModule.compile_flags('c', "-DEXPORT=''") + my_module.compile_flags('c', "-DEXPORT=''") # Debug fixed-point implementation */ - #myModule.compile_flags_CC("-DFIXED_DEBUG=1") + #my_module.compile_flags_CC("-DFIXED_DEBUG=1") # Compile as fixed-point / floating-point if True: - myModule.compile_flags('c', "-DFIXED_POINT") + my_module.compile_flags('c', "-DFIXED_POINT") else: - myModule.compile_flags('c', "-DFLOATING_POINT") + my_module.compile_flags('c', "-DFLOATING_POINT") # Enable NEON support */ - #myModule.compile_flags('c', "-D_USE_NEON=1") + #my_module.compile_flags('c', "-D_USE_NEON=1") # Enable SSE support */ - myModule.compile_flags('c', "-D_USE_SSE=1") + my_module.compile_flags('c', "-D_USE_SSE=1") # Enable SSE2 support */ - myModule.compile_flags('c', "-D_USE_SSE2=1") + my_module.compile_flags('c', "-D_USE_SSE2=1") # Define to 1 if you have the header file. - myModule.compile_flags('c', "-DHAVE_ALLOCA_H=1") + my_module.compile_flags('c', "-DHAVE_ALLOCA_H=1") # Use FFT from OggVorbis */ - myModule.compile_flags('c', "-DUSE_SMALLFT=1") + my_module.compile_flags('c', "-DUSE_SMALLFT=1") # Use C99 variable-size arrays */ - myModule.compile_flags('c', "-DVAR_ARRAYS=1") + my_module.compile_flags('c', "-DVAR_ARRAYS=1") - return myModule + return my_module diff --git a/lutin_speextestenc.py b/lutin_speextestenc.py index df698b0..df5ac07 100644 --- a/lutin_speextestenc.py +++ b/lutin_speextestenc.py @@ -7,19 +7,19 @@ def get_desc(): def create(target): - myModule = module.Module(__file__, 'speextestenc', 'BINARY') + my_module = module.Module(__file__, 'speextestenc', 'BINARY') # add extra compilation flags : - myModule.add_extra_compile_flags() + my_module.add_extra_compile_flags() # add the file to compile: - myModule.add_src_file([ + my_module.add_src_file([ 'speex/libspeex/testenc.c' ]) - myModule.compile_version_CC(1989, gnu=True) + my_module.compile_version_CC(1989, gnu=True) # name of the dependency - myModule.add_module_depend('speex') + my_module.add_module_depend('speex') # add the currrent module at the - return myModule + return my_module diff --git a/lutin_speextestencuwb.py b/lutin_speextestencuwb.py index 6308700..a6b1bd4 100644 --- a/lutin_speextestencuwb.py +++ b/lutin_speextestencuwb.py @@ -7,19 +7,19 @@ def get_desc(): def create(target): - myModule = module.Module(__file__, 'speextestencuwb', 'BINARY') + my_module = module.Module(__file__, 'speextestencuwb', 'BINARY') # add extra compilation flags : - myModule.add_extra_compile_flags() + my_module.add_extra_compile_flags() # add the file to compile: - myModule.add_src_file([ + my_module.add_src_file([ 'speex/libspeex/testenc_uwb.c' ]) - myModule.compile_version_CC(1989, gnu=True) + my_module.compile_version_CC(1989, gnu=True) # name of the dependency - myModule.add_module_depend('speex') + my_module.add_module_depend('speex') # add the currrent module at the - return myModule + return my_module diff --git a/lutin_speextestencwb.py b/lutin_speextestencwb.py index b78d22e..748eb4e 100644 --- a/lutin_speextestencwb.py +++ b/lutin_speextestencwb.py @@ -7,19 +7,19 @@ def get_desc(): def create(target): - myModule = module.Module(__file__, 'speextestencwb', 'BINARY') + my_module = module.Module(__file__, 'speextestencwb', 'BINARY') # add extra compilation flags : - myModule.add_extra_compile_flags() + my_module.add_extra_compile_flags() # add the file to compile: - myModule.add_src_file([ + my_module.add_src_file([ 'speex/libspeex/testenc_wb.c' ]) - myModule.compile_version_CC(1989, gnu=True) + my_module.compile_version_CC(1989, gnu=True) # name of the dependency - myModule.add_module_depend('speex') + my_module.add_module_depend('speex') # add the currrent module at the - return myModule + return my_module