Update dependency scripts for Ubuntu 16.04

This commit is contained in:
seelabs
2016-04-22 10:17:22 -04:00
committed by Nik Bougalis
parent 1c8c3207fe
commit 13ec104154
2 changed files with 5 additions and 2 deletions

View File

@@ -20,6 +20,9 @@ fi
if ! hash clang 2>/dev/null; then
clang_version=3.7
if [ ${ubuntu_release} == "16.04" ]; then
clang_version=3.8
fi
sudo apt-get -y install clang-${clang_version}
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${clang_version} 99 clang++
hash -r
@@ -29,7 +32,7 @@ if ! hash clang 2>/dev/null; then
fi
fi
if [ ${ubuntu_release} != "15.10" ]; then
if [ ${ubuntu_release} != "16.04" ] && [ ${ubuntu_release} != "15.10" ]; then
echo "clang specific boost and protobuf not needed"
exit 0
fi

View File

@@ -44,7 +44,7 @@ if [ ${ubuntu_release} == "14.04" ] || [ ${ubuntu_release} == "15.04" ]; then
exit 0
fi
if [ ${ubuntu_release} == "15.10" ]; then
if [ ${ubuntu_release} == "16.04" ] || [ ${ubuntu_release} == "15.10" ]; then
apt-get update
apt-get -y upgrade
apt-get -y install python-software-properties curl git scons ctags pkg-config protobuf-compiler libprotobuf-dev libssl-dev python-software-properties libboost-all-dev nodejs