From: Kefu Chai Date: Mon, 23 Dec 2019 15:17:04 +0000 (+0800) Subject: cmake: build boost v1.72 instead of v1.67 X-Git-Tag: v14.2.8~28^2~2^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1ae0c124534c7ea0ff8bcf732f6d8c7ec2e8c15d;p=ceph.git cmake: build boost v1.72 instead of v1.67 so we can drop two patches which are already included by v1.72 Signed-off-by: Kefu Chai (cherry picked from commit e461bda6c9507b6b30e574f35fdf904870363111) --- diff --git a/cmake/modules/BuildBoost.cmake b/cmake/modules/BuildBoost.cmake index f46cc0d4853..f99d74a0bcd 100644 --- a/cmake/modules/BuildBoost.cmake +++ b/cmake/modules/BuildBoost.cmake @@ -137,14 +137,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.67) + elseif(version VERSION_GREATER 1.72) 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.67.0) - set(boost_sha256 2684c972994ee57fc5632e03bf044746f6eb45d4920c343937a465fd67a5adba) + set(boost_version 1.72.0) + set(boost_sha256 59c9b274bc451cf91a9ba1dd2c7fdcaf5d60b1b3aa83f2c9fa143417cc660722) 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)