diff --git a/Builds/Ubuntu/build_clang_libs.sh b/Builds/Ubuntu/build_clang_libs.sh index dd2294c1db..42b07005a3 100755 --- a/Builds/Ubuntu/build_clang_libs.sh +++ b/Builds/Ubuntu/build_clang_libs.sh @@ -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 diff --git a/Builds/Ubuntu/install_rippled_depends_ubuntu.sh b/Builds/Ubuntu/install_rippled_depends_ubuntu.sh index 9fa0407560..fee5a5a609 100755 --- a/Builds/Ubuntu/install_rippled_depends_ubuntu.sh +++ b/Builds/Ubuntu/install_rippled_depends_ubuntu.sh @@ -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