pkgsrc/devel/boost-libs/buildlink3.mk

26 lines
648 B
Makefile
Raw Normal View History

boost: updated to 1.76.0 Updated Libraries Asio: Added ip::scope_id_type type alias. Added ip::port_type type alias. Added std::hash specialisations for IP addresses. Added std::hash specialisations for ip::basic_endpoint<>. Refactored SFINAE usage to improve compile times. Added friendship support to customisation points, and made most customisations private. Changed any_io_executor to a "strong typedef"-style class. Fixed experimental::as_single to work with handler hook deprecation. Ensured pthread condition variable attributes are cleaned up on all platforms. Clarified thread safety notes on sockets and descriptors. Ensured errno is not overwritten if socket() fails on macOS/FreeBSD. Fixed work tracking for io_context and thread_pool executors when move-assigned. Ensured internal call_stack objects are accessed only from implementation files. Fixed I/O object move-assignment to ensure the executor is left in a valid state. Fixed detection of compiler support for defaulted template argument on functions with MSVC. Prevented the blocking.always property from being used with strand<>, as it did not produce the correct semantics. Removed deprecated file asio/impl/src.cpp. Atomic: Fixed compilation with MSVC for ARM. Beast: This update brings minor bug fixes and revamped CI reporting. We'd love to know how you or your company use Beast, consider adding an entry to the Companies and Individuals Using Beast list. See the full Release Notes for a complete list of changes. Bind: Add support for using the standard C++11 placeholders with boost::bind. Update boost::apply to use variadic templates and perfect forwarding. Container: Added [[no-discard]] attribute in all containers to catch bugs related to unused return values. Replaced default standard exception classes with Boost.Container own classes, reducing considerably the included files overhead. Example: in MSVC 19 boost/container/vector.hpp preprocessed file size reduces from 1,5MB to 930KB. If you still want to use standard exception classes, you can define BOOST_CONTAINER_USE_STD_EXCEPTIONS before using any Boost.Container class. Fixed bugs/issues: GitHub 102: "flat_map::insert ambiguous with initializer list & pairs that need to convert". GitHub 139: "flat_map merge and iterators". GitHub 141: "small_vector does not propagate no throw properties of move operation of contained type". GitHub 164: "Compile error when using pmr::map with a std::pair; works when using a std::tuple". GitHub 171: "deque::clear() uses undefined behaviour". Core: Add implicit conversion between compatible reference wrappers. Add boost/core/cmath.hpp, a portable implementation of the floating point classification functions from <cmath>. Add boost/core/bit.hpp, a portable implementation of the C++20 standard header <bit>. Fix BOOST_TEST_EQ, BOOST_TEST_NE for character types under C++20. Revise allocator access utilities (now support VS2013, and no workarounds use allocator_traits.) DLL: BREAKING CHANGE: boost::dll::import was renamed to boost::dll::import_symbol to avoid collision with C++20 import keyword. Updated docs, including FAQ section. Filesystem: Updated compatibility with WASI platform. Fixed an exception being thrown by path::remove_filename if the path is "////". Fixed create_directories disregarding errors from file status query operations issued internally. This could result in incorrect error codes returned by create_directories. GIL: BREAKING: In next release, we are going to drop support for GCC 5. We will also change the required minimum C++ version from C++11 to C++14. Intrusive: Reduced compile-time dependencies: linear_slist_algorithms use a simple node_ptr instead of std::pair on return. list/slist use operator </operator == instead of std::equal_to/std::less. Fixed GitHub 54: set.rbegin() looks like O(log(N)) Interprocess: Added wchar_t API support for named resources in operating systems that offer native wide character API (e.g. Windows). The following classes were updated with wchar_t name support: file_mapping managed_mapped_file managed_shared_memory managed_windows_shared_memory shared_memory_object windows_shared_memory_object file_lock named_condition named_condition_any named_mutex named_recursive_mutex named_semaphore named_sharable_mutex named_upgradable_mutex message_queue Added BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION macro option to disable the use of generic emulation code for process shared synchronization primitives instead of native POSIX or Winapi functions. Fixed bugs: GitHub 76 ("Cygwin compilation errors"). GitHub 83 ("Add BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION option"). GitHub 92 ("bufferstream: Correct MSVC compilation warning"). GitHub 106 ("Use fallocate on truncate_file"). GitHub 120 ("segment_manager customization"). GitHub 122 ("Mark constructors/assignment/swap noexcept where possible"). GitHub 126 ("_ReadWriteBarrier is deprecated warning when compiling with clang-cl.exe"). JSON: Security Report from Bishop Fox. Refactored value_from implementation; user customizations are now always preferred over library-provided overloads. Fix imprecise parsing for some floating point numbers. Fix link errors in standalone mode, when used alongside Boost. Fix Boost.Build builds on GCC 4.8. LexicalCast: Dropped dependency on Boost.Math Fixes for the CI and coverage Log: Bug fixes: Corrected a formal race condition in the thread-safe log record queue implementation used in the unbounded_fifo_queue policy of the asynchronous_sink frontend. The race could be detected by TSAN, but it was not a real problem on most current CPU architectures and compilers. When copying a logger with a channel attribute (e.g. channel_logger), the channel attribute is now deep-copied from the original logger. This means that modifying the channel in the new logger will no longer affect the original logger. Replaced the use of std::allocator<void> in template parameters with a new tag type boost::log::use_std_allocator to silence libc++ warnings about the former being deprecated in C++17 and later. The tag indicates that the instantiated template should be using a specialization of std::allocator internally to allocate dynamic memory, so the change has no functional effect. Boost.Log no longer defines __MSVCRT_VERSION__ macro on MinGW and MinGW-w64. Defining this macro caused incompatibility with UCRT, which is available as an option in recent MinGW-w64. See changelog for more details. Math: Breaking Change: C++03 support is now removed, a C++11 or later conformant compiler is now required to use this library. Added Z-test. Added execution policy support to univariate and bivariate statistics: enables parallel execution (requires C++17 and <execution>). Big update/improvement on CI testing. Bivariate statistics now have integer support. T-Test now has integer support. Linear regression now has integer support. Correct PDF of the beta distribution at the endpoints. Correct use of Stirling's approximation in certain multiprecision cases. Eliminate -Wimplicit-int-float-conversion on clang. Fix some constexpr issues in quaternion/octonion. Minor performance fix to tanh_sinh integration. Update hypergeometric functions internal scaling to allow for 64-bit (long long) exponents with multiprecision types. Move: Git Issue 35: "New nothrow move traits are incomplete". Multiprecision: BREAKING CHANGE: Massive refactoring and code simplification makes C++11 an absolute requirement. Use BOOST_TRY/CATCH in headers so code can be used in exception-free environments. Correct corner case in pow. Correct exception type thrown to match docs in lsb/msb. Allow moves and operators between related but different types (ie types with the same allocator). Nowide: Fix discarding of characters for text file streams when seek or sync functions are used and newlines were converted (e.g. on Windows) Fix potential use-after-free bug when reusing (via open) a file stream that has been closed Fix potential invalid memory access when using a file stream that has been moved or swapped to where the source had a put-back character or was set to unbuffered mode Fix compatibility with ucrt runtime by not defining __MSVCRT_VERSION__ Known issues: Read performance for text files is degraded. Binary files and writing is unaffected. Optional: Fixed MSVC warning C4702. Outcome: Announcements: BREAKING CHANGE: After a year and three major Boost releases announcing this upcoming change, this is the FIRST RELEASE of the v2.2 branch. This branch has a number of major breaking changes to the Outcome v2.1 which shipped in Boost 1.75 and earlier, see the documentation for details. Enhancements: VS2019.8 changed how to enable Coroutines, which caused Outcome to not compile on that compiler. If on C++ 20, we now use C++ 20 [[likely]] instead of compiler-specific markup to indicate when TRY has likely success or failure. BREAKING CHANGE: Previously the value of spare_storage(const basic_result|basic_outcome *) noexcept was not propagated over BOOST_OUTCOME_TRY, which causes things like stack backtraces captured at the point of construction of an errored result to get dropped at every TRY point. This has been fixed by adding an optional spare_storage to success_type<T> and failure_type<T>, as well as to auto success(T &&, ...) and auto failure(T &&, ...). Bug fixes: Boost.Outcome should now compile with BOOST_NO_EXCEPTIONS defined. Thanks to Emil, maintainer of Boost.Exception, making a change for me, Boost.Outcome should now compile with C++ exceptions globally disabled. You won't be able to use boost::exception_ptr as it can't be included if C++ exceptions are globally disabled. BREAKING CHANGE 244 It came as a shock to learn that BOOST_OUTCOME_TRY had been broken since the inception of this library for certain corner case code, which required a breaking change in how TRY works. See the changelog in the documentation for more detail. Parameter: Added a workaround for MSVC 2015 code miscompilation when an rvalue was used as a default value of a named parameter of a function. PFR: Fixed reflection of types with missing const in SFINAE expressions in template constructor. Now reflection of aggregates with std::optional<std::chrono::duration<???>> fields works on any Standard Library implementation, even if LWG3050 is not fixed. Comparison functions are now constexpr Fixed numerous typos in docs PolyCollection: Worked around GCC bug affecting GCC versions 9.3-10.2. Predef: Version 1.13 Add ARCH_PPC_64 predef. Fix ARCH_WORD_BITS* redefinition warnings/errors. Add ARCH_E2K, Elbrus 2000, architecture from Konstantin Ivlev. Fix not handling recent C++ version that go above 10.x version. Version 1.12 Switch to using the endian.h header on OpenBSD. (Brad Smith) Fix not handling recent versions of stdcxx that go above version 9. Fix including sub-BSD OS headers directly causing redef warnings. Add CI testing of direct inclusion of all headers. Add CI testing on FreeBSD for clang and gcc. Add WORD_BITS set of predefs to detect the architecture word size. Initial implementation inspired by submission from Mikhail Komarov. Add CI testing for Cygwin 32 and 64. PropertyTree: Property Tree has a new maintainer. Fix usage of deprecated Boost.Bind features. Link to Wikipedia fixed. Use BOOST_OVERRIDE to fix GCC warnings. Add extensive CI testing. Regex: Regex is now header only except in C++03 mode. Support for C++03 is now deprecated. The library can now be used "standalone" without the rest of Boost being present. Stacktrace: Better support for pre-C++11 builds on clang. Bigger warning for do not use boost::stacktrace::stacktrace in signal handlers. TypeTraits: Fix for Visual Studio managed code projects. Variant2: Improved generated code for the double buffered case. Updated Tools Build: Includes release of B2 version 4.4.1.
2021-04-21 14:09:49 +02:00
# $NetBSD: buildlink3.mk,v 1.55 2021/04/21 12:09:50 adam Exp $
Complete rework of the Boost packages: - Drop devel/boost and devel/boost-thread. - Add devel/boost-docs which includes all the documentation related to Boost (previously included in devel/boost). - Add devel/boost-build which includes bjam, the Boost.Build framework. - Add devel/boost-headers which includes all the header files needed at build time by programs using Boost (previously included in devel/boost). - Add devel/boost-libs which includes all the binary libraries needed at build and run time by programs using Boost (previously included in devel/boost and devel/thread). All of them are multithreaded, to make things easier. - devel/boost-python includes the Boost Python library (as it did before), but now works, given that everything is threaded again. - Drop our thread_user.hpp customization. Avoids some build failures that appeared when the previous boost-thread package was not installed. - Use static PLISTs. - Install unversioned files. Makes things *a lot* easier when building stuff outside pkgsrc. - Add meta-pkgs/boost, a meta package that depends on all of the above. Thanks go to jlam@ and tv@ for their comments. While here, update to 1.32.0: New Toolset Names The names of some the Boost.Build toolsets have been changed to remove the "." (dot) character and to fix some other naming inconsistencies. For example, vc7.1 toolset was renamed to become vc-7_1. Please refer to the Supported Toolsets section of the installation guide for the complete list of the current toolset names. This change was made as a part of the effort to make the Boost distribution compatible with ISO 9660 level 2 requirements. New Libraries * Assignment Library: Filling containers with constant or generated data has never been easier, from Thorsten Ottosen. * Minmax Library: Standard library extensions for simultaneous min/max and min/max element computations, from Hervé Brönnimann. * Multi-index Containers Library: Containers with multiple STL-compatible access interfaces, from Joaquín M López Muñoz. * Numeric Conversion Library: Optimized policy-based numeric conversions, from Fernando Cacciola. * Program Options Library: Access to configuration data given on command line, in config files and other sources, from Vladimir Prus. * Range Library: A new infrastructure for generic algorithms that builds on top of the new iterator concepts, from Thorsten Ottosen. * Serialization Library: Serialization/de-serialization of arbitrary C++ data structures to various formats including text, binary, and xml, from Robert Ramey. * String Algorithms Library: Collection of string related algorithms for case conversion, trimming, find/replace operations and more, from Pavol Droba. * Tribool: 3-state boolean type library, from Doug Gregor. Updated Libraries * Compose: This deprecated library has been removed. * Graph: o Added bundled properties to the adjacency_list and adjacency_matrix class templates, greatly simplifying the introduction of internal vertex and edge properties. o The LEDA graph adaptors have been ported to LEDA 4.5. o Added algorithms for betweenness centrality and betweenness centrality clustering. o Added circle layout and undirected spring layout algorithms. * MPL Library: o Updated to use the Boost Software License. o New documentation, including a complete reference manual. o Major interface changes and improvements, many of which are not backward compatible. Please refer to the 1.32 changelog for the detailed information about upgrading to the new version. * Python Library: o Updated to use the Boost Software License. o A new, better method of wrapping classes with virtual functions has been implemented. o Support for the new Python Bool type, thanks to Daniel Holth. o Support for upcoming GCC symbol export control features have been folded in, thanks to Niall Douglas. o Improved support for std::auto_ptr-like types. o Components used by other libraries have been moved out of python/detail and into boost/detail to improve dependency relationships. o Miscellaneous bug fixes and compiler workarounds. * Signals Library: Introduced deterministic slot ordering, permitting slots to be connected at the beginning or end of slot groups or the slot list itself. Combiners may safely have state and are accessible from the signal. * Utility: class template result_of added. * Test Library: o namespace names gets shorten; old one still supported till next release o added proper encoding of XML PCDATA o support for wide string comparison implemented For complete list of changes see Test Library release notes. Regression tests This release has been extensively tested on a variety of different compilers and platforms. It is known to contain no regressions against the previous reference release on the compilers and configurations tested. Please refer to the corresponding regression reports to see how well your compiler performs on the new Boost codebase.
2005-02-26 23:48:34 +01:00
BUILDLINK_TREE+= boost-libs
Complete rework of the Boost packages: - Drop devel/boost and devel/boost-thread. - Add devel/boost-docs which includes all the documentation related to Boost (previously included in devel/boost). - Add devel/boost-build which includes bjam, the Boost.Build framework. - Add devel/boost-headers which includes all the header files needed at build time by programs using Boost (previously included in devel/boost). - Add devel/boost-libs which includes all the binary libraries needed at build and run time by programs using Boost (previously included in devel/boost and devel/thread). All of them are multithreaded, to make things easier. - devel/boost-python includes the Boost Python library (as it did before), but now works, given that everything is threaded again. - Drop our thread_user.hpp customization. Avoids some build failures that appeared when the previous boost-thread package was not installed. - Use static PLISTs. - Install unversioned files. Makes things *a lot* easier when building stuff outside pkgsrc. - Add meta-pkgs/boost, a meta package that depends on all of the above. Thanks go to jlam@ and tv@ for their comments. While here, update to 1.32.0: New Toolset Names The names of some the Boost.Build toolsets have been changed to remove the "." (dot) character and to fix some other naming inconsistencies. For example, vc7.1 toolset was renamed to become vc-7_1. Please refer to the Supported Toolsets section of the installation guide for the complete list of the current toolset names. This change was made as a part of the effort to make the Boost distribution compatible with ISO 9660 level 2 requirements. New Libraries * Assignment Library: Filling containers with constant or generated data has never been easier, from Thorsten Ottosen. * Minmax Library: Standard library extensions for simultaneous min/max and min/max element computations, from Hervé Brönnimann. * Multi-index Containers Library: Containers with multiple STL-compatible access interfaces, from Joaquín M López Muñoz. * Numeric Conversion Library: Optimized policy-based numeric conversions, from Fernando Cacciola. * Program Options Library: Access to configuration data given on command line, in config files and other sources, from Vladimir Prus. * Range Library: A new infrastructure for generic algorithms that builds on top of the new iterator concepts, from Thorsten Ottosen. * Serialization Library: Serialization/de-serialization of arbitrary C++ data structures to various formats including text, binary, and xml, from Robert Ramey. * String Algorithms Library: Collection of string related algorithms for case conversion, trimming, find/replace operations and more, from Pavol Droba. * Tribool: 3-state boolean type library, from Doug Gregor. Updated Libraries * Compose: This deprecated library has been removed. * Graph: o Added bundled properties to the adjacency_list and adjacency_matrix class templates, greatly simplifying the introduction of internal vertex and edge properties. o The LEDA graph adaptors have been ported to LEDA 4.5. o Added algorithms for betweenness centrality and betweenness centrality clustering. o Added circle layout and undirected spring layout algorithms. * MPL Library: o Updated to use the Boost Software License. o New documentation, including a complete reference manual. o Major interface changes and improvements, many of which are not backward compatible. Please refer to the 1.32 changelog for the detailed information about upgrading to the new version. * Python Library: o Updated to use the Boost Software License. o A new, better method of wrapping classes with virtual functions has been implemented. o Support for the new Python Bool type, thanks to Daniel Holth. o Support for upcoming GCC symbol export control features have been folded in, thanks to Niall Douglas. o Improved support for std::auto_ptr-like types. o Components used by other libraries have been moved out of python/detail and into boost/detail to improve dependency relationships. o Miscellaneous bug fixes and compiler workarounds. * Signals Library: Introduced deterministic slot ordering, permitting slots to be connected at the beginning or end of slot groups or the slot list itself. Combiners may safely have state and are accessible from the signal. * Utility: class template result_of added. * Test Library: o namespace names gets shorten; old one still supported till next release o added proper encoding of XML PCDATA o support for wide string comparison implemented For complete list of changes see Test Library release notes. Regression tests This release has been extensively tested on a variety of different compilers and platforms. It is known to contain no regressions against the previous reference release on the compilers and configurations tested. Please refer to the corresponding regression reports to see how well your compiler performs on the new Boost codebase.
2005-02-26 23:48:34 +01:00
.if !defined(BOOST_LIBS_BUILDLINK3_MK)
BOOST_LIBS_BUILDLINK3_MK:=
Complete rework of the Boost packages: - Drop devel/boost and devel/boost-thread. - Add devel/boost-docs which includes all the documentation related to Boost (previously included in devel/boost). - Add devel/boost-build which includes bjam, the Boost.Build framework. - Add devel/boost-headers which includes all the header files needed at build time by programs using Boost (previously included in devel/boost). - Add devel/boost-libs which includes all the binary libraries needed at build and run time by programs using Boost (previously included in devel/boost and devel/thread). All of them are multithreaded, to make things easier. - devel/boost-python includes the Boost Python library (as it did before), but now works, given that everything is threaded again. - Drop our thread_user.hpp customization. Avoids some build failures that appeared when the previous boost-thread package was not installed. - Use static PLISTs. - Install unversioned files. Makes things *a lot* easier when building stuff outside pkgsrc. - Add meta-pkgs/boost, a meta package that depends on all of the above. Thanks go to jlam@ and tv@ for their comments. While here, update to 1.32.0: New Toolset Names The names of some the Boost.Build toolsets have been changed to remove the "." (dot) character and to fix some other naming inconsistencies. For example, vc7.1 toolset was renamed to become vc-7_1. Please refer to the Supported Toolsets section of the installation guide for the complete list of the current toolset names. This change was made as a part of the effort to make the Boost distribution compatible with ISO 9660 level 2 requirements. New Libraries * Assignment Library: Filling containers with constant or generated data has never been easier, from Thorsten Ottosen. * Minmax Library: Standard library extensions for simultaneous min/max and min/max element computations, from Hervé Brönnimann. * Multi-index Containers Library: Containers with multiple STL-compatible access interfaces, from Joaquín M López Muñoz. * Numeric Conversion Library: Optimized policy-based numeric conversions, from Fernando Cacciola. * Program Options Library: Access to configuration data given on command line, in config files and other sources, from Vladimir Prus. * Range Library: A new infrastructure for generic algorithms that builds on top of the new iterator concepts, from Thorsten Ottosen. * Serialization Library: Serialization/de-serialization of arbitrary C++ data structures to various formats including text, binary, and xml, from Robert Ramey. * String Algorithms Library: Collection of string related algorithms for case conversion, trimming, find/replace operations and more, from Pavol Droba. * Tribool: 3-state boolean type library, from Doug Gregor. Updated Libraries * Compose: This deprecated library has been removed. * Graph: o Added bundled properties to the adjacency_list and adjacency_matrix class templates, greatly simplifying the introduction of internal vertex and edge properties. o The LEDA graph adaptors have been ported to LEDA 4.5. o Added algorithms for betweenness centrality and betweenness centrality clustering. o Added circle layout and undirected spring layout algorithms. * MPL Library: o Updated to use the Boost Software License. o New documentation, including a complete reference manual. o Major interface changes and improvements, many of which are not backward compatible. Please refer to the 1.32 changelog for the detailed information about upgrading to the new version. * Python Library: o Updated to use the Boost Software License. o A new, better method of wrapping classes with virtual functions has been implemented. o Support for the new Python Bool type, thanks to Daniel Holth. o Support for upcoming GCC symbol export control features have been folded in, thanks to Niall Douglas. o Improved support for std::auto_ptr-like types. o Components used by other libraries have been moved out of python/detail and into boost/detail to improve dependency relationships. o Miscellaneous bug fixes and compiler workarounds. * Signals Library: Introduced deterministic slot ordering, permitting slots to be connected at the beginning or end of slot groups or the slot list itself. Combiners may safely have state and are accessible from the signal. * Utility: class template result_of added. * Test Library: o namespace names gets shorten; old one still supported till next release o added proper encoding of XML PCDATA o support for wide string comparison implemented For complete list of changes see Test Library release notes. Regression tests This release has been extensively tested on a variety of different compilers and platforms. It is known to contain no regressions against the previous reference release on the compilers and configurations tested. Please refer to the corresponding regression reports to see how well your compiler performs on the new Boost codebase.
2005-02-26 23:48:34 +01:00
# Use a dependency pattern that guarantees the proper ABI.
boost: updated to 1.76.0 Updated Libraries Asio: Added ip::scope_id_type type alias. Added ip::port_type type alias. Added std::hash specialisations for IP addresses. Added std::hash specialisations for ip::basic_endpoint<>. Refactored SFINAE usage to improve compile times. Added friendship support to customisation points, and made most customisations private. Changed any_io_executor to a "strong typedef"-style class. Fixed experimental::as_single to work with handler hook deprecation. Ensured pthread condition variable attributes are cleaned up on all platforms. Clarified thread safety notes on sockets and descriptors. Ensured errno is not overwritten if socket() fails on macOS/FreeBSD. Fixed work tracking for io_context and thread_pool executors when move-assigned. Ensured internal call_stack objects are accessed only from implementation files. Fixed I/O object move-assignment to ensure the executor is left in a valid state. Fixed detection of compiler support for defaulted template argument on functions with MSVC. Prevented the blocking.always property from being used with strand<>, as it did not produce the correct semantics. Removed deprecated file asio/impl/src.cpp. Atomic: Fixed compilation with MSVC for ARM. Beast: This update brings minor bug fixes and revamped CI reporting. We'd love to know how you or your company use Beast, consider adding an entry to the Companies and Individuals Using Beast list. See the full Release Notes for a complete list of changes. Bind: Add support for using the standard C++11 placeholders with boost::bind. Update boost::apply to use variadic templates and perfect forwarding. Container: Added [[no-discard]] attribute in all containers to catch bugs related to unused return values. Replaced default standard exception classes with Boost.Container own classes, reducing considerably the included files overhead. Example: in MSVC 19 boost/container/vector.hpp preprocessed file size reduces from 1,5MB to 930KB. If you still want to use standard exception classes, you can define BOOST_CONTAINER_USE_STD_EXCEPTIONS before using any Boost.Container class. Fixed bugs/issues: GitHub 102: "flat_map::insert ambiguous with initializer list & pairs that need to convert". GitHub 139: "flat_map merge and iterators". GitHub 141: "small_vector does not propagate no throw properties of move operation of contained type". GitHub 164: "Compile error when using pmr::map with a std::pair; works when using a std::tuple". GitHub 171: "deque::clear() uses undefined behaviour". Core: Add implicit conversion between compatible reference wrappers. Add boost/core/cmath.hpp, a portable implementation of the floating point classification functions from <cmath>. Add boost/core/bit.hpp, a portable implementation of the C++20 standard header <bit>. Fix BOOST_TEST_EQ, BOOST_TEST_NE for character types under C++20. Revise allocator access utilities (now support VS2013, and no workarounds use allocator_traits.) DLL: BREAKING CHANGE: boost::dll::import was renamed to boost::dll::import_symbol to avoid collision with C++20 import keyword. Updated docs, including FAQ section. Filesystem: Updated compatibility with WASI platform. Fixed an exception being thrown by path::remove_filename if the path is "////". Fixed create_directories disregarding errors from file status query operations issued internally. This could result in incorrect error codes returned by create_directories. GIL: BREAKING: In next release, we are going to drop support for GCC 5. We will also change the required minimum C++ version from C++11 to C++14. Intrusive: Reduced compile-time dependencies: linear_slist_algorithms use a simple node_ptr instead of std::pair on return. list/slist use operator </operator == instead of std::equal_to/std::less. Fixed GitHub 54: set.rbegin() looks like O(log(N)) Interprocess: Added wchar_t API support for named resources in operating systems that offer native wide character API (e.g. Windows). The following classes were updated with wchar_t name support: file_mapping managed_mapped_file managed_shared_memory managed_windows_shared_memory shared_memory_object windows_shared_memory_object file_lock named_condition named_condition_any named_mutex named_recursive_mutex named_semaphore named_sharable_mutex named_upgradable_mutex message_queue Added BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION macro option to disable the use of generic emulation code for process shared synchronization primitives instead of native POSIX or Winapi functions. Fixed bugs: GitHub 76 ("Cygwin compilation errors"). GitHub 83 ("Add BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION option"). GitHub 92 ("bufferstream: Correct MSVC compilation warning"). GitHub 106 ("Use fallocate on truncate_file"). GitHub 120 ("segment_manager customization"). GitHub 122 ("Mark constructors/assignment/swap noexcept where possible"). GitHub 126 ("_ReadWriteBarrier is deprecated warning when compiling with clang-cl.exe"). JSON: Security Report from Bishop Fox. Refactored value_from implementation; user customizations are now always preferred over library-provided overloads. Fix imprecise parsing for some floating point numbers. Fix link errors in standalone mode, when used alongside Boost. Fix Boost.Build builds on GCC 4.8. LexicalCast: Dropped dependency on Boost.Math Fixes for the CI and coverage Log: Bug fixes: Corrected a formal race condition in the thread-safe log record queue implementation used in the unbounded_fifo_queue policy of the asynchronous_sink frontend. The race could be detected by TSAN, but it was not a real problem on most current CPU architectures and compilers. When copying a logger with a channel attribute (e.g. channel_logger), the channel attribute is now deep-copied from the original logger. This means that modifying the channel in the new logger will no longer affect the original logger. Replaced the use of std::allocator<void> in template parameters with a new tag type boost::log::use_std_allocator to silence libc++ warnings about the former being deprecated in C++17 and later. The tag indicates that the instantiated template should be using a specialization of std::allocator internally to allocate dynamic memory, so the change has no functional effect. Boost.Log no longer defines __MSVCRT_VERSION__ macro on MinGW and MinGW-w64. Defining this macro caused incompatibility with UCRT, which is available as an option in recent MinGW-w64. See changelog for more details. Math: Breaking Change: C++03 support is now removed, a C++11 or later conformant compiler is now required to use this library. Added Z-test. Added execution policy support to univariate and bivariate statistics: enables parallel execution (requires C++17 and <execution>). Big update/improvement on CI testing. Bivariate statistics now have integer support. T-Test now has integer support. Linear regression now has integer support. Correct PDF of the beta distribution at the endpoints. Correct use of Stirling's approximation in certain multiprecision cases. Eliminate -Wimplicit-int-float-conversion on clang. Fix some constexpr issues in quaternion/octonion. Minor performance fix to tanh_sinh integration. Update hypergeometric functions internal scaling to allow for 64-bit (long long) exponents with multiprecision types. Move: Git Issue 35: "New nothrow move traits are incomplete". Multiprecision: BREAKING CHANGE: Massive refactoring and code simplification makes C++11 an absolute requirement. Use BOOST_TRY/CATCH in headers so code can be used in exception-free environments. Correct corner case in pow. Correct exception type thrown to match docs in lsb/msb. Allow moves and operators between related but different types (ie types with the same allocator). Nowide: Fix discarding of characters for text file streams when seek or sync functions are used and newlines were converted (e.g. on Windows) Fix potential use-after-free bug when reusing (via open) a file stream that has been closed Fix potential invalid memory access when using a file stream that has been moved or swapped to where the source had a put-back character or was set to unbuffered mode Fix compatibility with ucrt runtime by not defining __MSVCRT_VERSION__ Known issues: Read performance for text files is degraded. Binary files and writing is unaffected. Optional: Fixed MSVC warning C4702. Outcome: Announcements: BREAKING CHANGE: After a year and three major Boost releases announcing this upcoming change, this is the FIRST RELEASE of the v2.2 branch. This branch has a number of major breaking changes to the Outcome v2.1 which shipped in Boost 1.75 and earlier, see the documentation for details. Enhancements: VS2019.8 changed how to enable Coroutines, which caused Outcome to not compile on that compiler. If on C++ 20, we now use C++ 20 [[likely]] instead of compiler-specific markup to indicate when TRY has likely success or failure. BREAKING CHANGE: Previously the value of spare_storage(const basic_result|basic_outcome *) noexcept was not propagated over BOOST_OUTCOME_TRY, which causes things like stack backtraces captured at the point of construction of an errored result to get dropped at every TRY point. This has been fixed by adding an optional spare_storage to success_type<T> and failure_type<T>, as well as to auto success(T &&, ...) and auto failure(T &&, ...). Bug fixes: Boost.Outcome should now compile with BOOST_NO_EXCEPTIONS defined. Thanks to Emil, maintainer of Boost.Exception, making a change for me, Boost.Outcome should now compile with C++ exceptions globally disabled. You won't be able to use boost::exception_ptr as it can't be included if C++ exceptions are globally disabled. BREAKING CHANGE 244 It came as a shock to learn that BOOST_OUTCOME_TRY had been broken since the inception of this library for certain corner case code, which required a breaking change in how TRY works. See the changelog in the documentation for more detail. Parameter: Added a workaround for MSVC 2015 code miscompilation when an rvalue was used as a default value of a named parameter of a function. PFR: Fixed reflection of types with missing const in SFINAE expressions in template constructor. Now reflection of aggregates with std::optional<std::chrono::duration<???>> fields works on any Standard Library implementation, even if LWG3050 is not fixed. Comparison functions are now constexpr Fixed numerous typos in docs PolyCollection: Worked around GCC bug affecting GCC versions 9.3-10.2. Predef: Version 1.13 Add ARCH_PPC_64 predef. Fix ARCH_WORD_BITS* redefinition warnings/errors. Add ARCH_E2K, Elbrus 2000, architecture from Konstantin Ivlev. Fix not handling recent C++ version that go above 10.x version. Version 1.12 Switch to using the endian.h header on OpenBSD. (Brad Smith) Fix not handling recent versions of stdcxx that go above version 9. Fix including sub-BSD OS headers directly causing redef warnings. Add CI testing of direct inclusion of all headers. Add CI testing on FreeBSD for clang and gcc. Add WORD_BITS set of predefs to detect the architecture word size. Initial implementation inspired by submission from Mikhail Komarov. Add CI testing for Cygwin 32 and 64. PropertyTree: Property Tree has a new maintainer. Fix usage of deprecated Boost.Bind features. Link to Wikipedia fixed. Use BOOST_OVERRIDE to fix GCC warnings. Add extensive CI testing. Regex: Regex is now header only except in C++03 mode. Support for C++03 is now deprecated. The library can now be used "standalone" without the rest of Boost being present. Stacktrace: Better support for pre-C++11 builds on clang. Bigger warning for do not use boost::stacktrace::stacktrace in signal handlers. TypeTraits: Fix for Visual Studio managed code projects. Variant2: Improved generated code for the double buffered case. Updated Tools Build: Includes release of B2 version 4.4.1.
2021-04-21 14:09:49 +02:00
BUILDLINK_API_DEPENDS.boost-libs+= boost-libs-1.76.*
Complete rework of the Boost packages: - Drop devel/boost and devel/boost-thread. - Add devel/boost-docs which includes all the documentation related to Boost (previously included in devel/boost). - Add devel/boost-build which includes bjam, the Boost.Build framework. - Add devel/boost-headers which includes all the header files needed at build time by programs using Boost (previously included in devel/boost). - Add devel/boost-libs which includes all the binary libraries needed at build and run time by programs using Boost (previously included in devel/boost and devel/thread). All of them are multithreaded, to make things easier. - devel/boost-python includes the Boost Python library (as it did before), but now works, given that everything is threaded again. - Drop our thread_user.hpp customization. Avoids some build failures that appeared when the previous boost-thread package was not installed. - Use static PLISTs. - Install unversioned files. Makes things *a lot* easier when building stuff outside pkgsrc. - Add meta-pkgs/boost, a meta package that depends on all of the above. Thanks go to jlam@ and tv@ for their comments. While here, update to 1.32.0: New Toolset Names The names of some the Boost.Build toolsets have been changed to remove the "." (dot) character and to fix some other naming inconsistencies. For example, vc7.1 toolset was renamed to become vc-7_1. Please refer to the Supported Toolsets section of the installation guide for the complete list of the current toolset names. This change was made as a part of the effort to make the Boost distribution compatible with ISO 9660 level 2 requirements. New Libraries * Assignment Library: Filling containers with constant or generated data has never been easier, from Thorsten Ottosen. * Minmax Library: Standard library extensions for simultaneous min/max and min/max element computations, from Hervé Brönnimann. * Multi-index Containers Library: Containers with multiple STL-compatible access interfaces, from Joaquín M López Muñoz. * Numeric Conversion Library: Optimized policy-based numeric conversions, from Fernando Cacciola. * Program Options Library: Access to configuration data given on command line, in config files and other sources, from Vladimir Prus. * Range Library: A new infrastructure for generic algorithms that builds on top of the new iterator concepts, from Thorsten Ottosen. * Serialization Library: Serialization/de-serialization of arbitrary C++ data structures to various formats including text, binary, and xml, from Robert Ramey. * String Algorithms Library: Collection of string related algorithms for case conversion, trimming, find/replace operations and more, from Pavol Droba. * Tribool: 3-state boolean type library, from Doug Gregor. Updated Libraries * Compose: This deprecated library has been removed. * Graph: o Added bundled properties to the adjacency_list and adjacency_matrix class templates, greatly simplifying the introduction of internal vertex and edge properties. o The LEDA graph adaptors have been ported to LEDA 4.5. o Added algorithms for betweenness centrality and betweenness centrality clustering. o Added circle layout and undirected spring layout algorithms. * MPL Library: o Updated to use the Boost Software License. o New documentation, including a complete reference manual. o Major interface changes and improvements, many of which are not backward compatible. Please refer to the 1.32 changelog for the detailed information about upgrading to the new version. * Python Library: o Updated to use the Boost Software License. o A new, better method of wrapping classes with virtual functions has been implemented. o Support for the new Python Bool type, thanks to Daniel Holth. o Support for upcoming GCC symbol export control features have been folded in, thanks to Niall Douglas. o Improved support for std::auto_ptr-like types. o Components used by other libraries have been moved out of python/detail and into boost/detail to improve dependency relationships. o Miscellaneous bug fixes and compiler workarounds. * Signals Library: Introduced deterministic slot ordering, permitting slots to be connected at the beginning or end of slot groups or the slot list itself. Combiners may safely have state and are accessible from the signal. * Utility: class template result_of added. * Test Library: o namespace names gets shorten; old one still supported till next release o added proper encoding of XML PCDATA o support for wide string comparison implemented For complete list of changes see Test Library release notes. Regression tests This release has been extensively tested on a variety of different compilers and platforms. It is known to contain no regressions against the previous reference release on the compilers and configurations tested. Please refer to the corresponding regression reports to see how well your compiler performs on the new Boost codebase.
2005-02-26 23:48:34 +01:00
BUILDLINK_PKGSRCDIR.boost-libs?= ../../devel/boost-libs
Chamges 1.57.0: Updated Libraries Any: RTTI is not required any more (TypeIndex library is used for RTTI emulation) Fixed 8958 Asio: Fixed the kqueue reactor so that it works on FreeBSD. Fixed an issue in the kqueue reactor which resulted in spinning when using serial ports on Mac OS. Fixed kqueue reactor support for read-only file descriptors. Fixed a compile error when using the /dev/poll reactor. Changed the Windows backend to use WSASocketW, as WSASocketA has been deprecated. Fixed some warnings reported by Visual C++ 2013. Fixed integer type used in the WinRT version of the byte-order conversion functions. Changed documentation to indicate that use_future and spawn() are not made available when including the asio.hpp convenience header. Explicitly marked asio::strand as deprecated. Use asio::io_service::strand instead. Circular Buffer: Fixed some warnings and move_if_noexcept from Boost.Move is used Config: BOOST_HAS_PRAGMA_DETECT_MISMATCH macro was added Container: Added support for initializer_list. Fixed double destruction bugs in vector and backward expansion capable allocators. Coroutine: optionally register stacks with valgrind 10386 MSVC link error in asymmetric_coroutine.hpp: symbol already defined 10536 call to 'begin(...pull_coroutine< R > & c)' is ambiguous Flyweight: Added serialization support via Boost Serialization. flyweight default constructor was made explicit in Boost 1.56, which introduces a regression in some initialization scenarios. The former non-explicit default constructor has been restored More...
2014-11-07 20:28:38 +01:00
.include "../../mk/bsd.fast.prefs.mk"
# Sync with meta-pkgs/boost/Makefile.common
.if ${OPSYS} == "OpenBSD"
GCC_REQD+= 4.6
.elif ${LOWER_VENDOR} == "redhat"
GCC_REQD+= 4.4
.else
GCC_REQD+= 4.5
.endif
Complete rework of the Boost packages: - Drop devel/boost and devel/boost-thread. - Add devel/boost-docs which includes all the documentation related to Boost (previously included in devel/boost). - Add devel/boost-build which includes bjam, the Boost.Build framework. - Add devel/boost-headers which includes all the header files needed at build time by programs using Boost (previously included in devel/boost). - Add devel/boost-libs which includes all the binary libraries needed at build and run time by programs using Boost (previously included in devel/boost and devel/thread). All of them are multithreaded, to make things easier. - devel/boost-python includes the Boost Python library (as it did before), but now works, given that everything is threaded again. - Drop our thread_user.hpp customization. Avoids some build failures that appeared when the previous boost-thread package was not installed. - Use static PLISTs. - Install unversioned files. Makes things *a lot* easier when building stuff outside pkgsrc. - Add meta-pkgs/boost, a meta package that depends on all of the above. Thanks go to jlam@ and tv@ for their comments. While here, update to 1.32.0: New Toolset Names The names of some the Boost.Build toolsets have been changed to remove the "." (dot) character and to fix some other naming inconsistencies. For example, vc7.1 toolset was renamed to become vc-7_1. Please refer to the Supported Toolsets section of the installation guide for the complete list of the current toolset names. This change was made as a part of the effort to make the Boost distribution compatible with ISO 9660 level 2 requirements. New Libraries * Assignment Library: Filling containers with constant or generated data has never been easier, from Thorsten Ottosen. * Minmax Library: Standard library extensions for simultaneous min/max and min/max element computations, from Hervé Brönnimann. * Multi-index Containers Library: Containers with multiple STL-compatible access interfaces, from Joaquín M López Muñoz. * Numeric Conversion Library: Optimized policy-based numeric conversions, from Fernando Cacciola. * Program Options Library: Access to configuration data given on command line, in config files and other sources, from Vladimir Prus. * Range Library: A new infrastructure for generic algorithms that builds on top of the new iterator concepts, from Thorsten Ottosen. * Serialization Library: Serialization/de-serialization of arbitrary C++ data structures to various formats including text, binary, and xml, from Robert Ramey. * String Algorithms Library: Collection of string related algorithms for case conversion, trimming, find/replace operations and more, from Pavol Droba. * Tribool: 3-state boolean type library, from Doug Gregor. Updated Libraries * Compose: This deprecated library has been removed. * Graph: o Added bundled properties to the adjacency_list and adjacency_matrix class templates, greatly simplifying the introduction of internal vertex and edge properties. o The LEDA graph adaptors have been ported to LEDA 4.5. o Added algorithms for betweenness centrality and betweenness centrality clustering. o Added circle layout and undirected spring layout algorithms. * MPL Library: o Updated to use the Boost Software License. o New documentation, including a complete reference manual. o Major interface changes and improvements, many of which are not backward compatible. Please refer to the 1.32 changelog for the detailed information about upgrading to the new version. * Python Library: o Updated to use the Boost Software License. o A new, better method of wrapping classes with virtual functions has been implemented. o Support for the new Python Bool type, thanks to Daniel Holth. o Support for upcoming GCC symbol export control features have been folded in, thanks to Niall Douglas. o Improved support for std::auto_ptr-like types. o Components used by other libraries have been moved out of python/detail and into boost/detail to improve dependency relationships. o Miscellaneous bug fixes and compiler workarounds. * Signals Library: Introduced deterministic slot ordering, permitting slots to be connected at the beginning or end of slot groups or the slot list itself. Combiners may safely have state and are accessible from the signal. * Utility: class template result_of added. * Test Library: o namespace names gets shorten; old one still supported till next release o added proper encoding of XML PCDATA o support for wide string comparison implemented For complete list of changes see Test Library release notes. Regression tests This release has been extensively tested on a variety of different compilers and platforms. It is known to contain no regressions against the previous reference release on the compilers and configurations tested. Please refer to the corresponding regression reports to see how well your compiler performs on the new Boost codebase.
2005-02-26 23:48:34 +01:00
.include "../../devel/boost-headers/buildlink3.mk"
.endif # BOOST_LIBS_BUILDLINK3_MK
Complete rework of the Boost packages: - Drop devel/boost and devel/boost-thread. - Add devel/boost-docs which includes all the documentation related to Boost (previously included in devel/boost). - Add devel/boost-build which includes bjam, the Boost.Build framework. - Add devel/boost-headers which includes all the header files needed at build time by programs using Boost (previously included in devel/boost). - Add devel/boost-libs which includes all the binary libraries needed at build and run time by programs using Boost (previously included in devel/boost and devel/thread). All of them are multithreaded, to make things easier. - devel/boost-python includes the Boost Python library (as it did before), but now works, given that everything is threaded again. - Drop our thread_user.hpp customization. Avoids some build failures that appeared when the previous boost-thread package was not installed. - Use static PLISTs. - Install unversioned files. Makes things *a lot* easier when building stuff outside pkgsrc. - Add meta-pkgs/boost, a meta package that depends on all of the above. Thanks go to jlam@ and tv@ for their comments. While here, update to 1.32.0: New Toolset Names The names of some the Boost.Build toolsets have been changed to remove the "." (dot) character and to fix some other naming inconsistencies. For example, vc7.1 toolset was renamed to become vc-7_1. Please refer to the Supported Toolsets section of the installation guide for the complete list of the current toolset names. This change was made as a part of the effort to make the Boost distribution compatible with ISO 9660 level 2 requirements. New Libraries * Assignment Library: Filling containers with constant or generated data has never been easier, from Thorsten Ottosen. * Minmax Library: Standard library extensions for simultaneous min/max and min/max element computations, from Hervé Brönnimann. * Multi-index Containers Library: Containers with multiple STL-compatible access interfaces, from Joaquín M López Muñoz. * Numeric Conversion Library: Optimized policy-based numeric conversions, from Fernando Cacciola. * Program Options Library: Access to configuration data given on command line, in config files and other sources, from Vladimir Prus. * Range Library: A new infrastructure for generic algorithms that builds on top of the new iterator concepts, from Thorsten Ottosen. * Serialization Library: Serialization/de-serialization of arbitrary C++ data structures to various formats including text, binary, and xml, from Robert Ramey. * String Algorithms Library: Collection of string related algorithms for case conversion, trimming, find/replace operations and more, from Pavol Droba. * Tribool: 3-state boolean type library, from Doug Gregor. Updated Libraries * Compose: This deprecated library has been removed. * Graph: o Added bundled properties to the adjacency_list and adjacency_matrix class templates, greatly simplifying the introduction of internal vertex and edge properties. o The LEDA graph adaptors have been ported to LEDA 4.5. o Added algorithms for betweenness centrality and betweenness centrality clustering. o Added circle layout and undirected spring layout algorithms. * MPL Library: o Updated to use the Boost Software License. o New documentation, including a complete reference manual. o Major interface changes and improvements, many of which are not backward compatible. Please refer to the 1.32 changelog for the detailed information about upgrading to the new version. * Python Library: o Updated to use the Boost Software License. o A new, better method of wrapping classes with virtual functions has been implemented. o Support for the new Python Bool type, thanks to Daniel Holth. o Support for upcoming GCC symbol export control features have been folded in, thanks to Niall Douglas. o Improved support for std::auto_ptr-like types. o Components used by other libraries have been moved out of python/detail and into boost/detail to improve dependency relationships. o Miscellaneous bug fixes and compiler workarounds. * Signals Library: Introduced deterministic slot ordering, permitting slots to be connected at the beginning or end of slot groups or the slot list itself. Combiners may safely have state and are accessible from the signal. * Utility: class template result_of added. * Test Library: o namespace names gets shorten; old one still supported till next release o added proper encoding of XML PCDATA o support for wide string comparison implemented For complete list of changes see Test Library release notes. Regression tests This release has been extensively tested on a variety of different compilers and platforms. It is known to contain no regressions against the previous reference release on the compilers and configurations tested. Please refer to the corresponding regression reports to see how well your compiler performs on the new Boost codebase.
2005-02-26 23:48:34 +01:00
BUILDLINK_TREE+= -boost-libs