This is an automated email from the ASF dual-hosted git repository.
stevel 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 6ed393c95a6 HADOOP-19812. Reduce boost source code download size
(#8244)
6ed393c95a6 is described below
commit 6ed393c95a6feb96bee1e3883b5abb151b2312bf
Author: Cheng Pan <[email protected]>
AuthorDate: Tue Feb 10 20:56:48 2026 +0800
HADOOP-19812. Reduce boost source code download size (#8244)
Contributed by Cheng Pan
---
BUILDING.txt | 10 +++++-----
dev-support/docker/pkg-resolver/install-boost.sh | 8 ++++----
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/BUILDING.txt b/BUILDING.txt
index 624cfc8fb0c..99624ec0b9c 100644
--- a/BUILDING.txt
+++ b/BUILDING.txt
@@ -88,8 +88,8 @@ Refer to dev-support/docker/Dockerfile_ubuntu_20):
$ cmake --build build --parallel $(nproc)
$ sudo cmake --install build
* Boost
- $ 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
+ $ curl -L
https://github.com/boostorg/boost/releases/download/boost-1.86.0/boost-1.86.0-b2-nodocs.tar.gz
> boost-1.86.0.tar.gz
+ $ tar -zxf boost-1.86.0.tar.gz && cd boost-1.86.0
$ ./bootstrap.sh --prefix=/usr/
$ ./b2 --without-python
$ sudo ./b2 --without-python install
@@ -551,9 +551,9 @@ Building on Rocky Linux 8
$ sudo make install
* Install boost.
- $ 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
+ $ curl -L -o boost-1.86.0.tar.gz
https://github.com/boostorg/boost/releases/download/boost-1.86.0/boost-1.86.0-b2-nodocs.tar.gz
+ $ tar -xzf boost-1.86.0.tar.gz
+ $ cd boost-1.86.0
$ ./bootstrap.sh --prefix=/usr/local
$ ./b2
$ sudo ./b2 install
diff --git a/dev-support/docker/pkg-resolver/install-boost.sh
b/dev-support/docker/pkg-resolver/install-boost.sh
index b24426b8974..65e7e1fc1ac 100644
--- a/dev-support/docker/pkg-resolver/install-boost.sh
+++ b/dev-support/docker/pkg-resolver/install-boost.sh
@@ -41,11 +41,11 @@ fi
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.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 &&
+ curl -L
https://github.com/boostorg/boost/releases/download/boost-1.86.0/boost-1.86.0-b2-nodocs.tar.gz
> boost-1.86.0.tar.gz &&
+ mv boost-1.86.0.tar.gz /opt/boost-library &&
cd /opt/boost-library &&
- tar --bzip2 -xf boost_1_86_0.tar.bz2 &&
- cd /opt/boost-library/boost_1_86_0 &&
+ tar -xzf boost-1.86.0.tar.gz &&
+ cd /opt/boost-library/boost-1.86.0 &&
./bootstrap.sh --prefix=/usr/ &&
./b2 --without-python install &&
cd /root &&
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]