From 5973b264a955c7e85be87a6c94e33d9936481a04 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 (cherry picked from commit 3222485d6582ba6ab3ee908c13b6459c2e2b6302) --- doc/dev/continuous-integration.rst | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/doc/dev/continuous-integration.rst b/doc/dev/continuous-integration.rst index cfa44b60ea7ba..70b6da4bdeecc 100644 --- a/doc/dev/continuous-integration.rst +++ b/doc/dev/continuous-integration.rst @@ -154,15 +154,26 @@ libboost packages `boost`_. The packages' names are changed from ``libboost-*`` to ``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/tchaikov/ceph-boost. + 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