You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Alexey Serbin (Code Review)" <ge...@cloudera.org> on 2026/07/14 01:26:14 UTC
[kudu-CR] WIP [thirdparty] update boost up 1.91.0
Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/24581
Change subject: WIP [thirdparty] update boost up 1.91.0
......................................................................
WIP [thirdparty] update boost up 1.91.0
WIP:
* Collect initial feedback
* Is there a way to install headers of particular modules/libraries
if not building the library bits? As of now, when a library is
in the BOOST_INCLUDE_LIBRARIES list, not only its headers are
installed, but the binaries are built as well. Kudu only uses
binaries of the date_time library, and the rest is header-only
dependencies on Boost.
* Explore an alternative approach creating the git archive: include
only the modules that are used by Kudu and its thirdparty
components. That way the compressed source tarball is ~4.5x times
less in size: 28MiB vs 127MiB
DONT_BUILD
This is one of the preliminary updates in the context of KUDU-3788.
The main motivation behind this update is to use cmake for building
the Boost librart instead of the built-in b2 tool. With cmake-based
build now it's 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.
And of course, the new version comes with many improvements and updates.
In Boost 1.91.0, the BOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX macro does
not exist anymore: platform-specific entropy providers were removed and
random generators switched to std::random_device since 1.86.0 [1].
[1] https://www.boost.org/doc/libs/latest/libs/uuid/doc/html/uuid.html#introduction
Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
---
M thirdparty/build-definitions.sh
M thirdparty/download-thirdparty.sh
M thirdparty/vars.sh
3 files changed, 65 insertions(+), 47 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/81/24581/1
--
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: newchange
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
[kudu-CR] WIP [thirdparty] update boost up 1.91.0
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Hello Ashwani Raina, Kudu Jenkins, Abhishek Chennaka, Joe McDonnell,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24581
to look at the new patch set (#3).
Change subject: WIP [thirdparty] update boost up 1.91.0
......................................................................
WIP [thirdparty] update boost up 1.91.0
WIP:
* Collect initial feedback
* Explore an alternative approach creating the git archive: include
only the modules that are used by Kudu and its thirdparty
components. That way the compressed source tarball is ~4.5x times
smaller in size: 28MiB vs 127MiB
This is one of the preliminary updates in the context of KUDU-3788.
The main motivation behind this update is to use cmake for building
the Boost library instead of the built-in b2 tool. With cmake-based
build now it's 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.
And of course, the new version comes with many improvements and updates.
In Boost 1.91.0, the BOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX macro does
not exist anymore: platform-specific entropy providers were removed and
random generators switched to std::random_device since 1.86.0 [1].
As it turns out, none of the shenanigans with explicitly setting
compiler for --with-toolset are necessary when building with cmake
since it's smart enough to derive proper toolset from CC and CXX
variables.
[1] https://www.boost.org/doc/libs/latest/libs/uuid/doc/html/uuid.html#introduction
Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
---
M thirdparty/build-definitions.sh
M thirdparty/download-thirdparty.sh
M thirdparty/vars.sh
3 files changed, 82 insertions(+), 70 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/81/24581/3
--
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: newpatchset
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
[kudu-CR] WIP [thirdparty] update boost up 1.91.0
Posted by "Abhishek Chennaka (Code Review)" <ge...@cloudera.org>.
Abhishek Chennaka has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: WIP [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 3:
(2 comments)
http://gerrit.cloudera.org:8080/#/c/24581/3/thirdparty/vars.sh
File thirdparty/vars.sh:
PS3:
What are your thoughts on using the cmake compliant sources which they just started shipping (maybe for the future non-beta versions):
https://github.com/boostorg/boost/releases/download/boost-1.92.0.beta1/boost-1.92.0.beta1-cmake.7z
http://gerrit.cloudera.org:8080/#/c/24581/3/thirdparty/vars.sh@188
PS3, Line 188: git clone --recursive https://github.com/boostorg/boost.git
nit: Why not do something like:
git clone --branch boost-1.91.0 --depth 1 https://github.com/boostorg/boost.git
And then use the same --depth 1 argument for `git submodule..` below
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 14 Jul 2026 23:51:04 +0000
Gerrit-HasComments: Yes
[kudu-CR] WIP [thirdparty] update boost up 1.91.0
Posted by "Ashwani Raina (Code Review)" <ge...@cloudera.org>.
Ashwani Raina has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: WIP [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 2:
(3 comments)
http://gerrit.cloudera.org:8080/#/c/24581/2/thirdparty/build-definitions.sh
File thirdparty/build-definitions.sh:
http://gerrit.cloudera.org:8080/#/c/24581/2/thirdparty/build-definitions.sh@968
PS2, Line 968: 1.19.0
nit: 1.91.0
http://gerrit.cloudera.org:8080/#/c/24581/2/thirdparty/build-definitions.sh@971
PS2, Line 971: CFLAGS="$BOOST_CFLAGS" \
: CXXFLAGS="$BOOST_CXXFLAGS" \
: LDFLAGS="$BOOST_LDFLAGS" \
Can these be cmake -D flags (e.g. -DCMAKE_CXX_FLAGS) instead of environment variables, to avoid any scoping issues?
http://gerrit.cloudera.org:8080/#/c/24581/2/thirdparty/download-thirdparty.sh
File thirdparty/download-thirdparty.sh:
http://gerrit.cloudera.org:8080/#/c/24581/2/thirdparty/download-thirdparty.sh@389
PS2, Line 389: "patch -p0 < $TP_DIR/patches/boost-bootstrap.patch"
Is this still applicable?
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 14 Jul 2026 14:15:56 +0000
Gerrit-HasComments: Yes
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Hello Ashwani Raina, Kudu Jenkins, Abhishek Chennaka, Joe McDonnell,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24581
to look at the new patch set (#5).
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 does
not exist anymore: platform-specific entropy providers were removed and
random generators switched to std::random_device since 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 new UBSAN warning because the code implicitly assumes
unsigned integer overflow of the "wrapping around" style. To address
this, another Boost-related item was added into ubsan-blacklist.txt.
NOTE: the original source tarball for 1.91.0 published at github.com [2]
was repackaged to change the directory prefix from boost-1.91.0-1
into boost-1.91.0 to comply with the established convention for
thirdparty directory layout, and then uploaded into 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
---
M build-support/ubsan-blacklist.txt
M thirdparty/build-definitions.sh
M thirdparty/download-thirdparty.sh
D thirdparty/patches/boost-bootstrap.patch
M thirdparty/vars.sh
5 files changed, 73 insertions(+), 87 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/81/24581/5
--
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: newpatchset
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 5
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
[kudu-CR] WIP [thirdparty] update boost up 1.91.0
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: WIP [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 2:
Build Started http://jenkins.kudu.apache.org/job/pre_commit/2747/
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 14 Jul 2026 05:10:52 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 6:
Build Started http://jenkins.kudu.apache.org/job/pre_commit/2755/
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 6
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 16 Jul 2026 18:17:40 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
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 <al...@apache.org>
Reviewed-by: Abhishek Chennaka <ac...@cloudera.com>
Reviewed-by: Ashwani Raina <ar...@gmail.com>
---
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 <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 3:
Build Aborted
http://jenkins.kudu.apache.org/job/pre_commit/2748/ : ABORTED
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 15 Jul 2026 10:43:36 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Hello Ashwani Raina, Kudu Jenkins, Abhishek Chennaka, Joe McDonnell,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24581
to look at the new patch set (#4).
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 does
not exist anymore: platform-specific entropy providers were removed and
random generators switched to std::random_device since 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.
NOTE: the original source tarball for 1.91.0 published at github.com [2]
was repackaged to change the directory prefix from boost-1.91.0-1
into boost-1.91.0 to comply with the established convention for
thirdparty directory layout, and then uploaded into 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
---
M thirdparty/build-definitions.sh
M thirdparty/download-thirdparty.sh
D thirdparty/patches/boost-bootstrap.patch
M thirdparty/vars.sh
4 files changed, 72 insertions(+), 87 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/81/24581/4
--
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: newpatchset
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 4:
Build Started http://jenkins.kudu.apache.org/job/pre_commit/2749/
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 15 Jul 2026 02:01:00 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 4:
UBSAN reports an issue in 1.91.0 uuid library:
thirdparty/installed/uninstrumented/include/boost/uuid/detai
l/chacha20.hpp:33:16: runtime error: unsigned integer overflow: 1634760805 + 3395521510 cannot be represented in type 'unsigned int'
It's necessary to address the issue either by patching boost's library sources, either silence the warning using a new entry in sanitizer_options.cc
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 15 Jul 2026 20:38:56 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 6: Verified-1
Build Failed
http://jenkins.kudu.apache.org/job/pre_commit/2755/ : FAILURE
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 6
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 16 Jul 2026 19:14:12 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 6: Verified+1
Unrelated failure of known flaky Java test rg.apache.kudu.backup.TestKuduBackup (TSAN).
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 6
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 16 Jul 2026 20:23:08 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 3:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/24581/3/thirdparty/vars.sh
File thirdparty/vars.sh:
PS3:
> That's a good option, but since I was exploring various approaches of check
OK, after some consideration I went ahead with using the 'standard' cmake git archive distributed via github.com, as you suggested instead of smaller custom-built source archive.
The rationale:
1) keep things simple with less customizations
2) allow for enabling extra Boost features, if necessary, without rebuilding/repackaging the distro tarball -- and it's necessary to carry the whole Boost source distro archive for this
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 15 Jul 2026 02:06:02 +0000
Gerrit-HasComments: Yes
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Abhishek Chennaka (Code Review)" <ge...@cloudera.org>.
Abhishek Chennaka has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 6: Code-Review+2
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 6
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 16 Jul 2026 21:48:48 +0000
Gerrit-HasComments: No
[kudu-CR] WIP [thirdparty] update boost up 1.91.0
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Hello Ashwani Raina, Kudu Jenkins, Abhishek Chennaka, Joe McDonnell,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24581
to look at the new patch set (#2).
Change subject: WIP [thirdparty] update boost up 1.91.0
......................................................................
WIP [thirdparty] update boost up 1.91.0
WIP:
* Collect initial feedback
* Explore an alternative approach creating the git archive: include
only the modules that are used by Kudu and its thirdparty
components. That way the compressed source tarball is ~4.5x times
smaller in size: 28MiB vs 127MiB
This is one of the preliminary updates in the context of KUDU-3788.
The main motivation behind this update is to use cmake for building
the Boost library instead of the built-in b2 tool. With cmake-based
build now it's 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.
And of course, the new version comes with many improvements and updates.
In Boost 1.91.0, the BOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX macro does
not exist anymore: platform-specific entropy providers were removed and
random generators switched to std::random_device since 1.86.0 [1].
As it turns out, none of the shenanigans with explicitly setting
compiler for --with-toolset are necessary when building with cmake
since it's smart enough to derive proper toolset from CC and CXX
variables.
[1] https://www.boost.org/doc/libs/latest/libs/uuid/doc/html/uuid.html#introduction
Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
---
M thirdparty/build-definitions.sh
M thirdparty/download-thirdparty.sh
M thirdparty/vars.sh
3 files changed, 63 insertions(+), 68 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/81/24581/2
--
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: newpatchset
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
[kudu-CR] WIP [thirdparty] update boost up 1.91.0
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: WIP [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 1: Verified-1
Build Failed
http://jenkins.kudu.apache.org/job/pre_commit/2746/ : FAILURE
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 14 Jul 2026 01:26:34 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 5:
Build Started http://jenkins.kudu.apache.org/job/pre_commit/2752/
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 5
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 16 Jul 2026 00:26:39 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Ashwani Raina (Code Review)" <ge...@cloudera.org>.
Ashwani Raina has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 5:
(10 comments)
http://gerrit.cloudera.org:8080/#/c/24581/5//COMMIT_MSG
Commit Message:
http://gerrit.cloudera.org:8080/#/c/24581/5//COMMIT_MSG@18
PS5, Line 18: does
: not exist anymore
nit: no longer exists
http://gerrit.cloudera.org:8080/#/c/24581/5//COMMIT_MSG@20
PS5, Line 20: since 1.86.0
nit: as of 1.86.0
http://gerrit.cloudera.org:8080/#/c/24581/5//COMMIT_MSG@20
PS5, Line 20: random generators switched
nit: random generators were switched
http://gerrit.cloudera.org:8080/#/c/24581/5//COMMIT_MSG@30
PS5, Line 30: at github.com
nit: on GitHub
http://gerrit.cloudera.org:8080/#/c/24581/5//COMMIT_MSG@32
PS5, Line 32: into
to
http://gerrit.cloudera.org:8080/#/c/24581/5//COMMIT_MSG@33
PS5, Line 33: thirdparty
third-party
http://gerrit.cloudera.org:8080/#/c/24581/5//COMMIT_MSG@33
PS5, Line 33: into
to the
http://gerrit.cloudera.org:8080/#/c/24581/2/thirdparty/build-definitions.sh
File thirdparty/build-definitions.sh:
http://gerrit.cloudera.org:8080/#/c/24581/2/thirdparty/build-definitions.sh@971
PS2, Line 971: # locale: Thrift
: # serialization: Kudu
: # signals2: Kudu
> I didn't verify whether they can or cannot in this particular case (but I g
Some of the build_xxx() functions (build_libcxxabi, build_libcxx, build_gflags, etc) do make use of -DCMAKE_CXX_FLAGS.
But, I am fine with addressing this in a separate patch.
http://gerrit.cloudera.org:8080/#/c/24581/5/thirdparty/build-definitions.sh
File thirdparty/build-definitions.sh:
http://gerrit.cloudera.org:8080/#/c/24581/5/thirdparty/build-definitions.sh@954
PS5, Line 954: BOOST_LDFLAGS="-stdlib=libc++ $BOOST_LDFLAGS"
Is this required? We seem to be setting 'EXTRA_LDFLAGS' with all this already inside thirdparty/build-thirdparty.sh before calling 'build_boost tsan'.
http://gerrit.cloudera.org:8080/#/c/24581/5/thirdparty/build-definitions.sh@965
PS5, Line 965: e.g,
nit: e.g.,
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 5
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 16 Jul 2026 13:29:52 +0000
Gerrit-HasComments: Yes
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Hello Ashwani Raina, Kudu Jenkins, Abhishek Chennaka, Joe McDonnell,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24581
to look at the new patch set (#6).
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
---
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(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/81/24581/6
--
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: newpatchset
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 6
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 5: Verified-1
Build Failed
http://jenkins.kudu.apache.org/job/pre_commit/2752/ : FAILURE
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 5
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 16 Jul 2026 07:56:33 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has removed a vote on this change.
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
Removed Verified-1 by Kudu Jenkins (120)
--
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: deleteVote
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 6
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Ashwani Raina (Code Review)" <ge...@cloudera.org>.
Ashwani Raina has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 6: Code-Review+2
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 6
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Fri, 17 Jul 2026 05:13:38 +0000
Gerrit-HasComments: No
[kudu-CR] WIP [thirdparty] update boost up 1.91.0
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: WIP [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 1:
Build Started http://jenkins.kudu.apache.org/job/pre_commit/2746/
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 14 Jul 2026 01:26:21 +0000
Gerrit-HasComments: No
[kudu-CR] WIP [thirdparty] update boost up 1.91.0
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: WIP [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 2:
Build Aborted
http://jenkins.kudu.apache.org/job/pre_commit/2747/ : ABORTED
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 14 Jul 2026 19:59:15 +0000
Gerrit-HasComments: No
[kudu-CR] WIP [thirdparty] update boost up 1.91.0
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: WIP [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 3:
Build Started http://jenkins.kudu.apache.org/job/pre_commit/2748/
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 14 Jul 2026 22:43:22 +0000
Gerrit-HasComments: No
[kudu-CR] WIP [thirdparty] update boost up 1.91.0
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: WIP [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 3:
(5 comments)
http://gerrit.cloudera.org:8080/#/c/24581/2/thirdparty/build-definitions.sh
File thirdparty/build-definitions.sh:
http://gerrit.cloudera.org:8080/#/c/24581/2/thirdparty/build-definitions.sh@968
PS2, Line 968:
> nit: 1.91.0
Done
http://gerrit.cloudera.org:8080/#/c/24581/2/thirdparty/build-definitions.sh@971
PS2, Line 971: # heap: Kudu
: # locale: Thrift
: # serialization: Kudu
> Can these be cmake -D flags (e.g. -DCMAKE_CXX_FLAGS) instead of environment
I didn't verify whether they can or cannot in this particular case (but I guess most likely the answer is 'yes'), but if making such an update here, I'd rather do it uniformly across this file. This is the common pattern we use for every 'build_xxx()' function -- I'd rather separate such an update into its own patch.
http://gerrit.cloudera.org:8080/#/c/24581/2/thirdparty/download-thirdparty.sh
File thirdparty/download-thirdparty.sh:
http://gerrit.cloudera.org:8080/#/c/24581/2/thirdparty/download-thirdparty.sh@389
PS2, Line 389: "patch -p0 < $TP_DIR/patches/boost-bootstrap.patch"
> Is this still applicable?
Good point -- this is no longer necessary once building with cmake.
Removed.
http://gerrit.cloudera.org:8080/#/c/24581/3/thirdparty/vars.sh
File thirdparty/vars.sh:
PS3:
> What are your thoughts on using the cmake compliant sources which they just
That's a good option, but since I was exploring various approaches of checking out only the needed modules, I went ahead with options similar to 'git archive'.
I guess we might consider using those archives from github.com. However, the alternative path of a custom tarball is better from the perspective of faster downloading and archive expansion -- that's done multiple times, but archive preparation is performed once when upgrading to a new version, even if the procedure contains many trivial steps:
git submodule update --depth 1 -q --init tools/boostdep
git submodule update --depth 1 -q --init libs/date_time
git submodule update --depth 1 -q --init libs/heap
git submodule update --depth 1 -q --init libs/locale
git submodule update --depth 1 -q --init libs/serialization
git submodule update --depth 1 -q --init libs/signals2
git submodule update --depth 1 -q --init libs/uuid
python tools/boostdep/depinst/depinst.py -X test -g "--depth 1" date_time
python tools/boostdep/depinst/depinst.py -X test -g "--depth 1" heap
python tools/boostdep/depinst/depinst.py -X test -g "--depth 1" locale
python tools/boostdep/depinst/depinst.py -X test -g "--depth 1" serialization python tools/boostdep/depinst/depinst.py -X test -g "--depth 1" signals2
python tools/boostdep/depinst/depinst.py -X test -g "--depth 1" uuid
http://gerrit.cloudera.org:8080/#/c/24581/3/thirdparty/vars.sh@188
PS3, Line 188: git clone --recursive https://github.com/boostorg/boost.git
> nit: Why not do something like:
Right, that's what some of their guides recommend to reduce the amount of data to be fetched. I didn't add it from the perspective of uniformity with other sets of 'git archive' instructions. I can add that, sure.
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 15 Jul 2026 00:03:58 +0000
Gerrit-HasComments: Yes
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 4:
Build Aborted
http://jenkins.kudu.apache.org/job/pre_commit/2749/ : ABORTED
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 16 Jul 2026 00:26:33 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Abhishek Chennaka (Code Review)" <ge...@cloudera.org>.
Abhishek Chennaka has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 5: Code-Review+1
LGTM apart from Ashwani's concerns.
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 5
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 16 Jul 2026 17:09:34 +0000
Gerrit-HasComments: No
[kudu-CR] [thirdparty] update boost up 1.91.0
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/24581 )
Change subject: [thirdparty] update boost up 1.91.0
......................................................................
Patch Set 5:
(9 comments)
http://gerrit.cloudera.org:8080/#/c/24581/5//COMMIT_MSG
Commit Message:
http://gerrit.cloudera.org:8080/#/c/24581/5//COMMIT_MSG@18
PS5, Line 18: does
: not exist anymore
> nit: no longer exists
Done
http://gerrit.cloudera.org:8080/#/c/24581/5//COMMIT_MSG@20
PS5, Line 20: random generators switched
> nit: random generators were switched
Done
http://gerrit.cloudera.org:8080/#/c/24581/5//COMMIT_MSG@20
PS5, Line 20: since 1.86.0
> nit: as of 1.86.0
Done
http://gerrit.cloudera.org:8080/#/c/24581/5//COMMIT_MSG@30
PS5, Line 30: at github.com
> nit: on GitHub
Done
http://gerrit.cloudera.org:8080/#/c/24581/5//COMMIT_MSG@32
PS5, Line 32: into
> to
Done
http://gerrit.cloudera.org:8080/#/c/24581/5//COMMIT_MSG@33
PS5, Line 33: into
> to the
Done
http://gerrit.cloudera.org:8080/#/c/24581/5//COMMIT_MSG@33
PS5, Line 33: thirdparty
> third-party
The directory's name is 'thirdparty'.
http://gerrit.cloudera.org:8080/#/c/24581/5/thirdparty/build-definitions.sh
File thirdparty/build-definitions.sh:
http://gerrit.cloudera.org:8080/#/c/24581/5/thirdparty/build-definitions.sh@954
PS5, Line 954: BOOST_LDFLAGS="-stdlib=libc++ $BOOST_LDFLAGS"
> Is this required? We seem to be setting 'EXTRA_LDFLAGS' with all this alrea
That's a good point. I turned out this customization isn't needed anymore.
http://gerrit.cloudera.org:8080/#/c/24581/5/thirdparty/build-definitions.sh@965
PS5, Line 965: e.g,
> nit: e.g.,
Done
--
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: comment
Gerrit-Change-Id: I4c9c2e9260b892c721ec2ba887c61b8aeef35888
Gerrit-Change-Number: 24581
Gerrit-PatchSet: 5
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 16 Jul 2026 18:17:46 +0000
Gerrit-HasComments: Yes