]> git.apps.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>
Thu, 27 Feb 2025 18:41:56 +0000 (13:41 -0500)
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>
install-deps.sh

index 3cd705068d0c01ae05b38cf8fdcedcfd1fcc8059..75d8a0407fd62d0d04498ec50de75f34b8130c68 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=55f34507d322314fb0294629b7c0bb406de07aec