feat(Deps/Boost): add boost support (#5676)

* feat(Deps/Boost): add boost support

* 1

* 2

* to 1.74
This commit is contained in:
Kargatum
2021-05-23 18:53:15 +07:00
committed by GitHub
parent af28aeebde
commit 50adcf2065
9 changed files with 114 additions and 11 deletions

View File

@@ -12,6 +12,7 @@ sudo apt-get install -y gdbserver gdb unzip curl libace-6.* libace-dev \
if [[ $DEBIAN_VERSION -eq "10" ]]; then
sudo apt-get install -y default-libmysqlclient-dev libssl-dev libreadline-dev libncurses-dev mariadb-server
libboost-system1.6*-dev libboost-filesystem1.6*-dev libboost-program-options1.6*-dev libboost-iostreams1.6*-dev \
else # Debian 8 and 9 should work using this
sudo apt-get install -y libmysqlclient-dev libssl1.0-dev mysql-server
fi

View File

@@ -13,4 +13,4 @@ if ! command -v cmake &>/dev/null ; then
fi
##########################################
brew install openssl readline ace bash-completion curl unzip mysql ccache
brew install openssl readline ace boost bash-completion curl unzip mysql ccache

View File

@@ -1,15 +1,20 @@
if ! command -v lsb_release &>/dev/null ; then
sudo apt-get install -y lsb-release
fi
# if ! command -v lsb_release &>/dev/null ; then
# sudo apt-get install -y lsb-release
# fi
UBUNTU_VERSION=$(lsb_release -sr);
# UBUNTU_VERSION=$(lsb_release -sr);
sudo apt-get update -y
# Added repo for newest lib
sudo add-apt-repository -y ppa:mhier/libboost-latest
sudo apt update
# shared deps
sudo apt-get -y install make cmake clang curl unzip libmysqlclient-dev libace-dev ccache google-perftools
# Insstall boost 1.74 from ppa:mhier/libboost-latest for all os versions
sudo apt-get -y install libboost1.74-dev
if [[ $CONTINUOUS_INTEGRATION || $DOCKER ]]; then
sudo apt-get -y install build-essential libtool cmake-data openssl libgoogle-perftools-dev \
libssl-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev mysql-client \