From 10d8f01f03ea266ac88d7dc13949603fa9abbc5d Mon Sep 17 00:00:00 2001 From: Incardona Pietro <incardon@mpi-cbg.de> Date: Wed, 10 Nov 2021 23:07:29 +0100 Subject: [PATCH] Moving to Boost 1.77 --- script/install_BOOST.sh | 12 ++++++------ script/remove_old | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/script/install_BOOST.sh b/script/install_BOOST.sh index 0deb5de82..b4f76e331 100755 --- a/script/install_BOOST.sh +++ b/script/install_BOOST.sh @@ -10,10 +10,10 @@ if [ -d "$1/BOOST" ]; then exit 0 fi -rm boost_1_75_0.tar.bz2 -wget http://ppmcore.mpi-cbg.de/upload/boost_1_75_0.tar.bz2 -tar -xvf boost_1_75_0.tar.bz2 -cd boost_1_75_0 +rm boost_1_77_0.tar.bz2 +wget http://ppmcore.mpi-cbg.de/upload/boost_1_77_0.tar.bz2 +tar -xvf boost_1_77_0.tar.bz2 +cd boost_1_77_0 if [ x"$4" != x"" ]; then if [ -f $HOME/user-config.jam ]; then mv $HOME/user-config.jam $HOME/user-config.jam_bck @@ -41,10 +41,10 @@ else ./b2 -j $2 install --prefix=$1/BOOST fi -rm -rf boost_1_75_0 +rm -rf boost_1_77_0 if [ -f $HOME/user-config.jam_bck ]; then mv $HOME/user-config.jam_bck $HOME/user-config.jam fi -rm -rf boost_1_75_0.tar.bz2 +rm -rf boost_1_77_0.tar.bz2 diff --git a/script/remove_old b/script/remove_old index ce0b9a91d..3c3a0ca37 100755 --- a/script/remove_old +++ b/script/remove_old @@ -76,10 +76,10 @@ function remove_old() ## Check the installed version of the dependencies if [ -d $1/BOOST ]; then - is_update=$(cat $1/BOOST/include/boost/version.hpp | grep "#define BOOST_VERSION 107500") + is_update=$(cat $1/BOOST/include/boost/version.hpp | grep "#define BOOST_VERSION 107700") if [ x"$is_update" == x"" ]; then echo -e "\033[1;34;5m --------------------------------------------------------------------------- \033[0m" - echo -e "\033[1;34;5m Boost has been updated to 1.75, the component will be updated automatically \033[0m" + echo -e "\033[1;34;5m Boost has been updated to 1.77, the component will be updated automatically \033[0m" echo -e "\033[1;34;5m --------------------------------------------------------------------------- \033[0m" sleep 5 rm -rf $1/BOOST/include -- GitLab