Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit d72c987

Browse files
authored
Update boost dependency for CentOS (#902)
1 parent db68cab commit d72c987

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

scripts/installCentOSDeps.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ install_glib2(){
3434
install_boost(){
3535
if [ -d $LIB_DIR ]; then
3636
cd $LIB_DIR
37-
wget -c http://iweb.dl.sourceforge.net/project/boost/boost/1.50.0/boost_1_50_0.tar.bz2
38-
tar xvf boost_1_50_0.tar.bz2
39-
cd boost_1_50_0
37+
wget -c http://iweb.dl.sourceforge.net/project/boost/boost/1.65.0/boost_1_65_0.tar.bz2
38+
tar xvf boost_1_65_0.tar.bz2
39+
cd boost_1_65_0
4040
chmod +x bootstrap.sh
4141
./bootstrap.sh
4242
./b2 && ./b2 install --prefix=$PREFIX_DIR

scripts/installDeps.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ then
6767
[Yy]* ) installYumDeps;;
6868
* ) installYumDeps;;
6969
esac
70+
71+
read -p "Installing boost [Yes/no]" yn
72+
case $yn in
73+
[Nn]* ) ;;
74+
[Yy]* ) install_boost;;
75+
* ) install_boost;;
76+
esac
7077
elif [[ "$OS" =~ .*ubuntu.* ]]
7178
then
7279
. installUbuntuDeps.sh

scripts/installDepsUnattended.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ then
5858
if [ "$NIGHTLY" != "true" ]; then
5959
installRepo
6060
installYumDeps
61+
install_boost
6162
fi
6263
elif [[ "$OS" =~ .*ubuntu.* ]]
6364
then

0 commit comments

Comments
 (0)