From 95aff1e3840f7c9f8766831282fe19773ff5331d Mon Sep 17 00:00:00 2001 From: Jun He Date: Wed, 24 Apr 2019 09:14:51 +0800 Subject: [PATCH] install-deps.sh: add option to skip prebuilt boost-* pkgs installation Prebuilt boost-1.67 packages are only available for limited arch on Ubuntu (x86_64 for bionic, x86_64 and arm64 for xenial). This will cause install failure on missing platforms. Add a new env variable to allow user to build and install from source while the default option is to install pkgs from ceph repo. Change-Id: I4259733dd40a638d1bd5d1578a64ecaaa6490121 Signed-off-by: Jun He --- install-deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-deps.sh b/install-deps.sh index dedf973d134..108ef3dc1ff 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -278,10 +278,10 @@ else ;; *Xenial*) ensure_decent_gcc_on_ubuntu 7 xenial - install_boost_on_ubuntu xenial + [ ! $NO_BOOST_PKGS ] && install_boost_on_ubuntu xenial ;; *Bionic*) - install_boost_on_ubuntu bionic + [ ! $NO_BOOST_PKGS ] && install_boost_on_ubuntu bionic ;; *) $SUDO apt-get install -y gcc -- 2.47.3