]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: download and build boost 1.73 if it is not installed
authorKefu Chai <kchai@redhat.com>
Fri, 26 Jun 2020 07:48:11 +0000 (15:48 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 26 Jun 2020 09:36:54 +0000 (17:36 +0800)
Fixes: https://tracker.ceph.com/issues/46208
Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/BuildBoost.cmake

index aa548e9ff61f73ad0d32e657408f2f9245790da7..ba86ecaa63ce12b29cf09002e8f9d1cd419c4742 100644 (file)
@@ -145,14 +145,14 @@ function(do_build_boost 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.72)
+  elseif(version VERSION_GREATER 1.73)
     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.72.0)
-    set(boost_sha256 59c9b274bc451cf91a9ba1dd2c7fdcaf5d60b1b3aa83f2c9fa143417cc660722)
+    set(boost_version 1.73.0)
+    set(boost_sha256 4eb3b8d442b426dc35346235c8733b5ae35ba431690e38c6a8263dce9fcbb402)
     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)