[DEV] update boost 1.76.0

This commit is contained in:
Edouard DUPIN 2021-10-05 19:07:33 +02:00
parent 2d810eac3c
commit a1ed7b7025
44 changed files with 405 additions and 292 deletions

2
boost

@ -1 +1 @@
Subproject commit a97e9ae7d481e8dd4637062dfd49481dfd853735 Subproject commit d0115b733d330c33006be98ae33bfa537d31402b

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -25,23 +25,6 @@ def get_version():
return "version.txt" return "version.txt"
def configure(target, my_module): def configure(target, my_module):
my_module.add_src_file([
'boost/libs/atomic/src/lockpool.cpp',
])
my_module.add_flag('c++', [
'-DBOOST_ALL_NO_LIB=1',
'-DBOOST_ATOMIC_DYN_LINK=1',
'-DBOOST_ATOMIC_SOURCE',
'-DNDEBUG',
])
my_module.add_flag('c', [
'-finline-functions',
'-Wno-inline',
'-Wall',
])
my_module.compile_version('c++', 2011) my_module.compile_version('c++', 2011)
@ -50,7 +33,6 @@ def configure(target, my_module):
'm', 'm',
'cxx', 'cxx',
'boost-include', 'boost-include',
'pthread',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -25,29 +25,6 @@ def get_version():
return "version.txt" return "version.txt"
def configure(target, my_module): def configure(target, my_module):
my_module.add_src_file([
'boost/libs/chrono/src/chrono.cpp',
'boost/libs/chrono/src/thread_clock.cpp',
'boost/libs/chrono/src/process_cpu_clocks.cpp',
])
my_module.add_flag('c++', [
'-DBOOST_ALL_DYN_LINK=1',
'-DBOOST_ALL_NO_LIB=1',
'-DBOOST_SYSTEM_DYN_LINK=1',
'-DBOOST_SYSTEM_NO_DEPRECATED',
'-DNDEBUG',
])
my_module.add_flag('c', [
'-finline-functions',
'-Wno-inline',
'-Wall',
'-pedantic',
'-Wextra',
'-Wno-long-long',
])
my_module.compile_version('c++', 2011) my_module.compile_version('c++', 2011)
@ -56,8 +33,6 @@ def configure(target, my_module):
'm', 'm',
'cxx', 'cxx',
'boost-include', 'boost-include',
'pthread',
'boost-system',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -25,37 +25,6 @@ def get_version():
return "version.txt" return "version.txt"
def configure(target, my_module): def configure(target, my_module):
my_module.add_src_file([
'boost/libs/container/src/alloc_lib.c',
'boost/libs/container/src/dlmalloc.cpp',
'boost/libs/container/src/global_resource.cpp',
'boost/libs/container/src/monotonic_buffer_resource.cpp',
'boost/libs/container/src/pool_resource.cpp',
'boost/libs/container/src/synchronized_pool_resource.cpp',
'boost/libs/container/src/unsynchronized_pool_resource.cpp',
])
my_module.add_flag('c', [
'-DBOOST_ALL_NO_LIB=1',
'-DBOOST_CONTAINER_DYN_LINK=1',
'-DNDEBUG',
])
my_module.add_flag('c++', [
'-DBOOST_ALL_NO_LIB=1',
'-DBOOST_CONTAINER_DYN_LINK=1',
'-DNDEBUG',
])
my_module.add_flag('c', [
'-finline-functions',
'-Wno-inline',
'-Wall',
'-finline-functions',
'-Wno-inline',
'-Wall',
])
my_module.compile_version('c++', 2011) my_module.compile_version('c++', 2011)
@ -64,8 +33,6 @@ def configure(target, my_module):
'm', 'm',
'cxx', 'cxx',
'boost-include', 'boost-include',
'pthread',
'pthread',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -25,38 +25,6 @@ def get_version():
return "version.txt" return "version.txt"
def configure(target, my_module): def configure(target, my_module):
my_module.add_src_file([
'boost/libs/context/src/asm/make_x86_64_sysv_elf_gas.S',
'boost/libs/context/src/asm/jump_x86_64_sysv_elf_gas.S',
'boost/libs/context/src/asm/ontop_x86_64_sysv_elf_gas.S',
'boost/libs/context/src/posix/stack_traits.cpp',
])
my_module.add_flag('c++', [
'-DBOOST_ALL_NO_LIB=1',
'-DBOOST_CONTEXT_DYN_LINK=1',
'-DBOOST_CONTEXT_SOURCE',
'-DBOOST_DISABLE_ASSERTS',
'-DNDEBUG',
])
my_module.add_flag('s', [
'-DBOOST_ALL_NO_LIB=1',
'-DBOOST_CONTEXT_DYN_LINK=1',
'-DBOOST_CONTEXT_SOURCE',
'-DBOOST_DISABLE_ASSERTS',
'-DNDEBUG',
])
my_module.add_flag('c', [
'-finline-functions',
'-Wno-inline',
'-Wall',
'-finline-functions',
'-Wno-inline',
'-Wall',
])
my_module.compile_version('c++', 2011) my_module.compile_version('c++', 2011)
@ -65,8 +33,6 @@ def configure(target, my_module):
'm', 'm',
'cxx', 'cxx',
'boost-include', 'boost-include',
'pthread',
'pthread',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -7,7 +7,7 @@ def get_type():
return "LIBRARY" return "LIBRARY"
def get_desc(): def get_desc():
return "boost:boost-signals library" return "boost:boost-contract library"
#def get_licence(): #def get_licence():
# return "UNKNOW" # return "UNKNOW"
@ -26,25 +26,22 @@ def get_version():
def configure(target, my_module): def configure(target, my_module):
my_module.add_src_file([ my_module.add_src_file([
'boost/libs/signals/src/trackable.cpp', 'boost/libs/contract/src/contract.cpp',
'boost/libs/signals/src/connection.cpp',
'boost/libs/signals/src/named_slot_map.cpp',
'boost/libs/signals/src/signal_base.cpp',
'boost/libs/signals/src/slot.cpp',
]) ])
my_module.add_flag('c++', [ my_module.add_flag('c++', [
'-DBOOST_ALL_NO_LIB=1', '-DBOOST_ALL_NO_LIB=1',
'-DBOOST_SIGNALS_DYN_LINK=1', '-DBOOST_CONTRACT_DYN_LINK',
'-DBOOST_SIGNALS_NO_LIB=1',
'-DNDEBUG', '-DNDEBUG',
]) ])
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-fvisibility=hidden',
]) ])

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -38,8 +38,6 @@ def configure(target, my_module):
'-DBOOST_COROUTINES_DYN_LINK=1', '-DBOOST_COROUTINES_DYN_LINK=1',
'-DBOOST_COROUTINES_SOURCE', '-DBOOST_COROUTINES_SOURCE',
'-DBOOST_DISABLE_ASSERTS', '-DBOOST_DISABLE_ASSERTS',
'-DBOOST_SYSTEM_DYN_LINK=1',
'-DBOOST_SYSTEM_NO_DEPRECATED',
'-DBOOST_THREAD_BUILD_DLL=1', '-DBOOST_THREAD_BUILD_DLL=1',
'-DBOOST_THREAD_POSIX', '-DBOOST_THREAD_POSIX',
'-DBOOST_THREAD_USE_DLL=1', '-DBOOST_THREAD_USE_DLL=1',
@ -48,9 +46,11 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-fvisibility=hidden',
]) ])
@ -64,7 +64,6 @@ def configure(target, my_module):
'boost-chrono', 'boost-chrono',
'boost-context', 'boost-context',
'boost-thread', 'boost-thread',
'boost-system',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -27,8 +27,6 @@ def get_version():
def configure(target, my_module): def configure(target, my_module):
my_module.add_src_file([ my_module.add_src_file([
'boost/libs/date_time/src/gregorian/greg_month.cpp', 'boost/libs/date_time/src/gregorian/greg_month.cpp',
'boost/libs/date_time/src/gregorian/greg_weekday.cpp',
'boost/libs/date_time/src/gregorian/date_generators.cpp',
]) ])
my_module.add_flag('c++', [ my_module.add_flag('c++', [
@ -40,9 +38,11 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-fvisibility=hidden',
]) ])

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -26,17 +26,15 @@ def get_version():
def configure(target, my_module): def configure(target, my_module):
my_module.add_src_file([ my_module.add_src_file([
'boost/libs/fiber/src/numa/linux/pin_thread.cpp',
'boost/libs/fiber/src/numa/linux/topology.cpp',
'boost/libs/fiber/src/algo/algorithm.cpp', 'boost/libs/fiber/src/algo/algorithm.cpp',
'boost/libs/fiber/src/algo/round_robin.cpp', 'boost/libs/fiber/src/algo/round_robin.cpp',
'boost/libs/fiber/src/algo/shared_work.cpp', 'boost/libs/fiber/src/algo/shared_work.cpp',
'boost/libs/fiber/src/algo/work_stealing.cpp', 'boost/libs/fiber/src/algo/work_stealing.cpp',
'boost/libs/fiber/src/algo/numa/work_stealing.cpp',
'boost/libs/fiber/src/barrier.cpp', 'boost/libs/fiber/src/barrier.cpp',
'boost/libs/fiber/src/condition_variable.cpp', 'boost/libs/fiber/src/condition_variable.cpp',
'boost/libs/fiber/src/context.cpp', 'boost/libs/fiber/src/context.cpp',
'boost/libs/fiber/src/fiber.cpp', 'boost/libs/fiber/src/fiber.cpp',
'boost/libs/fiber/src/waker.cpp',
'boost/libs/fiber/src/future.cpp', 'boost/libs/fiber/src/future.cpp',
'boost/libs/fiber/src/mutex.cpp', 'boost/libs/fiber/src/mutex.cpp',
'boost/libs/fiber/src/properties.cpp', 'boost/libs/fiber/src/properties.cpp',
@ -44,6 +42,10 @@ def configure(target, my_module):
'boost/libs/fiber/src/recursive_timed_mutex.cpp', 'boost/libs/fiber/src/recursive_timed_mutex.cpp',
'boost/libs/fiber/src/timed_mutex.cpp', 'boost/libs/fiber/src/timed_mutex.cpp',
'boost/libs/fiber/src/scheduler.cpp', 'boost/libs/fiber/src/scheduler.cpp',
'boost/libs/context/src/asm/make_x86_64_sysv_elf_gas.S',
'boost/libs/context/src/asm/jump_x86_64_sysv_elf_gas.S',
'boost/libs/context/src/asm/ontop_x86_64_sysv_elf_gas.S',
'boost/libs/context/src/posix/stack_traits.cpp',
]) ])
my_module.add_flag('c++', [ my_module.add_flag('c++', [
@ -53,15 +55,29 @@ def configure(target, my_module):
'-DBOOST_FIBERS_DYN_LINK=1', '-DBOOST_FIBERS_DYN_LINK=1',
'-DBOOST_FIBERS_SOURCE', '-DBOOST_FIBERS_SOURCE',
'-DBOOST_FILESYSTEM_DYN_LINK=1', '-DBOOST_FILESYSTEM_DYN_LINK=1',
'-DBOOST_SYSTEM_DYN_LINK=1', '-DNDEBUG',
'-DBOOST_CONTEXT_SOURCE',
])
my_module.add_flag('s', [
'-DBOOST_ALL_NO_LIB=1',
'-DBOOST_CONTEXT_DYN_LINK=1',
'-DBOOST_CONTEXT_SOURCE',
'-DBOOST_DISABLE_ASSERTS',
'-DNDEBUG', '-DNDEBUG',
]) ])
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-fvisibility=hidden',
'-finline-functions',
'-Wno-inline',
'-Wall',
'-fvisibility=hidden',
]) ])
@ -72,9 +88,9 @@ def configure(target, my_module):
'cxx', 'cxx',
'boost-include', 'boost-include',
'pthread', 'pthread',
'boost-context',
'boost-filesystem', 'boost-filesystem',
'boost-system', 'boost-context',
'pthread',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -27,6 +27,8 @@ def get_version():
def configure(target, my_module): def configure(target, my_module):
my_module.add_src_file([ my_module.add_src_file([
'boost/libs/filesystem/src/codecvt_error_category.cpp', 'boost/libs/filesystem/src/codecvt_error_category.cpp',
'boost/libs/filesystem/src/exception.cpp',
'boost/libs/filesystem/src/directory.cpp',
'boost/libs/filesystem/src/operations.cpp', 'boost/libs/filesystem/src/operations.cpp',
'boost/libs/filesystem/src/path.cpp', 'boost/libs/filesystem/src/path.cpp',
'boost/libs/filesystem/src/path_traits.cpp', 'boost/libs/filesystem/src/path_traits.cpp',
@ -39,18 +41,27 @@ def configure(target, my_module):
my_module.add_flag('c++', [ my_module.add_flag('c++', [
'-DBOOST_ALL_NO_LIB=1', '-DBOOST_ALL_NO_LIB=1',
'-DBOOST_FILESYSTEM_DYN_LINK=1', '-DBOOST_FILESYSTEM_DYN_LINK=1',
'-DBOOST_SYSTEM_DYN_LINK=1', '-DBOOST_FILESYSTEM_HAS_STATX',
'-DBOOST_FILESYSTEM_HAS_STATX_SYSCALL',
'-DBOOST_FILESYSTEM_HAS_STAT_ST_MTIM',
'-DBOOST_FILESYSTEM_SOURCE',
'-DNDEBUG', '-DNDEBUG',
]) ])
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-fvisibility=hidden',
]) ])
my_module.add_path([
'boost/libs/filesystem/src',
], type='c++')
my_module.compile_version('c++', 2011) my_module.compile_version('c++', 2011)
my_module.add_depend([ my_module.add_depend([
'z', 'z',
@ -58,7 +69,6 @@ def configure(target, my_module):
'cxx', 'cxx',
'boost-include', 'boost-include',
'pthread', 'pthread',
'boost-system',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -39,9 +39,11 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-fvisibility=hidden',
]) ])

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -32,6 +32,7 @@ def configure(target, my_module):
'boost/libs/iostreams/src/gzip.cpp', 'boost/libs/iostreams/src/gzip.cpp',
'boost/libs/iostreams/src/lzma.cpp', 'boost/libs/iostreams/src/lzma.cpp',
'boost/libs/iostreams/src/zlib.cpp', 'boost/libs/iostreams/src/zlib.cpp',
'boost/libs/iostreams/src/zstd.cpp',
]) ])
my_module.add_flag('c++', [ my_module.add_flag('c++', [
@ -43,9 +44,11 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-fvisibility=hidden',
]) ])

