]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
install-deps.sh: do not install libboost-all-dev for old distros
authorKefu Chai <kchai@redhat.com>
Thu, 17 Dec 2020 10:52:00 +0000 (18:52 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 17 Dec 2020 11:05:04 +0000 (19:05 +0800)
ubuntu disco and ubuntu focal do not ship libboost 1.72 and up, and
we depend on libboost 1.72 or up, so it does not help to install
liboost 1.67 or libboost 1.71 anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
install-deps.sh

index c34789969dbb366f64f17e65fad9b8db17652b5c..e2df506dc87144cb09dd84bde0b49b73ba222598 100755 (executable)
@@ -295,11 +295,9 @@ else
                 $SUDO apt-get install -y nlohmann-json-dev
                 ;;
             *Disco*)
-                [ ! $NO_BOOST_PKGS ] && $SUDO apt-get install -y libboost1.67-all-dev
                 $SUDO apt-get install -y nlohmann-json-dev
                 ;;
             *Focal*)
-                [ ! $NO_BOOST_PKGS ] && $SUDO apt-get install -y libboost1.71-all-dev
                 $SUDO apt-get install -y nlohmann-json3-dev
                 ;;
             *)