From: Adam Emerson Date: Thu, 20 Jul 2023 01:03:44 +0000 (-0400) Subject: build: install-deps.sh installs system boost on Jammy X-Git-Tag: v17.2.7~232^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=12a0f85c433ded9d504541c06d1505ebfb7a3c86;p=ceph.git build: install-deps.sh installs system boost on Jammy Since on Jammy system boost is new enough for Quincy and we don't have Jammy packages for older boost (we only have those for Focal), 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/62102 Signed-off-by: Adam Emerson --- diff --git a/install-deps.sh b/install-deps.sh index 9cb2fcaccce..cfe6628f396 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -343,6 +343,27 @@ else [ ! $NO_BOOST_PKGS ] && install_boost_on_ubuntu focal $with_zbd && install_libzbd_on_ubuntu focal ;; + *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 ;;