Alexey Serbin has submitted this change and it was merged. (
http://gerrit.cloudera.org:8080/24581 )
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
[thirdparty] update boost up 1.91.0
This is one of the preliminary updates for KUDU-3788. The motivation
behind this changelist is to use cmake for building the Boost library
instead of the built-in b2 tool. With cmake-based build it's now
possible to stage the pre-built binaries into a custom DESTDIR while
still keeping pre-defined PREFIX which doesn't depend on the location
of the staging directory in local Kudu workspace.
The new version comes with many improvements and updates since 1.84.0.
In Boost 1.91.0, the BOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX macro no
longer exists: platform-specific entropy providers were removed and
random generators were switched to std::random_device as of 1.86.0 [1].
Also, comparing with b2-based builds, there is no need of explicitly
setting the compiler via the --with-toolset flag since cmake is able
to derive the necessary toolset information from CC/CXX variables.
The new code in include/boost/uuid/detail/chacha20.hpp, added in 1.86.0,
triggers a UBSAN warning because the code implicitly assumes unsigned
integer overflow of the "wrapping around" style. To address it,
another Boost-related item was added into ubsan-blacklist.txt.
NOTE: the original source tarball for 1.91.0 published on GitHub [2]
was repackaged to change the directory prefix from boost-1.91.0-1
to boost-1.91.0 to comply with the established convention for the
'thirdparty' directory layout, and then uploaded to the
corresponding S3 bucket as boost-1.91.0-cmake.tar.gz
[1]
https://www.boost.org/doc/libs/latest/libs/uuid/doc/html/uuid.html#changes_changes_in_boost_1_86_0_major_update
[2]
https://github.com/boostorg/boost/releases/download/boost-1.91.0-1/boost-1.91.0-1-cmake.tar.gz
Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Reviewed-on: http://gerrit.cloudera.org:8080/24581
Tested-by: Alexey Serbin <[email protected]>
Reviewed-by: Abhishek Chennaka <[email protected]>
Reviewed-by: Ashwani Raina <[email protected]>
---
M build-support/ubsan-blacklist.txt
M thirdparty/build-definitions.sh
M thirdparty/build-thirdparty.sh
M thirdparty/download-thirdparty.sh
D thirdparty/patches/boost-bootstrap.patch
M thirdparty/vars.sh
6 files changed, 75 insertions(+), 103 deletions(-)
Approvals:
Alexey Serbin: Verified
Abhishek Chennaka: Looks good to me, approved
Ashwani Raina: Looks good to me, approved
--
To view, visit http://gerrit.cloudera.org:8080/24581
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 7
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Ashwani Raina <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)