[DEV] update next lutin version
This commit is contained in:
parent
cde3a7c024
commit
ad30486ea1
@ -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 <alloca.h> 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
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user