This is an automated email from the ASF dual-hosted git repository. cnauroth pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push: new 069eff9ecd2 HADOOP-19475. Update Boost to 1.86.0 069eff9ecd2 is described below commit 069eff9ecd2763e33e5caae2cc50206743e3ed22 Author: Istvan Toth <st...@apache.org> AuthorDate: Thu Mar 20 21:23:08 2025 +0000 HADOOP-19475. Update Boost to 1.86.0 Closes #7444 Signed-off-by: Chris Nauroth <cnaur...@apache.org> --- BUILDING.txt | 14 +++++++------- dev-support/docker/pkg-resolver/install-boost.sh | 14 +++++++------- .../src/main/native/libhdfspp/CMakeLists.txt | 2 +- .../src/main/native/libhdfspp/tools/CMakeLists.txt | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/BUILDING.txt b/BUILDING.txt index 71a7b8332eb..0376b8a76c3 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -6,7 +6,7 @@ Requirements: * Unix System * JDK 1.8 * Maven 3.3 or later -* Boost 1.72 (if compiling native code) +* Boost 1.86.0 (if compiling native code) * Protocol Buffers 3.21.12 (if compiling native code) * CMake 3.19 or newer (if compiling native code) * Zlib devel (if compiling native code) @@ -82,8 +82,8 @@ Refer to dev-support/docker/Dockerfile): $ make -j$(nproc) $ sudo make install * Boost - $ curl -L https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2/download > boost_1_72_0.tar.bz2 - $ tar --bzip2 -xf boost_1_72_0.tar.bz2 && cd boost_1_72_0 + $ curl -L https://sourceforge.net/projects/boost/files/boost/1.86.0/boost_1_86_0.tar.bz2/download > boost_1_86_0.tar.bz2 + $ tar --bzip2 -xf boost_1_86_0.tar.bz2 && cd boost_1_86_0 $ ./bootstrap.sh --prefix=/usr/ $ ./b2 --without-python $ sudo ./b2 --without-python install @@ -493,9 +493,9 @@ Building on CentOS 8 $ sudo make install * Install boost. - $ curl -L -o boost_1_72_0.tar.bz2 https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2/download - $ tar xjf boost_1_72_0.tar.bz2 - $ cd boost_1_72_0 + $ curl -L -o boost_1_86_0.tar.bz2 https://sourceforge.net/projects/boost/files/boost/1.86.0/boost_1_86_0.tar.bz2/download + $ tar xjf boost_1_86_0.tar.bz2 + $ cd boost_1_86_0 $ ./bootstrap.sh --prefix=/usr/local $ ./b2 $ sudo ./b2 install @@ -526,7 +526,7 @@ Requirements: * Windows 10 * JDK 1.8 * Maven 3.0 or later (maven.apache.org) -* Boost 1.72 (boost.org) +* Boost 1.86.0 (boost.org) * Protocol Buffers 3.21.12 (https://github.com/protocolbuffers/protobuf/tags) * CMake 3.19 or newer (cmake.org) * Visual Studio 2019 (visualstudio.com) diff --git a/dev-support/docker/pkg-resolver/install-boost.sh b/dev-support/docker/pkg-resolver/install-boost.sh index eaca09effa2..b24426b8974 100644 --- a/dev-support/docker/pkg-resolver/install-boost.sh +++ b/dev-support/docker/pkg-resolver/install-boost.sh @@ -27,25 +27,25 @@ if [ $? -eq 1 ]; then exit 1 fi -default_version="1.72.0" +default_version="1.86.0" version_to_install=$default_version if [ -n "$2" ]; then version_to_install="$2" fi -if [ "$version_to_install" != "1.72.0" ]; then +if [ "$version_to_install" != "1.86.0" ]; then echo "WARN: Don't know how to install version $version_to_install, installing the default version $default_version instead" version_to_install=$default_version fi -if [ "$version_to_install" == "1.72.0" ]; then +if [ "$version_to_install" == "1.86.0" ]; then # hadolint ignore=DL3003 mkdir -p /opt/boost-library && - curl -L https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2/download >boost_1_72_0.tar.bz2 && - mv boost_1_72_0.tar.bz2 /opt/boost-library && + curl -L https://sourceforge.net/projects/boost/files/boost/1.86.0/boost_1_86_0.tar.bz2/download >boost_1_86_0.tar.bz2 && + mv boost_1_86_0.tar.bz2 /opt/boost-library && cd /opt/boost-library && - tar --bzip2 -xf boost_1_72_0.tar.bz2 && - cd /opt/boost-library/boost_1_72_0 && + tar --bzip2 -xf boost_1_86_0.tar.bz2 && + cd /opt/boost-library/boost_1_86_0 && ./bootstrap.sh --prefix=/usr/ && ./b2 --without-python install && cd /root && diff --git a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/CMakeLists.txt b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/CMakeLists.txt index a42ee2e2114..c9af7915614 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/CMakeLists.txt +++ b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/CMakeLists.txt @@ -28,7 +28,7 @@ project (libhdfspp) cmake_minimum_required(VERSION 2.8) -find_package (Boost 1.72.0 REQUIRED COMPONENTS date_time) +find_package (Boost 1.86.0 REQUIRED COMPONENTS date_time) enable_testing() set(CMAKE_CXX_STANDARD 17) diff --git a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tools/CMakeLists.txt b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tools/CMakeLists.txt index 52caf019156..f41ae119a23 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tools/CMakeLists.txt +++ b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tools/CMakeLists.txt @@ -16,7 +16,7 @@ # limitations under the License. # -find_package(Boost 1.72 COMPONENTS program_options REQUIRED) +find_package(Boost 1.86 COMPONENTS program_options REQUIRED) # Default LIBHDFSPP_DIR to the default install location. You can override # it by add -DLIBHDFSPP_DIR=... to your cmake invocation --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org