]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
build: install-deps.sh installs system boost on Jammy 52768/head
authorAdam Emerson <aemerson@redhat.com>
Thu, 20 Jul 2023 01:03:44 +0000 (21:03 -0400)
committerAdam Emerson <aemerson@redhat.com>
Wed, 2 Aug 2023 16:18:03 +0000 (12:18 -0400)
Since on Jammy system boost is new enough for Pacific and we don't have
Jammy packages for older boost (we only have those for Bionic), just
install the system packages rather than fetching ceph-libboost.

No analogous commit exists in main as while main's Jammy case installs
ceph-libboost, we just need a system package here.

Fixes: https://tracker.ceph.com/issues/62103
Signed-off-by: Adam Emerson <aemerson@redhat.com>
install-deps.sh

index 55b5fbd5d7ff7ca25fa39a714ce3e1ce4f3a47d6..7e137d687f105ca802af874e2b2ceda45951a067 100755 (executable)
@@ -354,6 +354,27 @@ else
                 [ ! $NO_BOOST_PKGS ] && install_boost_on_ubuntu bionic
                 $with_zbd && install_libzbd_on_ubuntu bionic
                 ;;
+            *Jammy*)
+                [ ! $NO_BOOST_PKGS ] && \
+                   $SUDO env DEBIAN_FRONTEND=noninteractive apt-get install -y \
+                         libboost-atomic-dev \
+                         libboost-chrono-dev \
+                         libboost-container-dev \
+                         libboost-context-dev \
+                         libboost-coroutine-dev \
+                         libboost-date-time-dev \
+                         libboost-filesystem-dev \
+                         libboost-iostreams-dev \
+                         libboost-program-options-dev \
+                         libboost-python-dev \
+                         libboost-random-dev \
+                         libboost-regex-dev \
+                         libboost-system-dev \
+                         libboost-test-dev \
+                         libboost-thread-dev \
+                         libboost-timer-dev \
+                         gcc
+                ;;
             *)
                 $SUDO apt-get install -y gcc
                 ;;