Skip to content

Commit bf5ca02

Browse files
committed
1 parent 227df1e commit bf5ca02

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

tools/install-boost.sh

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
1-
# Downloads sources to ~/boost-src, installs to /opt/boost
2-
# Get the source code
3-
mkdir ~/boost-src
1+
# # Downloads sources to ~/boost-src, installs to /opt/boost
2+
# # Get the source code
3+
# mkdir ~/boost-src
4+
# cd ~/boost-src
5+
# wget -q https://archives.boost.io/beta/1.89.0.beta1/source/boost_1_89_0_b1_rc1.tar.gz
6+
# tar -xf boost_1_89_0_b1_rc1.tar.gz
7+
# cd boost_1_89_0
8+
9+
set -e
10+
11+
git clone -b develop --depth 1 https://github.com/boostorg/boost.git ~/boost-src
412
cd ~/boost-src
5-
wget -q https://archives.boost.io/release/1.87.0/source/boost_1_87_0.tar.gz
6-
tar -xf boost_1_87_0.tar.gz
7-
cd boost_1_87_0
13+
git config submodule.fetchJobs 8
14+
git submodule update -q --init --recursive
15+
16+
# Charconv branch
17+
cd libs/charconv
18+
git checkout source_compiles
19+
cd ../..
820

921
# Build and install. Make sure you've got write access to /opt/boost,
1022
# otherwise change the --prefix argument

0 commit comments

Comments
 (0)