From a1ed7b70255619a939209a7a4b68e64bc3149eb2 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 5 Oct 2021 19:07:33 +0200 Subject: [PATCH] [DEV] update boost 1.76.0 --- boost | 2 +- lutin_boost-atomic.py | 20 +---- lutin_boost-chrono.py | 27 +------ lutin_boost-container.py | 35 +------- lutin_boost-context.py | 36 +-------- ...oost-signals.py => lutin_boost-contract.py | 15 ++-- lutin_boost-coroutine.py | 7 +- lutin_boost-date-time.py | 6 +- lutin_boost-fiber.py | 30 +++++-- lutin_boost-filesystem.py | 16 +++- lutin_boost-graph.py | 4 +- lutin_boost-include.py | 2 +- lutin_boost-iostreams.py | 5 +- lutin_boost-json.py | 79 +++++++++++++++++++ lutin_boost-locale.py | 20 ++++- lutin_boost-log-setup.py | 17 ++-- lutin_boost-log.py | 26 +++--- lutin_boost-math-c99.py | 3 +- lutin_boost-math-c99f.py | 3 +- lutin_boost-math-c99l.py | 6 +- lutin_boost-math-tr1.py | 3 +- lutin_boost-math-tr1f.py | 3 +- lutin_boost-math-tr1l.py | 6 +- lutin_boost-nowide.py | 62 +++++++++++++++ lutin_boost-numpy39.py | 69 ++++++++++++++++ lutin_boost-prg-exec-monitor.py | 11 +-- lutin_boost-program-options.py | 4 +- ...oost-python3.py => lutin_boost-python39.py | 8 +- lutin_boost-random.py | 6 +- lutin_boost-regex.py | 17 +--- lutin_boost-serialization.py | 16 ++-- lutin_boost-stacktrace-addr2line.py | 4 +- lutin_boost-stacktrace-basic.py | 4 +- lutin_boost-stacktrace-noop.py | 4 +- lutin_boost-system.py | 5 +- lutin_boost-thread.py | 30 +------ lutin_boost-timer.py | 8 +- lutin_boost-type-erasure.py | 7 +- lutin_boost-unit-test-framework.py | 11 +-- lutin_boost-wave.py | 7 +- lutin_boost-wserialization.py | 10 ++- lutin_boost.py | 33 ++++---- parseBuildOutputToLutin.py | 8 +- version.txt | 2 +- 44 files changed, 405 insertions(+), 292 deletions(-) rename lutin_boost-signals.py => lutin_boost-contract.py (66%) create mode 100644 lutin_boost-json.py create mode 100644 lutin_boost-nowide.py create mode 100644 lutin_boost-numpy39.py rename lutin_boost-python3.py => lutin_boost-python39.py (92%) diff --git a/boost b/boost index a97e9ae..d0115b7 160000 --- a/boost +++ b/boost @@ -1 +1 @@ -Subproject commit a97e9ae7d481e8dd4637062dfd49481dfd853735 +Subproject commit d0115b733d330c33006be98ae33bfa537d31402b diff --git a/lutin_boost-atomic.py b/lutin_boost-atomic.py index 09c9717..71b6817 100644 --- a/lutin_boost-atomic.py +++ b/lutin_boost-atomic.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -25,23 +25,6 @@ def get_version(): return "version.txt" 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) @@ -50,7 +33,6 @@ def configure(target, my_module): 'm', 'cxx', 'boost-include', - 'pthread', ]) return True diff --git a/lutin_boost-chrono.py b/lutin_boost-chrono.py index d9c2dd8..bbbfec1 100644 --- a/lutin_boost-chrono.py +++ b/lutin_boost-chrono.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -25,29 +25,6 @@ def get_version(): return "version.txt" 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) @@ -56,8 +33,6 @@ def configure(target, my_module): 'm', 'cxx', 'boost-include', - 'pthread', - 'boost-system', ]) return True diff --git a/lutin_boost-container.py b/lutin_boost-container.py index 0735eac..eac7703 100644 --- a/lutin_boost-container.py +++ b/lutin_boost-container.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -25,37 +25,6 @@ def get_version(): return "version.txt" 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) @@ -64,8 +33,6 @@ def configure(target, my_module): 'm', 'cxx', 'boost-include', - 'pthread', - 'pthread', ]) return True diff --git a/lutin_boost-context.py b/lutin_boost-context.py index 939ea87..afd3782 100644 --- a/lutin_boost-context.py +++ b/lutin_boost-context.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -25,38 +25,6 @@ def get_version(): return "version.txt" 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) @@ -65,8 +33,6 @@ def configure(target, my_module): 'm', 'cxx', 'boost-include', - 'pthread', - 'pthread', ]) return True diff --git a/lutin_boost-signals.py b/lutin_boost-contract.py similarity index 66% rename from lutin_boost-signals.py rename to lutin_boost-contract.py index 3c14fb4..f44b1e3 100644 --- a/lutin_boost-signals.py +++ b/lutin_boost-contract.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -7,7 +7,7 @@ def get_type(): return "LIBRARY" def get_desc(): - return "boost:boost-signals library" + return "boost:boost-contract library" #def get_licence(): # return "UNKNOW" @@ -26,25 +26,22 @@ def get_version(): def configure(target, my_module): my_module.add_src_file([ - 'boost/libs/signals/src/trackable.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', + 'boost/libs/contract/src/contract.cpp', ]) my_module.add_flag('c++', [ '-DBOOST_ALL_NO_LIB=1', - '-DBOOST_SIGNALS_DYN_LINK=1', - '-DBOOST_SIGNALS_NO_LIB=1', + '-DBOOST_CONTRACT_DYN_LINK', '-DNDEBUG', ]) my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', + '-fvisibility=hidden', ]) diff --git a/lutin_boost-coroutine.py b/lutin_boost-coroutine.py index adb1587..9948dd0 100644 --- a/lutin_boost-coroutine.py +++ b/lutin_boost-coroutine.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -38,8 +38,6 @@ def configure(target, my_module): '-DBOOST_COROUTINES_DYN_LINK=1', '-DBOOST_COROUTINES_SOURCE', '-DBOOST_DISABLE_ASSERTS', - '-DBOOST_SYSTEM_DYN_LINK=1', - '-DBOOST_SYSTEM_NO_DEPRECATED', '-DBOOST_THREAD_BUILD_DLL=1', '-DBOOST_THREAD_POSIX', '-DBOOST_THREAD_USE_DLL=1', @@ -48,9 +46,11 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', + '-fvisibility=hidden', ]) @@ -64,7 +64,6 @@ def configure(target, my_module): 'boost-chrono', 'boost-context', 'boost-thread', - 'boost-system', ]) return True diff --git a/lutin_boost-date-time.py b/lutin_boost-date-time.py index 746de46..1cde64c 100644 --- a/lutin_boost-date-time.py +++ b/lutin_boost-date-time.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -27,8 +27,6 @@ def get_version(): def configure(target, my_module): my_module.add_src_file([ '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++', [ @@ -40,9 +38,11 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', + '-fvisibility=hidden', ]) diff --git a/lutin_boost-fiber.py b/lutin_boost-fiber.py index bac6ae5..475635a 100644 --- a/lutin_boost-fiber.py +++ b/lutin_boost-fiber.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -26,17 +26,15 @@ def get_version(): def configure(target, my_module): 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/round_robin.cpp', 'boost/libs/fiber/src/algo/shared_work.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/condition_variable.cpp', 'boost/libs/fiber/src/context.cpp', 'boost/libs/fiber/src/fiber.cpp', + 'boost/libs/fiber/src/waker.cpp', 'boost/libs/fiber/src/future.cpp', 'boost/libs/fiber/src/mutex.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/timed_mutex.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++', [ @@ -53,15 +55,29 @@ def configure(target, my_module): '-DBOOST_FIBERS_DYN_LINK=1', '-DBOOST_FIBERS_SOURCE', '-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', ]) my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', + '-fvisibility=hidden', + '-finline-functions', + '-Wno-inline', + '-Wall', + '-fvisibility=hidden', ]) @@ -72,9 +88,9 @@ def configure(target, my_module): 'cxx', 'boost-include', 'pthread', - 'boost-context', 'boost-filesystem', - 'boost-system', + 'boost-context', + 'pthread', ]) return True diff --git a/lutin_boost-filesystem.py b/lutin_boost-filesystem.py index a5d2a62..35cb8e2 100644 --- a/lutin_boost-filesystem.py +++ b/lutin_boost-filesystem.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -27,6 +27,8 @@ def get_version(): def configure(target, my_module): my_module.add_src_file([ '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/path.cpp', 'boost/libs/filesystem/src/path_traits.cpp', @@ -39,18 +41,27 @@ def configure(target, my_module): my_module.add_flag('c++', [ '-DBOOST_ALL_NO_LIB=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', ]) my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', + '-fvisibility=hidden', ]) + my_module.add_path([ + 'boost/libs/filesystem/src', + ], type='c++') + my_module.compile_version('c++', 2011) my_module.add_depend([ 'z', @@ -58,7 +69,6 @@ def configure(target, my_module): 'cxx', 'boost-include', 'pthread', - 'boost-system', ]) return True diff --git a/lutin_boost-graph.py b/lutin_boost-graph.py index 793d534..e3e1894 100644 --- a/lutin_boost-graph.py +++ b/lutin_boost-graph.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -39,9 +39,11 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', + '-fvisibility=hidden', ]) diff --git a/lutin_boost-include.py b/lutin_boost-include.py index 074bee5..801eea3 100644 --- a/lutin_boost-include.py +++ b/lutin_boost-include.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os diff --git a/lutin_boost-iostreams.py b/lutin_boost-iostreams.py index bf551e7..27e3c5d 100644 --- a/lutin_boost-iostreams.py +++ b/lutin_boost-iostreams.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -32,6 +32,7 @@ def configure(target, my_module): 'boost/libs/iostreams/src/gzip.cpp', 'boost/libs/iostreams/src/lzma.cpp', 'boost/libs/iostreams/src/zlib.cpp', + 'boost/libs/iostreams/src/zstd.cpp', ]) my_module.add_flag('c++', [ @@ -43,9 +44,11 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', + '-fvisibility=hidden', ]) diff --git a/lutin_boost-json.py b/lutin_boost-json.py new file mode 100644 index 0000000..6586458 --- /dev/null +++ b/lutin_boost-json.py @@ -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 + + diff --git a/lutin_boost-locale.py b/lutin_boost-locale.py index d2faac6..1b1eb0b 100644 --- a/lutin_boost-locale.py +++ b/lutin_boost-locale.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -59,6 +59,12 @@ def configure(target, my_module): 'boost/libs/locale/src/std/numeric.cpp', 'boost/libs/locale/src/std/std_backend.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++', [ @@ -69,19 +75,27 @@ def configure(target, my_module): '-DBOOST_LOCALE_WITH_ICONV=1', '-DBOOST_LOCALE_WITH_ICU=1', '-DBOOST_SYSTEM_DYN_LINK=1', - '-DBOOST_SYSTEM_NO_DEPRECATED', '-DBOOST_THREAD_BUILD_DLL=1', '-DBOOST_THREAD_NO_LIB=1', '-DBOOST_THREAD_POSIX', '-DBOOST_THREAD_USE_DLL=1', '-DNDEBUG', + '-DBOOST_ALL_DYN_LINK=1', + '-DBOOST_THREAD_DONT_USE_CHRONO', ]) my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', + '-fvisibility=hidden', + '-Wextra', + '-Wno-long-long', + '-Wno-unused-parameter', + '-Wunused-function', + '-pedantic', ]) @@ -92,9 +106,9 @@ def configure(target, my_module): 'cxx', 'boost-include', 'pthread', + 'boost-system', 'boost-chrono', 'boost-thread', - 'boost-system', ]) return True diff --git a/lutin_boost-log-setup.py b/lutin_boost-log-setup.py index 05eadf1..f30f04c 100644 --- a/lutin_boost-log-setup.py +++ b/lutin_boost-log-setup.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -41,7 +41,6 @@ def configure(target, my_module): '-DBOOST_ALL_NO_LIB=1', '-DBOOST_ATOMIC_DYN_LINK=1', '-DBOOST_CHRONO_DYN_LINK=1', - '-DBOOST_DATE_TIME_DYN_LINK=1', '-DBOOST_FILESYSTEM_DYN_LINK=1', '-DBOOST_HAS_ICU=1', '-DBOOST_LOG_DYN_LINK=1', @@ -53,13 +52,10 @@ def configure(target, my_module): '-DBOOST_LOG_USE_SSSE3', '-DBOOST_LOG_WITHOUT_EVENT_LOG', '-DBOOST_SPIRIT_USE_PHOENIX_V3=1', - '-DBOOST_SYSTEM_DYN_LINK=1', - '-DBOOST_SYSTEM_NO_DEPRECATED', '-DBOOST_THREAD_BUILD_DLL=1', '-DBOOST_THREAD_DONT_USE_CHRONO=1', '-DBOOST_THREAD_POSIX', '-DBOOST_THREAD_USE_DLL=1', - '-DDATE_TIME_INLINE', '-DNDEBUG', '-D_XOPEN_SOURCE=600', '-D__STDC_CONSTANT_MACROS', @@ -67,12 +63,13 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-ftemplate-depth-1024', + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', - '-fno-strict-aliasing', - '-ftemplate-depth-1024', '-fvisibility=hidden', + '-fno-strict-aliasing', ]) @@ -90,11 +87,9 @@ def configure(target, my_module): 'boost-log', 'boost-regex', 'boost-filesystem', - 'boost-date-time', - 'boost-thread', - 'boost-chrono', - 'boost-system', 'boost-atomic', + 'boost-chrono', + 'boost-thread', ]) return True diff --git a/lutin_boost-log.py b/lutin_boost-log.py index 6f0586b..a242dce 100644 --- a/lutin_boost-log.py +++ b/lutin_boost-log.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -55,7 +55,6 @@ def configure(target, my_module): 'boost/libs/log/src/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/unhandled_exception_count.cpp', 'boost/libs/log/src/permissions.cpp', 'boost/libs/log/src/dump.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/object_name.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++', [ '-DBOOST_ALL_NO_LIB=1', '-DBOOST_ATOMIC_DYN_LINK=1', '-DBOOST_CHRONO_DYN_LINK=1', - '-DBOOST_DATE_TIME_DYN_LINK=1', '-DBOOST_FILESYSTEM_DYN_LINK=1', '-DBOOST_HAS_ICU=1', '-DBOOST_LOG_BUILDING_THE_LIB=1', @@ -81,37 +82,40 @@ def configure(target, my_module): '-DBOOST_LOG_WITHOUT_DEBUG_OUTPUT', '-DBOOST_LOG_WITHOUT_EVENT_LOG', '-DBOOST_SPIRIT_USE_PHOENIX_V3=1', - '-DBOOST_SYSTEM_DYN_LINK=1', - '-DBOOST_SYSTEM_NO_DEPRECATED', '-DBOOST_THREAD_BUILD_DLL=1', '-DBOOST_THREAD_DONT_USE_CHRONO=1', '-DBOOST_THREAD_POSIX', '-DBOOST_THREAD_USE_DLL=1', - '-DDATE_TIME_INLINE', '-DNDEBUG', '-D_XOPEN_SOURCE=600', '-D__STDC_CONSTANT_MACROS', + '-DBOOST_ATOMIC_SOURCE', + '-DBOOST_ATOMIC_USE_SSE2', + '-DBOOST_ATOMIC_USE_SSE41', ]) my_module.add_flag('c', [ + '-ftemplate-depth-1024', + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', - '-fno-strict-aliasing', - '-ftemplate-depth-1024', '-fvisibility=hidden', + '-fno-strict-aliasing', '-mavx', '-mavx2', '-msse', '-msse2', '-msse3', '-mssse3', + '-msse4.1', ]) my_module.add_path([ 'boost/libs/log/src', + 'boost/libs/atomic/src', ], type='c++') my_module.compile_version('c++', 2011) @@ -121,13 +125,11 @@ def configure(target, my_module): 'cxx', 'boost-include', 'pthread', + 'boost-filesystem', + 'boost-regex', 'boost-atomic', 'boost-chrono', 'boost-thread', - 'boost-date-time', - 'boost-filesystem', - 'boost-system', - 'boost-regex', ]) return True diff --git a/lutin_boost-math-c99.py b/lutin_boost-math-c99.py index e8bfe31..31398ab 100644 --- a/lutin_boost-math-c99.py +++ b/lutin_boost-math-c99.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -58,6 +58,7 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', diff --git a/lutin_boost-math-c99f.py b/lutin_boost-math-c99f.py index 058fe4d..9afaef1 100644 --- a/lutin_boost-math-c99f.py +++ b/lutin_boost-math-c99f.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -58,6 +58,7 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', diff --git a/lutin_boost-math-c99l.py b/lutin_boost-math-c99l.py index f4d4b55..20685d9 100644 --- a/lutin_boost-math-c99l.py +++ b/lutin_boost-math-c99l.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -26,6 +26,7 @@ def get_version(): def configure(target, my_module): 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/asinhl.cpp', 'boost/libs/math/build/../src/tr1/atanhl.cpp', @@ -51,13 +52,14 @@ def configure(target, my_module): my_module.add_flag('c++', [ '-DBOOST_ALL_NO_LIB=1', + '-DNDEBUG', '-DBOOST_BUILD_PCH_ENABLED', '-DBOOST_MATH_TR1_DYN_LINK=1', - '-DNDEBUG', ]) my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', diff --git a/lutin_boost-math-tr1.py b/lutin_boost-math-tr1.py index 6c9f817..66b1381 100644 --- a/lutin_boost-math-tr1.py +++ b/lutin_boost-math-tr1.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -58,6 +58,7 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', diff --git a/lutin_boost-math-tr1f.py b/lutin_boost-math-tr1f.py index a2ff628..7f8b676 100644 --- a/lutin_boost-math-tr1f.py +++ b/lutin_boost-math-tr1f.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -58,6 +58,7 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', diff --git a/lutin_boost-math-tr1l.py b/lutin_boost-math-tr1l.py index 2e8ab31..0cc3124 100644 --- a/lutin_boost-math-tr1l.py +++ b/lutin_boost-math-tr1l.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -26,7 +26,6 @@ def get_version(): def configure(target, my_module): 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_legendrel.cpp', 'boost/libs/math/build/../src/tr1/betal.cpp', @@ -52,13 +51,14 @@ def configure(target, my_module): my_module.add_flag('c++', [ '-DBOOST_ALL_NO_LIB=1', - '-DNDEBUG', '-DBOOST_BUILD_PCH_ENABLED', '-DBOOST_MATH_TR1_DYN_LINK=1', + '-DNDEBUG', ]) my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', diff --git a/lutin_boost-nowide.py b/lutin_boost-nowide.py new file mode 100644 index 0000000..9409e60 --- /dev/null +++ b/lutin_boost-nowide.py @@ -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 + + diff --git a/lutin_boost-numpy39.py b/lutin_boost-numpy39.py new file mode 100644 index 0000000..343444b --- /dev/null +++ b/lutin_boost-numpy39.py @@ -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 + + diff --git a/lutin_boost-prg-exec-monitor.py b/lutin_boost-prg-exec-monitor.py index a072d8b..721693f 100644 --- a/lutin_boost-prg-exec-monitor.py +++ b/lutin_boost-prg-exec-monitor.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -33,20 +33,17 @@ def configure(target, my_module): my_module.add_flag('c++', [ '-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_TIMER_DYN_LINK=1', '-DNDEBUG', ]) my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', - '-pedantic', + '-fvisibility=hidden', '-Wno-variadic-macros', ]) @@ -58,8 +55,6 @@ def configure(target, my_module): 'cxx', 'boost-include', 'pthread', - 'boost-timer', - 'boost-system', ]) return True diff --git a/lutin_boost-program-options.py b/lutin_boost-program-options.py index 90a4996..645657f 100644 --- a/lutin_boost-program-options.py +++ b/lutin_boost-program-options.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -47,9 +47,11 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', + '-fvisibility=hidden', ]) diff --git a/lutin_boost-python3.py b/lutin_boost-python39.py similarity index 92% rename from lutin_boost-python3.py rename to lutin_boost-python39.py index 8f27da2..bd7eb98 100644 --- a/lutin_boost-python3.py +++ b/lutin_boost-python39.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -7,7 +7,7 @@ def get_type(): return "LIBRARY" def get_desc(): - return "boost:boost-python3 library" + return "boost:boost-python39 library" #def get_licence(): # return "UNKNOW" @@ -63,14 +63,16 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', + '-fvisibility=hidden', ]) my_module.add_path([ - '/usr/include/python3.6m', + '/usr/include/python3.9', ], type='c++') my_module.compile_version('c++', 2011) diff --git a/lutin_boost-random.py b/lutin_boost-random.py index 94ca438..bdf67f0 100644 --- a/lutin_boost-random.py +++ b/lutin_boost-random.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -32,15 +32,16 @@ def configure(target, my_module): my_module.add_flag('c++', [ '-DBOOST_ALL_NO_LIB=1', '-DBOOST_RANDOM_DYN_LINK', - '-DBOOST_SYSTEM_DYN_LINK=1', '-DNDEBUG', ]) my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', + '-fvisibility=hidden', ]) @@ -51,7 +52,6 @@ def configure(target, my_module): 'cxx', 'boost-include', 'pthread', - 'boost-system', ]) return True diff --git a/lutin_boost-regex.py b/lutin_boost-regex.py index f09cb88..a896552 100644 --- a/lutin_boost-regex.py +++ b/lutin_boost-regex.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -26,23 +26,11 @@ def get_version(): def configure(target, my_module): 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/regex.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/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/winstances.cpp', - 'boost/libs/regex/build/../src/usinstances.cpp', ]) my_module.add_flag('c++', [ @@ -54,10 +42,11 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', - '-pedantic', + '-fvisibility=hidden', ]) diff --git a/lutin_boost-serialization.py b/lutin_boost-serialization.py index ddc2f71..3a84744 100644 --- a/lutin_boost-serialization.py +++ b/lutin_boost-serialization.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -26,6 +26,7 @@ def get_version(): def configure(target, my_module): my_module.add_src_file([ + 'boost/libs/serialization/src/archive_exception.cpp', 'boost/libs/serialization/src/basic_archive.cpp', 'boost/libs/serialization/src/basic_iarchive.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/text_iarchive.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/archive_exception.cpp', 'boost/libs/serialization/src/xml_grammar.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/codecvt_null.cpp', 'boost/libs/serialization/src/utf8_codecvt_facet.cpp', + 'boost/libs/serialization/src/xml_oarchive.cpp', ]) my_module.add_flag('c++', [ @@ -65,12 +71,12 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', - '-ftemplate-depth-255', '-fvisibility=hidden', - '-fvisibility-inlines-hidden', + '-ftemplate-depth-255', ]) diff --git a/lutin_boost-stacktrace-addr2line.py b/lutin_boost-stacktrace-addr2line.py index 455b996..85e7f62 100644 --- a/lutin_boost-stacktrace-addr2line.py +++ b/lutin_boost-stacktrace-addr2line.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -37,10 +37,10 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', - '-pedantic', '-fvisibility=hidden', ]) diff --git a/lutin_boost-stacktrace-basic.py b/lutin_boost-stacktrace-basic.py index d556311..2f20df2 100644 --- a/lutin_boost-stacktrace-basic.py +++ b/lutin_boost-stacktrace-basic.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -37,10 +37,10 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', - '-pedantic', '-fvisibility=hidden', ]) diff --git a/lutin_boost-stacktrace-noop.py b/lutin_boost-stacktrace-noop.py index 8e3840c..a3c8ee3 100644 --- a/lutin_boost-stacktrace-noop.py +++ b/lutin_boost-stacktrace-noop.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -37,10 +37,10 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', - '-pedantic', '-fvisibility=hidden', ]) diff --git a/lutin_boost-system.py b/lutin_boost-system.py index 91d3bb4..e43d956 100644 --- a/lutin_boost-system.py +++ b/lutin_boost-system.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -37,10 +37,11 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', - '-pedantic', + '-fvisibility=hidden', ]) diff --git a/lutin_boost-thread.py b/lutin_boost-thread.py index 946cd40..80abeb7 100644 --- a/lutin_boost-thread.py +++ b/lutin_boost-thread.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -25,32 +25,6 @@ def get_version(): return "version.txt" 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) @@ -59,8 +33,6 @@ def configure(target, my_module): 'm', 'cxx', 'boost-include', - 'pthread', - 'boost-system', ]) return True diff --git a/lutin_boost-timer.py b/lutin_boost-timer.py index 2ef736b..a625795 100644 --- a/lutin_boost-timer.py +++ b/lutin_boost-timer.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -33,18 +33,17 @@ def configure(target, my_module): my_module.add_flag('c++', [ '-DBOOST_ALL_NO_LIB=1', '-DBOOST_CHRONO_DYN_LINK=1', - '-DBOOST_SYSTEM_DYN_LINK=1', - '-DBOOST_SYSTEM_NO_DEPRECATED', '-DBOOST_TIMER_DYN_LINK=1', '-DNDEBUG', ]) my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', - '-pedantic', + '-fvisibility=hidden', ]) @@ -56,7 +55,6 @@ def configure(target, my_module): 'boost-include', 'pthread', 'boost-chrono', - 'boost-system', ]) return True diff --git a/lutin_boost-type-erasure.py b/lutin_boost-type-erasure.py index 9a577d4..267f92d 100644 --- a/lutin_boost-type-erasure.py +++ b/lutin_boost-type-erasure.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -33,7 +33,6 @@ def configure(target, my_module): '-DBOOST_ALL_NO_LIB=1', '-DBOOST_CHRONO_DYN_LINK=1', '-DBOOST_SYSTEM_DYN_LINK=1', - '-DBOOST_SYSTEM_NO_DEPRECATED', '-DBOOST_THREAD_BUILD_DLL=1', '-DBOOST_THREAD_POSIX', '-DBOOST_THREAD_USE_DLL=1', @@ -43,9 +42,11 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', + '-fvisibility=hidden', ]) @@ -57,8 +58,8 @@ def configure(target, my_module): 'boost-include', 'pthread', 'boost-thread', - 'boost-chrono', 'boost-system', + 'boost-chrono', ]) return True diff --git a/lutin_boost-unit-test-framework.py b/lutin_boost-unit-test-framework.py index 471d469..a4608a8 100644 --- a/lutin_boost-unit-test-framework.py +++ b/lutin_boost-unit-test-framework.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -47,20 +47,17 @@ def configure(target, my_module): my_module.add_flag('c++', [ '-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_TIMER_DYN_LINK=1', '-DNDEBUG', ]) my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', - '-pedantic', + '-fvisibility=hidden', '-Wno-variadic-macros', ]) @@ -72,8 +69,6 @@ def configure(target, my_module): 'cxx', 'boost-include', 'pthread', - 'boost-timer', - 'boost-system', ]) return True diff --git a/lutin_boost-wave.py b/lutin_boost-wave.py index 70240a6..489b272 100644 --- a/lutin_boost-wave.py +++ b/lutin_boost-wave.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools 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_literalgrs.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_re2c_lexer.cpp', 'boost/libs/wave/src/instantiate_re2c_lexer_str.cpp', @@ -47,9 +48,11 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', + '-fvisibility=hidden', '-w', ]) @@ -63,9 +66,7 @@ def configure(target, my_module): 'pthread', 'boost-filesystem', 'boost-thread', - 'boost-date-time', 'boost-chrono', - 'boost-system', ]) return True diff --git a/lutin_boost-wserialization.py b/lutin_boost-wserialization.py index 18dcd2e..9e6bb27 100644 --- a/lutin_boost-wserialization.py +++ b/lutin_boost-wserialization.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -30,9 +30,13 @@ def configure(target, my_module): 'boost/libs/serialization/src/basic_text_woprimitive.cpp', 'boost/libs/serialization/src/text_wiarchive.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_wiarchive.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++', [ @@ -43,12 +47,12 @@ def configure(target, my_module): my_module.add_flag('c', [ + '-fvisibility-inlines-hidden', '-finline-functions', '-Wno-inline', '-Wall', - '-ftemplate-depth-255', '-fvisibility=hidden', - '-fvisibility-inlines-hidden', + '-ftemplate-depth-255', ]) diff --git a/lutin_boost.py b/lutin_boost.py index 049ca01..17f649f 100644 --- a/lutin_boost.py +++ b/lutin_boost.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import lutin.debug as debug +import realog.debug as debug import lutin.tools as tools import os @@ -25,42 +25,45 @@ def configure(target, my_module): my_module.compile_version('c++', 2011) my_module.add_depend([ 'boost-include', - 'boost-atomic', - 'boost-system', - 'boost-chrono', - 'boost-container', - 'boost-context', - 'boost-thread', - 'boost-coroutine', - 'boost-date-time', 'boost-filesystem', 'boost-fiber', 'boost-regex', 'boost-graph', 'boost-iostreams', + 'boost-json', + 'boost-system', 'boost-locale', 'boost-log', 'boost-log-setup', - 'boost-math-tr1', - 'boost-math-tr1f', - 'boost-math-tr1l', 'boost-math-c99', 'boost-math-c99f', 'boost-math-c99l', + 'boost-math-tr1', + 'boost-math-tr1f', + 'boost-math-tr1l', + 'boost-nowide', 'boost-program-options', - 'boost-python3', + 'boost-python39', + 'boost-numpy39', 'boost-random', 'boost-serialization', 'boost-wserialization', - 'boost-signals', 'boost-stacktrace-noop', 'boost-stacktrace-addr2line', 'boost-stacktrace-basic', - 'boost-timer', 'boost-prg-exec-monitor', 'boost-unit-test-framework', + 'boost-timer', 'boost-type-erasure', 'boost-wave', + 'boost-atomic', + 'boost-chrono', + 'boost-container', + 'boost-context', + 'boost-contract', + 'boost-thread', + 'boost-coroutine', + 'boost-date-time', ]) diff --git a/parseBuildOutputToLutin.py b/parseBuildOutputToLutin.py index 0d7aa06..d3ed7e6 100755 --- a/parseBuildOutputToLutin.py +++ b/parseBuildOutputToLutin.py @@ -105,7 +105,7 @@ def genrate_lutin_file(lib_name, list_of_files, list_of_flags): out = "" 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 os\n" out += "\n" @@ -190,7 +190,7 @@ def genrate_lutin_file(lib_name, list_of_files, list_of_flags): def generate_global_include_module(): out = "" 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 os\n" out += "\n" @@ -231,7 +231,7 @@ def generate_global_include_module(): def generate_global_module(list_of_module): out = "" 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 os\n" out += "\n" @@ -363,7 +363,7 @@ with open(build_output_file) as commit: #create version file -genrate_version("1.66.0") +genrate_version("1.76.0") # generate a global inclue generate_global_include_module() # generate a global library diff --git a/version.txt b/version.txt index 17c6caa..1f3171c 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.66.0 \ No newline at end of file +1.76.0 \ No newline at end of file