]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
install-deps: unconditionally install boost libraries
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 8 Jan 2025 14:53:26 +0000 (09:53 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 17 Mar 2025 19:43:20 +0000 (15:43 -0400)
If we add a new Boost component, the install-deps.sh script will not install it
because other Boost libraries are installed with the desired version. Just
unconditionally install. The package manager is smart enough to skip already
installed packages.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 668a556322d8767b3e9e82230f099bcd9211f576)

install-deps.sh

index 0a21ecf39e129714b1cc454d52ff2563c503eccc..b24b335fd884d5a0e663629348c1561900e058e7 100755 (executable)
@@ -191,11 +191,6 @@ function install_boost_on_ubuntu {
                               grep -e 'libboost[0-9].[0-9]\+-dev' |
                               cut -d' ' -f2 |
                               cut -d'.' -f1,2)
-    if test -n "$installed_ver"; then
-        if echo "$installed_ver" | grep -q "^$boost_ver"; then
-            return
-        fi
-    fi
     local codename=$1
     local project=libboost
     local sha1=2804368f5b807ba8334b0ccfeb8af191edeb996f