Skip to content
Snippets Groups Projects
Commit 8bfd016c authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Reverting to 1.75 for intel compiler

parent 10d8f01f
No related branches found
No related tags found
No related merge requests found
Pipeline #3799 passed
......@@ -10,10 +10,10 @@ if [ -d "$1/BOOST" ]; then
exit 0
fi
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
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
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_77_0
rm -rf boost_1_75_0
if [ -f $HOME/user-config.jam_bck ]; then
mv $HOME/user-config.jam_bck $HOME/user-config.jam
fi
rm -rf boost_1_77_0.tar.bz2
rm -rf boost_1_75_0.tar.bz2
......@@ -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 107700")
is_update=$(cat $1/BOOST/include/boost/version.hpp | grep "#define BOOST_VERSION 107500")
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.77, the component will be updated automatically \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 --------------------------------------------------------------------------- \033[0m"
sleep 5
rm -rf $1/BOOST/include
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment