From 3222485d6582ba6ab3ee908c13b6459c2e2b6302 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Wed, 20 Jul 2022 17:07:44 -0400 Subject: [PATCH] doc/dev: Elaborate on boost .deb creation Signed-off-by: David Galloway --- doc/dev/continuous-integration.rst | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/dev/continuous-integration.rst b/doc/dev/continuous-integration.rst index 709eb72c17e..5c2f158236c 100644 --- a/doc/dev/continuous-integration.rst +++ b/doc/dev/continuous-integration.rst @@ -155,14 +155,25 @@ libboost ``ceph-libboost-*``, and they are instead installed into ``/opt/ceph``, so they don't interfere with the official ``libboost`` packages shipped by distro. Its build scripts are hosted at https://github.com/ceph/ceph-boost. + See https://github.com/ceph/ceph-boost/commit/2a8ae02932b2a1fd6a68072da8ca0df2b99b805c + for an example of how to bump the version number. The commands used to + build 1.79 on a vanilla Ubuntu Focal OS are below. .. prompt:: bash $ - tar xjf boost_1_76_0.tar.bz2 + sudo apt install debhelper dctrl-tools chrpath libbz2-dev libicu-dev bison \ + flex docbook-to-man help2man xsltproc doxygen dh-python python3-all-dev graphviz + wget http://download.ceph.com/qa/boost_1_79_0.tar.bz2 git clone https://github.com/ceph/ceph-boost - cp -ra ceph-boost/debian boost_1_76_0/ + tar xjf boost_1_79_0.tar.bz2 + cp -ra ceph-boost/debian boost_1_79_0/ + pushd boost_1_79_0 export DEB_BUILD_OPTIONS='parallel=6 nodoc' dpkg-buildpackage -us -uc -b + popd + BOOST_SHA=$(git ls-remote https://github.com/ceph/ceph-boost main | awk '{ print $1 }') + ls *.deb | chacractl binary create \ + libboost/master/$BOOST_SHA/ubuntu/focal/amd64/flavors/default libzbd packages `libzbd`_ . The upstream libzbd includes debian packaging already. -- 2.39.5