]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake,install-deps,make-dist: use boost 1.75 40487/head
authorKefu Chai <kchai@redhat.com>
Tue, 30 Mar 2021 01:45:41 +0000 (09:45 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 5 Apr 2021 07:09:29 +0000 (15:09 +0800)
so we can use the latest boost

Signed-off-by: Kefu Chai <kchai@redhat.com>
CMakeLists.txt
cmake/modules/BuildBoost.cmake
install-deps.sh
make-dist

index 84c12ae35143240f584d7095b169b33a550dd9dd..a913cbe6c939774a2cc49b80ee8227066752a4b4 100644 (file)
@@ -637,7 +637,7 @@ else()
     "max jobs for Boost build") # override w/-DBOOST_J=<n>
   set(Boost_USE_STATIC_LIBS ON)
   include(BuildBoost)
-  build_boost(1.73
+  build_boost(1.75
     COMPONENTS ${BOOST_COMPONENTS} ${BOOST_HEADER_COMPONENTS})
 endif()
 include_directories(BEFORE SYSTEM ${Boost_INCLUDE_DIRS})
index 30445db829bc2df9b72104f6516e00fd1c5e7d5a..294349694c2b2c6282768e47a719604ab098db85 100644 (file)
@@ -144,14 +144,14 @@ function(do_build_boost root_dir version)
     check_boost_version("${PROJECT_SOURCE_DIR}/src/boost" ${version})
     set(source_dir
       SOURCE_DIR "${PROJECT_SOURCE_DIR}/src/boost")
-  elseif(version VERSION_GREATER 1.73)
+  elseif(version VERSION_GREATER 1.75)
     message(FATAL_ERROR "Unknown BOOST_REQUESTED_VERSION: ${version}")
   else()
     message(STATUS "boost will be downloaded...")
     # NOTE: If you change this version number make sure the package is available
     # at the three URLs below (may involve uploading to download.ceph.com)
-    set(boost_version 1.73.0)
-    set(boost_sha256 4eb3b8d442b426dc35346235c8733b5ae35ba431690e38c6a8263dce9fcbb402)
+    set(boost_version 1.75.0)
+    set(boost_sha256 953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb)
     string(REPLACE "." "_" boost_version_underscore ${boost_version} )
     set(boost_url 
       https://dl.bintray.com/boostorg/release/${boost_version}/source/boost_${boost_version_underscore}.tar.bz2)
index 368fea017d593946c25ba63e57d5097ac037e923..dbfc921d774394b9566c433881562f906ae18695 100755 (executable)
@@ -174,7 +174,7 @@ function install_pkg_on_ubuntu {
 }
 
 function install_boost_on_ubuntu {
-    local ver=1.73
+    local ver=1.75
     local installed_ver=$(apt -qq list --installed ceph-libboost*-dev 2>/dev/null |
                               grep -e 'libboost[0-9].[0-9]\+-dev' |
                               cut -d' ' -f2 |
index 043f3271b5622b0cbd9bd5e1bf8ad37505373b29..0f3761d3d4f5f1cf7a282fcc689ed356fd31476d 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -147,8 +147,8 @@ ln -s . $outfile
 tar cvf $outfile.version.tar $outfile/src/.git_version $outfile/ceph.spec
 # NOTE: If you change this version number make sure the package is available
 # at the three URLs referenced below (may involve uploading to download.ceph.com)
-boost_version=1.73.0
-download_boost $boost_version 4eb3b8d442b426dc35346235c8733b5ae35ba431690e38c6a8263dce9fcbb402 \
+boost_version=1.75.0
+download_boost $boost_version 953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb \
                https://dl.bintray.com/boostorg/release/$boost_version/source \
                https://downloads.sourceforge.net/project/boost/boost/$boost_version \
                https://download.ceph.com/qa