From 7fe16eb0e656aaff93272c5d2826842e67d02a9f Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 26 Jun 2020 15:48:11 +0800 Subject: [PATCH] cmake: download and build boost 1.73 if it is not installed Fixes: https://tracker.ceph.com/issues/46208 Signed-off-by: Kefu Chai --- cmake/modules/BuildBoost.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/modules/BuildBoost.cmake b/cmake/modules/BuildBoost.cmake index aa548e9ff61..ba86ecaa63c 100644 --- a/cmake/modules/BuildBoost.cmake +++ b/cmake/modules/BuildBoost.cmake @@ -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)