79
lutin_boost-json.py Normal file
View File

@ -0,0 +1,79 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
import os
def get_type():
return "LIBRARY"
def get_desc():
return "boost:boost-json library"
#def get_licence():
# return "UNKNOW"
def get_compagny_type():
return "org"
def get_compagny_name():
return "boost"
#def get_maintainer():
# return "UNKNOW"
def get_version():
return "version.txt"
def configure(target, my_module):
my_module.add_src_file([
'boost/libs/json/src/src.cpp',
'boost/libs/container/src/alloc_lib.c',
'boost/libs/container/src/dlmalloc.cpp',
'boost/libs/container/src/global_resource.cpp',
'boost/libs/container/src/monotonic_buffer_resource.cpp',
'boost/libs/container/src/pool_resource.cpp',
'boost/libs/container/src/synchronized_pool_resource.cpp',
'boost/libs/container/src/unsynchronized_pool_resource.cpp',
])
my_module.add_flag('c', [
'-DBOOST_ALL_NO_LIB=1',
'-DBOOST_CONTAINER_DYN_LINK=1',
'-DNDEBUG',
])
my_module.add_flag('c++', [
'-DBOOST_ALL_NO_LIB=1',
'-DBOOST_CONTAINER_DYN_LINK=1',
'-DBOOST_JSON_DYN_LINK=1',
'-DBOOST_JSON_SOURCE',
'-DNDEBUG',
])
my_module.add_flag('c', [
'-finline-functions',
'-Wno-inline',
'-Wall',
'-fvisibility=hidden',
'-fvisibility-inlines-hidden',
'-finline-functions',
'-Wno-inline',
'-Wall',
'-fvisibility=hidden',
])
my_module.compile_version('c++', 2011)
my_module.add_depend([
'z',
'm',
'cxx',
'boost-include',
'pthread',
'pthread',
'boost-container',
])
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -59,6 +59,12 @@ def configure(target, my_module):
'boost/libs/locale/src/std/numeric.cpp', 'boost/libs/locale/src/std/numeric.cpp',
'boost/libs/locale/src/std/std_backend.cpp', 'boost/libs/locale/src/std/std_backend.cpp',
'boost/libs/locale/src/util/gregorian.cpp', 'boost/libs/locale/src/util/gregorian.cpp',
'boost/libs/chrono/src/chrono.cpp',
'boost/libs/chrono/src/thread_clock.cpp',
'boost/libs/chrono/src/process_cpu_clocks.cpp',
'boost/libs/thread/src/pthread/thread.cpp',
'boost/libs/thread/src/pthread/once.cpp',
'boost/libs/thread/src/future.cpp',
]) ])
my_module.add_flag('c++', [ my_module.add_flag('c++', [
@ -69,19 +75,27 @@ def configure(target, my_module):
'-DBOOST_LOCALE_WITH_ICONV=1', '-DBOOST_LOCALE_WITH_ICONV=1',
'-DBOOST_LOCALE_WITH_ICU=1', '-DBOOST_LOCALE_WITH_ICU=1',
'-DBOOST_SYSTEM_DYN_LINK=1', '-DBOOST_SYSTEM_DYN_LINK=1',
'-DBOOST_SYSTEM_NO_DEPRECATED',
'-DBOOST_THREAD_BUILD_DLL=1', '-DBOOST_THREAD_BUILD_DLL=1',
'-DBOOST_THREAD_NO_LIB=1', '-DBOOST_THREAD_NO_LIB=1',
'-DBOOST_THREAD_POSIX', '-DBOOST_THREAD_POSIX',
'-DBOOST_THREAD_USE_DLL=1', '-DBOOST_THREAD_USE_DLL=1',
'-DNDEBUG', '-DNDEBUG',
'-DBOOST_ALL_DYN_LINK=1',
'-DBOOST_THREAD_DONT_USE_CHRONO',
]) ])
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-fvisibility=hidden',
'-Wextra',
'-Wno-long-long',
'-Wno-unused-parameter',
'-Wunused-function',
'-pedantic',
]) ])
@ -92,9 +106,9 @@ def configure(target, my_module):
'cxx', 'cxx',
'boost-include', 'boost-include',
'pthread', 'pthread',
'boost-system',
'boost-chrono', 'boost-chrono',
'boost-thread', 'boost-thread',
'boost-system',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -41,7 +41,6 @@ def configure(target, my_module):
'-DBOOST_ALL_NO_LIB=1', '-DBOOST_ALL_NO_LIB=1',
'-DBOOST_ATOMIC_DYN_LINK=1', '-DBOOST_ATOMIC_DYN_LINK=1',
'-DBOOST_CHRONO_DYN_LINK=1', '-DBOOST_CHRONO_DYN_LINK=1',
'-DBOOST_DATE_TIME_DYN_LINK=1',
'-DBOOST_FILESYSTEM_DYN_LINK=1', '-DBOOST_FILESYSTEM_DYN_LINK=1',
'-DBOOST_HAS_ICU=1', '-DBOOST_HAS_ICU=1',
'-DBOOST_LOG_DYN_LINK=1', '-DBOOST_LOG_DYN_LINK=1',
@ -53,13 +52,10 @@ def configure(target, my_module):
'-DBOOST_LOG_USE_SSSE3', '-DBOOST_LOG_USE_SSSE3',
'-DBOOST_LOG_WITHOUT_EVENT_LOG', '-DBOOST_LOG_WITHOUT_EVENT_LOG',
'-DBOOST_SPIRIT_USE_PHOENIX_V3=1', '-DBOOST_SPIRIT_USE_PHOENIX_V3=1',
'-DBOOST_SYSTEM_DYN_LINK=1',
'-DBOOST_SYSTEM_NO_DEPRECATED',
'-DBOOST_THREAD_BUILD_DLL=1', '-DBOOST_THREAD_BUILD_DLL=1',
'-DBOOST_THREAD_DONT_USE_CHRONO=1', '-DBOOST_THREAD_DONT_USE_CHRONO=1',
'-DBOOST_THREAD_POSIX', '-DBOOST_THREAD_POSIX',
'-DBOOST_THREAD_USE_DLL=1', '-DBOOST_THREAD_USE_DLL=1',
'-DDATE_TIME_INLINE',
'-DNDEBUG', '-DNDEBUG',
'-D_XOPEN_SOURCE=600', '-D_XOPEN_SOURCE=600',
'-D__STDC_CONSTANT_MACROS', '-D__STDC_CONSTANT_MACROS',
@ -67,12 +63,13 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-ftemplate-depth-1024',
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-fno-strict-aliasing',
'-ftemplate-depth-1024',
'-fvisibility=hidden', '-fvisibility=hidden',
'-fno-strict-aliasing',
]) ])
@ -90,11 +87,9 @@ def configure(target, my_module):
'boost-log', 'boost-log',
'boost-regex', 'boost-regex',
'boost-filesystem', 'boost-filesystem',
'boost-date-time',
'boost-thread',
'boost-chrono',
'boost-system',
'boost-atomic', 'boost-atomic',
'boost-chrono',
'boost-thread',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -55,7 +55,6 @@ def configure(target, my_module):
'boost/libs/log/src/format_parser.cpp', 'boost/libs/log/src/format_parser.cpp',
'boost/libs/log/src/date_time_format_parser.cpp', 'boost/libs/log/src/date_time_format_parser.cpp',
'boost/libs/log/src/named_scope_format_parser.cpp', 'boost/libs/log/src/named_scope_format_parser.cpp',
'boost/libs/log/src/unhandled_exception_count.cpp',
'boost/libs/log/src/permissions.cpp', 'boost/libs/log/src/permissions.cpp',
'boost/libs/log/src/dump.cpp', 'boost/libs/log/src/dump.cpp',
'boost/libs/log/src/dump_avx2.cpp', 'boost/libs/log/src/dump_avx2.cpp',
@ -63,13 +62,15 @@ def configure(target, my_module):
'boost/libs/log/src/posix/ipc_reliable_message_queue.cpp', 'boost/libs/log/src/posix/ipc_reliable_message_queue.cpp',
'boost/libs/log/src/posix/object_name.cpp', 'boost/libs/log/src/posix/object_name.cpp',
'boost/libs/log/src/syslog_backend.cpp', 'boost/libs/log/src/syslog_backend.cpp',
'boost/libs/atomic/src/lock_pool.cpp',
'boost/libs/atomic/src/find_address_sse2.cpp',
'boost/libs/atomic/src/find_address_sse41.cpp',
]) ])
my_module.add_flag('c++', [ my_module.add_flag('c++', [
'-DBOOST_ALL_NO_LIB=1', '-DBOOST_ALL_NO_LIB=1',
'-DBOOST_ATOMIC_DYN_LINK=1', '-DBOOST_ATOMIC_DYN_LINK=1',
'-DBOOST_CHRONO_DYN_LINK=1', '-DBOOST_CHRONO_DYN_LINK=1',
'-DBOOST_DATE_TIME_DYN_LINK=1',
'-DBOOST_FILESYSTEM_DYN_LINK=1', '-DBOOST_FILESYSTEM_DYN_LINK=1',
'-DBOOST_HAS_ICU=1', '-DBOOST_HAS_ICU=1',
'-DBOOST_LOG_BUILDING_THE_LIB=1', '-DBOOST_LOG_BUILDING_THE_LIB=1',
@ -81,37 +82,40 @@ def configure(target, my_module):
'-DBOOST_LOG_WITHOUT_DEBUG_OUTPUT', '-DBOOST_LOG_WITHOUT_DEBUG_OUTPUT',
'-DBOOST_LOG_WITHOUT_EVENT_LOG', '-DBOOST_LOG_WITHOUT_EVENT_LOG',
'-DBOOST_SPIRIT_USE_PHOENIX_V3=1', '-DBOOST_SPIRIT_USE_PHOENIX_V3=1',
'-DBOOST_SYSTEM_DYN_LINK=1',
'-DBOOST_SYSTEM_NO_DEPRECATED',
'-DBOOST_THREAD_BUILD_DLL=1', '-DBOOST_THREAD_BUILD_DLL=1',
'-DBOOST_THREAD_DONT_USE_CHRONO=1', '-DBOOST_THREAD_DONT_USE_CHRONO=1',
'-DBOOST_THREAD_POSIX', '-DBOOST_THREAD_POSIX',
'-DBOOST_THREAD_USE_DLL=1', '-DBOOST_THREAD_USE_DLL=1',
'-DDATE_TIME_INLINE',
'-DNDEBUG', '-DNDEBUG',
'-D_XOPEN_SOURCE=600', '-D_XOPEN_SOURCE=600',
'-D__STDC_CONSTANT_MACROS', '-D__STDC_CONSTANT_MACROS',
'-DBOOST_ATOMIC_SOURCE',
'-DBOOST_ATOMIC_USE_SSE2',
'-DBOOST_ATOMIC_USE_SSE41',
]) ])
my_module.add_flag('c', [ my_module.add_flag('c', [
'-ftemplate-depth-1024',
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-fno-strict-aliasing',
'-ftemplate-depth-1024',
'-fvisibility=hidden', '-fvisibility=hidden',
'-fno-strict-aliasing',
'-mavx', '-mavx',
'-mavx2', '-mavx2',
'-msse', '-msse',
'-msse2', '-msse2',
'-msse3', '-msse3',
'-mssse3', '-mssse3',
'-msse4.1',
]) ])
my_module.add_path([ my_module.add_path([
'boost/libs/log/src', 'boost/libs/log/src',
'boost/libs/atomic/src',
], type='c++') ], type='c++')
my_module.compile_version('c++', 2011) my_module.compile_version('c++', 2011)
@ -121,13 +125,11 @@ def configure(target, my_module):
'cxx', 'cxx',
'boost-include', 'boost-include',
'pthread', 'pthread',
'boost-filesystem',
'boost-regex',
'boost-atomic', 'boost-atomic',
'boost-chrono', 'boost-chrono',
'boost-thread', 'boost-thread',
'boost-date-time',
'boost-filesystem',
'boost-system',
'boost-regex',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -58,6 +58,7 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -58,6 +58,7 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -26,6 +26,7 @@ def get_version():
def configure(target, my_module): def configure(target, my_module):
my_module.add_src_file([ my_module.add_src_file([
'boost/libs/math/config/has_long_double_support.cpp',
'boost/libs/math/build/../src/tr1/acoshl.cpp', 'boost/libs/math/build/../src/tr1/acoshl.cpp',
'boost/libs/math/build/../src/tr1/asinhl.cpp', 'boost/libs/math/build/../src/tr1/asinhl.cpp',
'boost/libs/math/build/../src/tr1/atanhl.cpp', 'boost/libs/math/build/../src/tr1/atanhl.cpp',
@ -51,13 +52,14 @@ def configure(target, my_module):
my_module.add_flag('c++', [ my_module.add_flag('c++', [
'-DBOOST_ALL_NO_LIB=1', '-DBOOST_ALL_NO_LIB=1',
'-DNDEBUG',
'-DBOOST_BUILD_PCH_ENABLED', '-DBOOST_BUILD_PCH_ENABLED',
'-DBOOST_MATH_TR1_DYN_LINK=1', '-DBOOST_MATH_TR1_DYN_LINK=1',
'-DNDEBUG',
]) ])
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -58,6 +58,7 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -58,6 +58,7 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -26,7 +26,6 @@ def get_version():
def configure(target, my_module): def configure(target, my_module):
my_module.add_src_file([ my_module.add_src_file([
'boost/libs/math/config/has_long_double_support.cpp',
'boost/libs/math/build/../src/tr1/assoc_laguerrel.cpp', 'boost/libs/math/build/../src/tr1/assoc_laguerrel.cpp',
'boost/libs/math/build/../src/tr1/assoc_legendrel.cpp', 'boost/libs/math/build/../src/tr1/assoc_legendrel.cpp',
'boost/libs/math/build/../src/tr1/betal.cpp', 'boost/libs/math/build/../src/tr1/betal.cpp',
@ -52,13 +51,14 @@ def configure(target, my_module):
my_module.add_flag('c++', [ my_module.add_flag('c++', [
'-DBOOST_ALL_NO_LIB=1', '-DBOOST_ALL_NO_LIB=1',
'-DNDEBUG',
'-DBOOST_BUILD_PCH_ENABLED', '-DBOOST_BUILD_PCH_ENABLED',
'-DBOOST_MATH_TR1_DYN_LINK=1', '-DBOOST_MATH_TR1_DYN_LINK=1',
'-DNDEBUG',
]) ])
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',

62
lutin_boost-nowide.py Normal file
View File

@ -0,0 +1,62 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
import os
def get_type():
return "LIBRARY"
def get_desc():
return "boost:boost-nowide library"
#def get_licence():
# return "UNKNOW"
def get_compagny_type():
return "org"
def get_compagny_name():
return "boost"
#def get_maintainer():
# return "UNKNOW"
def get_version():
return "version.txt"
def configure(target, my_module):
my_module.add_src_file([
'boost/libs/nowide/src/cstdio.cpp',
'boost/libs/nowide/src/cstdlib.cpp',
'boost/libs/nowide/src/filebuf.cpp',
'boost/libs/nowide/src/iostream.cpp',
'boost/libs/nowide/src/stat.cpp',
])
my_module.add_flag('c++', [
'-DBOOST_ALL_NO_LIB=1',
'-DBOOST_NOWIDE_DYN_LINK=1',
'-DNDEBUG',
])
my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions',
'-Wno-inline',
'-Wall',
'-fvisibility=hidden',
])
my_module.compile_version('c++', 2011)
my_module.add_depend([
'z',
'm',
'cxx',
'boost-include',
'pthread',
])
return True

69
lutin_boost-numpy39.py Normal file
View File

@ -0,0 +1,69 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
import os
def get_type():
return "LIBRARY"
def get_desc():
return "boost:boost-numpy39 library"
#def get_licence():
# return "UNKNOW"
def get_compagny_type():
return "org"
def get_compagny_name():
return "boost"
#def get_maintainer():
# return "UNKNOW"
def get_version():
return "version.txt"
def configure(target, my_module):
my_module.add_src_file([
'boost/libs/python/src/numpy/dtype.cpp',
'boost/libs/python/src/numpy/matrix.cpp',
'boost/libs/python/src/numpy/ndarray.cpp',
'boost/libs/python/src/numpy/numpy.cpp',
'boost/libs/python/src/numpy/scalars.cpp',
'boost/libs/python/src/numpy/ufunc.cpp',
])
my_module.add_flag('c++', [
'-DBOOST_ALL_NO_LIB=1',
'-DBOOST_NUMPY_SOURCE',
'-DNDEBUG',
])
my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions',
'-Wno-inline',
'-Wall',
'-fvisibility=hidden',
])
my_module.add_path([
'/usr/include/python3.9',
'/usr/lib/python3.9/site-packages/numpy/core/include',
], type='c++')
my_module.compile_version('c++', 2011)
my_module.add_depend([
'z',
'm',
'cxx',
'boost-include',
'pthread',
'boost-python39',
])
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -33,20 +33,17 @@ def configure(target, my_module):
my_module.add_flag('c++', [ my_module.add_flag('c++', [
'-DBOOST_ALL_NO_LIB=1', '-DBOOST_ALL_NO_LIB=1',
'-DBOOST_CHRONO_DYN_LINK=1',
'-DBOOST_SYSTEM_DYN_LINK=1',
'-DBOOST_SYSTEM_NO_DEPRECATED',
'-DBOOST_TEST_DYN_LINK=1', '-DBOOST_TEST_DYN_LINK=1',
'-DBOOST_TIMER_DYN_LINK=1',
'-DNDEBUG', '-DNDEBUG',
]) ])
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-pedantic', '-fvisibility=hidden',
'-Wno-variadic-macros', '-Wno-variadic-macros',
]) ])
@ -58,8 +55,6 @@ def configure(target, my_module):
'cxx', 'cxx',
'boost-include', 'boost-include',
'pthread', 'pthread',
'boost-timer',
'boost-system',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -47,9 +47,11 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-fvisibility=hidden',
]) ])

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -7,7 +7,7 @@ def get_type():
return "LIBRARY" return "LIBRARY"
def get_desc(): def get_desc():
return "boost:boost-python3 library" return "boost:boost-python39 library"
#def get_licence(): #def get_licence():
# return "UNKNOW" # return "UNKNOW"
@ -63,14 +63,16 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-fvisibility=hidden',
]) ])
my_module.add_path([ my_module.add_path([
'/usr/include/python3.6m', '/usr/include/python3.9',
], type='c++') ], type='c++')
my_module.compile_version('c++', 2011) my_module.compile_version('c++', 2011)

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -32,15 +32,16 @@ def configure(target, my_module):
my_module.add_flag('c++', [ my_module.add_flag('c++', [
'-DBOOST_ALL_NO_LIB=1', '-DBOOST_ALL_NO_LIB=1',
'-DBOOST_RANDOM_DYN_LINK', '-DBOOST_RANDOM_DYN_LINK',
'-DBOOST_SYSTEM_DYN_LINK=1',
'-DNDEBUG', '-DNDEBUG',
]) ])
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-fvisibility=hidden',
]) ])
@ -51,7 +52,6 @@ def configure(target, my_module):
'cxx', 'cxx',
'boost-include', 'boost-include',
'pthread', 'pthread',
'boost-system',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -26,23 +26,11 @@ def get_version():
def configure(target, my_module): def configure(target, my_module):
my_module.add_src_file([ my_module.add_src_file([
'boost/libs/regex/build/../src/c_regex_traits.cpp',
'boost/libs/regex/build/../src/cpp_regex_traits.cpp',
'boost/libs/regex/build/../src/cregex.cpp',
'boost/libs/regex/build/../src/fileiter.cpp',
'boost/libs/regex/build/../src/icu.cpp',
'boost/libs/regex/build/../src/instances.cpp',
'boost/libs/regex/build/../src/posix_api.cpp', 'boost/libs/regex/build/../src/posix_api.cpp',
'boost/libs/regex/build/../src/regex.cpp', 'boost/libs/regex/build/../src/regex.cpp',
'boost/libs/regex/build/../src/regex_debug.cpp', 'boost/libs/regex/build/../src/regex_debug.cpp',
'boost/libs/regex/build/../src/regex_raw_buffer.cpp',
'boost/libs/regex/build/../src/regex_traits_defaults.cpp',
'boost/libs/regex/build/../src/static_mutex.cpp', 'boost/libs/regex/build/../src/static_mutex.cpp',
'boost/libs/regex/build/../src/w32_regex_traits.cpp',
'boost/libs/regex/build/../src/wc_regex_traits.cpp',
'boost/libs/regex/build/../src/wide_posix_api.cpp', 'boost/libs/regex/build/../src/wide_posix_api.cpp',
'boost/libs/regex/build/../src/winstances.cpp',
'boost/libs/regex/build/../src/usinstances.cpp',
]) ])
my_module.add_flag('c++', [ my_module.add_flag('c++', [
@ -54,10 +42,11 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-pedantic', '-fvisibility=hidden',
]) ])

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -26,6 +26,7 @@ def get_version():
def configure(target, my_module): def configure(target, my_module):
my_module.add_src_file([ my_module.add_src_file([
'boost/libs/serialization/src/archive_exception.cpp',
'boost/libs/serialization/src/basic_archive.cpp', 'boost/libs/serialization/src/basic_archive.cpp',
'boost/libs/serialization/src/basic_iarchive.cpp', 'boost/libs/serialization/src/basic_iarchive.cpp',
'boost/libs/serialization/src/basic_iserializer.cpp', 'boost/libs/serialization/src/basic_iserializer.cpp',
@ -47,14 +48,19 @@ def configure(target, my_module):
'boost/libs/serialization/src/stl_port.cpp', 'boost/libs/serialization/src/stl_port.cpp',
'boost/libs/serialization/src/text_iarchive.cpp', 'boost/libs/serialization/src/text_iarchive.cpp',
'boost/libs/serialization/src/text_oarchive.cpp', 'boost/libs/serialization/src/text_oarchive.cpp',
'boost/libs/serialization/src/polymorphic_text_iarchive.cpp',
'boost/libs/serialization/src/polymorphic_text_oarchive.cpp',
'boost/libs/serialization/src/polymorphic_binary_iarchive.cpp',
'boost/libs/serialization/src/polymorphic_binary_oarchive.cpp',
'boost/libs/serialization/src/polymorphic_xml_iarchive.cpp',
'boost/libs/serialization/src/polymorphic_xml_oarchive.cpp',
'boost/libs/serialization/src/void_cast.cpp', 'boost/libs/serialization/src/void_cast.cpp',
'boost/libs/serialization/src/archive_exception.cpp',
'boost/libs/serialization/src/xml_grammar.cpp', 'boost/libs/serialization/src/xml_grammar.cpp',
'boost/libs/serialization/src/xml_iarchive.cpp', 'boost/libs/serialization/src/xml_iarchive.cpp',
'boost/libs/serialization/src/xml_oarchive.cpp',
'boost/libs/serialization/src/xml_archive_exception.cpp', 'boost/libs/serialization/src/xml_archive_exception.cpp',
'boost/libs/serialization/src/codecvt_null.cpp', 'boost/libs/serialization/src/codecvt_null.cpp',
'boost/libs/serialization/src/utf8_codecvt_facet.cpp', 'boost/libs/serialization/src/utf8_codecvt_facet.cpp',
'boost/libs/serialization/src/xml_oarchive.cpp',
]) ])
my_module.add_flag('c++', [ my_module.add_flag('c++', [
@ -65,12 +71,12 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-ftemplate-depth-255',
'-fvisibility=hidden', '-fvisibility=hidden',
'-fvisibility-inlines-hidden', '-ftemplate-depth-255',
]) ])

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -37,10 +37,10 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-pedantic',
'-fvisibility=hidden', '-fvisibility=hidden',
]) ])

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -37,10 +37,10 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-pedantic',
'-fvisibility=hidden', '-fvisibility=hidden',
]) ])

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -37,10 +37,10 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-pedantic',
'-fvisibility=hidden', '-fvisibility=hidden',
]) ])

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -37,10 +37,11 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-pedantic', '-fvisibility=hidden',
]) ])

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -25,32 +25,6 @@ def get_version():
return "version.txt" return "version.txt"
def configure(target, my_module): def configure(target, my_module):
my_module.add_src_file([
'boost/libs/thread/src/pthread/thread.cpp',
'boost/libs/thread/src/pthread/once.cpp',
'boost/libs/thread/src/future.cpp',
])
my_module.add_flag('c++', [
'-DBOOST_ALL_NO_LIB=1',
'-DBOOST_SYSTEM_DYN_LINK=1',
'-DBOOST_THREAD_BUILD_DLL=1',
'-DBOOST_THREAD_DONT_USE_CHRONO',
'-DBOOST_THREAD_POSIX',
'-DNDEBUG',
])
my_module.add_flag('c', [
'-finline-functions',
'-Wno-inline',
'-Wall',
'-pedantic',
'-Wextra',
'-Wno-long-long',
'-Wno-unused-parameter',
'-Wunused-function',
])
my_module.compile_version('c++', 2011) my_module.compile_version('c++', 2011)
@ -59,8 +33,6 @@ def configure(target, my_module):
'm', 'm',
'cxx', 'cxx',
'boost-include', 'boost-include',
'pthread',
'boost-system',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -33,18 +33,17 @@ def configure(target, my_module):
my_module.add_flag('c++', [ my_module.add_flag('c++', [
'-DBOOST_ALL_NO_LIB=1', '-DBOOST_ALL_NO_LIB=1',
'-DBOOST_CHRONO_DYN_LINK=1', '-DBOOST_CHRONO_DYN_LINK=1',
'-DBOOST_SYSTEM_DYN_LINK=1',
'-DBOOST_SYSTEM_NO_DEPRECATED',
'-DBOOST_TIMER_DYN_LINK=1', '-DBOOST_TIMER_DYN_LINK=1',
'-DNDEBUG', '-DNDEBUG',
]) ])
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-pedantic', '-fvisibility=hidden',
]) ])
@ -56,7 +55,6 @@ def configure(target, my_module):
'boost-include', 'boost-include',
'pthread', 'pthread',
'boost-chrono', 'boost-chrono',
'boost-system',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -33,7 +33,6 @@ def configure(target, my_module):
'-DBOOST_ALL_NO_LIB=1', '-DBOOST_ALL_NO_LIB=1',
'-DBOOST_CHRONO_DYN_LINK=1', '-DBOOST_CHRONO_DYN_LINK=1',
'-DBOOST_SYSTEM_DYN_LINK=1', '-DBOOST_SYSTEM_DYN_LINK=1',
'-DBOOST_SYSTEM_NO_DEPRECATED',
'-DBOOST_THREAD_BUILD_DLL=1', '-DBOOST_THREAD_BUILD_DLL=1',
'-DBOOST_THREAD_POSIX', '-DBOOST_THREAD_POSIX',
'-DBOOST_THREAD_USE_DLL=1', '-DBOOST_THREAD_USE_DLL=1',
@ -43,9 +42,11 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-fvisibility=hidden',
]) ])
@ -57,8 +58,8 @@ def configure(target, my_module):
'boost-include', 'boost-include',
'pthread', 'pthread',
'boost-thread', 'boost-thread',
'boost-chrono',
'boost-system', 'boost-system',
'boost-chrono',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -47,20 +47,17 @@ def configure(target, my_module):
my_module.add_flag('c++', [ my_module.add_flag('c++', [
'-DBOOST_ALL_NO_LIB=1', '-DBOOST_ALL_NO_LIB=1',
'-DBOOST_CHRONO_DYN_LINK=1',
'-DBOOST_SYSTEM_DYN_LINK=1',
'-DBOOST_SYSTEM_NO_DEPRECATED',
'-DBOOST_TEST_DYN_LINK=1', '-DBOOST_TEST_DYN_LINK=1',
'-DBOOST_TIMER_DYN_LINK=1',
'-DNDEBUG', '-DNDEBUG',
]) ])
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-pedantic', '-fvisibility=hidden',
'-Wno-variadic-macros', '-Wno-variadic-macros',
]) ])
@ -72,8 +69,6 @@ def configure(target, my_module):
'cxx', 'cxx',
'boost-include', 'boost-include',
'pthread', 'pthread',
'boost-timer',
'boost-system',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -30,6 +30,7 @@ def configure(target, my_module):
'boost/libs/wave/src/instantiate_cpp_grammar.cpp', 'boost/libs/wave/src/instantiate_cpp_grammar.cpp',
'boost/libs/wave/src/instantiate_cpp_literalgrs.cpp', 'boost/libs/wave/src/instantiate_cpp_literalgrs.cpp',
'boost/libs/wave/src/instantiate_defined_grammar.cpp', 'boost/libs/wave/src/instantiate_defined_grammar.cpp',
'boost/libs/wave/src/instantiate_has_include_grammar.cpp',
'boost/libs/wave/src/instantiate_predef_macros.cpp', 'boost/libs/wave/src/instantiate_predef_macros.cpp',
'boost/libs/wave/src/instantiate_re2c_lexer.cpp', 'boost/libs/wave/src/instantiate_re2c_lexer.cpp',
'boost/libs/wave/src/instantiate_re2c_lexer_str.cpp', 'boost/libs/wave/src/instantiate_re2c_lexer_str.cpp',
@ -47,9 +48,11 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-fvisibility=hidden',
'-w', '-w',
]) ])
@ -63,9 +66,7 @@ def configure(target, my_module):
'pthread', 'pthread',
'boost-filesystem', 'boost-filesystem',
'boost-thread', 'boost-thread',
'boost-date-time',
'boost-chrono', 'boost-chrono',
'boost-system',
]) ])
return True return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -30,9 +30,13 @@ def configure(target, my_module):
'boost/libs/serialization/src/basic_text_woprimitive.cpp', 'boost/libs/serialization/src/basic_text_woprimitive.cpp',
'boost/libs/serialization/src/text_wiarchive.cpp', 'boost/libs/serialization/src/text_wiarchive.cpp',
'boost/libs/serialization/src/text_woarchive.cpp', 'boost/libs/serialization/src/text_woarchive.cpp',
'boost/libs/serialization/src/polymorphic_text_wiarchive.cpp',
'boost/libs/serialization/src/polymorphic_text_woarchive.cpp',
'boost/libs/serialization/src/xml_wgrammar.cpp', 'boost/libs/serialization/src/xml_wgrammar.cpp',
'boost/libs/serialization/src/xml_wiarchive.cpp', 'boost/libs/serialization/src/xml_wiarchive.cpp',
'boost/libs/serialization/src/xml_woarchive.cpp', 'boost/libs/serialization/src/xml_woarchive.cpp',
'boost/libs/serialization/src/polymorphic_xml_wiarchive.cpp',
'boost/libs/serialization/src/polymorphic_xml_woarchive.cpp',
]) ])
my_module.add_flag('c++', [ my_module.add_flag('c++', [
@ -43,12 +47,12 @@ def configure(target, my_module):
my_module.add_flag('c', [ my_module.add_flag('c', [
'-fvisibility-inlines-hidden',
'-finline-functions', '-finline-functions',
'-Wno-inline', '-Wno-inline',
'-Wall', '-Wall',
'-ftemplate-depth-255',
'-fvisibility=hidden', '-fvisibility=hidden',
'-fvisibility-inlines-hidden', '-ftemplate-depth-255',
]) ])

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.debug as debug import realog.debug as debug
import lutin.tools as tools import lutin.tools as tools
import os import os
@ -25,42 +25,45 @@ def configure(target, my_module):
my_module.compile_version('c++', 2011) my_module.compile_version('c++', 2011)
my_module.add_depend([ my_module.add_depend([
'boost-include', 'boost-include',
'boost-atomic',
'boost-system',
'boost-chrono',
'boost-container',
'boost-context',
'boost-thread',
'boost-coroutine',
'boost-date-time',
'boost-filesystem', 'boost-filesystem',
'boost-fiber', 'boost-fiber',
'boost-regex', 'boost-regex',
'boost-graph', 'boost-graph',
'boost-iostreams', 'boost-iostreams',
'boost-json',
'boost-system',
'boost-locale', 'boost-locale',
'boost-log', 'boost-log',
'boost-log-setup', 'boost-log-setup',
'boost-math-tr1',
'boost-math-tr1f',
'boost-math-tr1l',
'boost-math-c99', 'boost-math-c99',
'boost-math-c99f', 'boost-math-c99f',
'boost-math-c99l', 'boost-math-c99l',
'boost-math-tr1',
'boost-math-tr1f',
'boost-math-tr1l',
'boost-nowide',
'boost-program-options', 'boost-program-options',
'boost-python3', 'boost-python39',
'boost-numpy39',
'boost-random', 'boost-random',
'boost-serialization', 'boost-serialization',
'boost-wserialization', 'boost-wserialization',
'boost-signals',
'boost-stacktrace-noop', 'boost-stacktrace-noop',
'boost-stacktrace-addr2line', 'boost-stacktrace-addr2line',
'boost-stacktrace-basic', 'boost-stacktrace-basic',
'boost-timer',
'boost-prg-exec-monitor', 'boost-prg-exec-monitor',
'boost-unit-test-framework', 'boost-unit-test-framework',
'boost-timer',
'boost-type-erasure', 'boost-type-erasure',
'boost-wave', 'boost-wave',
'boost-atomic',
'boost-chrono',
'boost-container',
'boost-context',
'boost-contract',
'boost-thread',
'boost-coroutine',
'boost-date-time',
]) ])

View File

@ -105,7 +105,7 @@ def genrate_lutin_file(lib_name, list_of_files, list_of_flags):
out = "" out = ""
out += "#!/usr/bin/python\n" out += "#!/usr/bin/python\n"
out += "import lutin.debug as debug\n" out += "import realog.debug as debug\n"
out += "import lutin.tools as tools\n" out += "import lutin.tools as tools\n"
out += "import os\n" out += "import os\n"
out += "\n" out += "\n"
@ -190,7 +190,7 @@ def genrate_lutin_file(lib_name, list_of_files, list_of_flags):
def generate_global_include_module(): def generate_global_include_module():
out = "" out = ""
out += "#!/usr/bin/python\n" out += "#!/usr/bin/python\n"
out += "import lutin.debug as debug\n" out += "import realog.debug as debug\n"
out += "import lutin.tools as tools\n" out += "import lutin.tools as tools\n"
out += "import os\n" out += "import os\n"
out += "\n" out += "\n"
@ -231,7 +231,7 @@ def generate_global_include_module():
def generate_global_module(list_of_module): def generate_global_module(list_of_module):
out = "" out = ""
out += "#!/usr/bin/python\n" out += "#!/usr/bin/python\n"
out += "import lutin.debug as debug\n" out += "import realog.debug as debug\n"
out += "import lutin.tools as tools\n" out += "import lutin.tools as tools\n"
out += "import os\n" out += "import os\n"
out += "\n" out += "\n"
@ -363,7 +363,7 @@ with open(build_output_file) as commit:
#create version file #create version file
genrate_version("1.66.0") genrate_version("1.76.0")
# generate a global inclue # generate a global inclue
generate_global_include_module() generate_global_include_module()
# generate a global library # generate a global library

View File

@ -1 +1 @@
1.66.0 1.76.0