Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The build info shows following description: \ #3144

Merged
merged 2 commits into from
Apr 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ set(Boost_USE_MULTITHREADED ON)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules")

find_package(Boost 1.69.0 REQUIRED COMPONENTS filesystem log log_setup thread
find_package(Boost 1.70.0 REQUIRED COMPONENTS filesystem log log_setup thread
program_options system)

# RocksDB
Expand Down Expand Up @@ -569,7 +569,7 @@ if(NANO_FUZZER_TEST)
endif()

if(NANO_TEST OR RAIBLOCKS_TEST)
find_package(Boost 1.69.0 REQUIRED COMPONENTS coroutine context)
find_package(Boost 1.70.0 REQUIRED COMPONENTS coroutine context)
if(WIN32)
if(MSVC_VERSION)
if(MSVC_VERSION GREATER_EQUAL 1910)
Expand Down
4 changes: 2 additions & 2 deletions cmake/legacyModules/FindBoost.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ function(_Boost_GUESS_COMPILER_PREFIX _ret)
_Boost_COMPILER_DUMPVERSION(_boost_COMPILER_VERSION _boost_COMPILER_VERSION_MAJOR _boost_COMPILER_VERSION_MINOR)
if(NOT Boost_VERSION VERSION_LESS 106900)
# From GCC 5 and clang 4, versioning changes and minor becomes patch.
# For those compilers, patch is exclude from compiler tag in Boost 1.69+ library naming.
# For those compilers, patch is exclude from compiler tag in Boost 1.70+ library naming.
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND _boost_COMPILER_VERSION_MAJOR VERSION_GREATER 4)
set(_boost_COMPILER_VERSION "${_boost_COMPILER_VERSION_MAJOR}")
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND _boost_COMPILER_VERSION_MAJOR VERSION_GREATER 3)
Expand Down Expand Up @@ -1127,7 +1127,7 @@ else()
# _Boost_COMPONENT_HEADERS. See the instructions at the top of
# _Boost_COMPONENT_DEPENDENCIES.
set(_Boost_KNOWN_VERSIONS ${Boost_ADDITIONAL_VERSIONS}
"1.69.0" "1.69"
"1.70.0" "1.70" "1.69.0" "1.69"
"1.68.0" "1.68" "1.67.0" "1.67" "1.66.0" "1.66" "1.65.1" "1.65.0" "1.65"
"1.64.0" "1.64" "1.63.0" "1.63" "1.62.0" "1.62" "1.61.0" "1.61" "1.60.0" "1.60"
"1.59.0" "1.59" "1.58.0" "1.58" "1.57.0" "1.57" "1.56.0" "1.56" "1.55.0" "1.55"
Expand Down
12 changes: 6 additions & 6 deletions util/build_prep/bootstrap_boost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildThreads=1
buildCArgs=()
buildCXXArgs=()
buildLDArgs=()
boostVersion='1.69'
boostVersion='1.70'
while getopts 'hmscCkpvB:j:' OPT; do
case "${OPT}" in
h)
Expand Down Expand Up @@ -83,11 +83,6 @@ if [ "${useClang}" = 'true' ]; then
fi

case "${boostVersion}" in
1.69)
BOOST_BASENAME=boost_1_69_0
BOOST_URL=https://sourceforge.net/projects/boost/files/boost/1.69.0/${BOOST_BASENAME}.tar.bz2/download
BOOST_ARCHIVE_SHA256='8f32d4617390d1c2d16f26a27ab60d97807b35440d45891fa340fc2648b04406'
;;
1.70)
BOOST_BASENAME=boost_1_70_0
BOOST_URL=https://sourceforge.net/projects/boost/files/boost/1.70.0/${BOOST_BASENAME}.tar.bz2/download
Expand All @@ -103,6 +98,11 @@ case "${boostVersion}" in
BOOST_URL=https://sourceforge.net/projects/boost/files/boost/1.73.0/${BOOST_BASENAME}.tar.bz2/download
BOOST_ARCHIVE_SHA256='4eb3b8d442b426dc35346235c8733b5ae35ba431690e38c6a8263dce9fcbb402'
;;
1.75)
BOOST_BASENAME=boost_1_75_0
BOOST_URL=https://sourceforge.net/projects/boost/files/boost/1.75.0/${BOOST_BASENAME}.tar.bz2/download
BOOST_ARCHIVE_SHA256='953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb'
;;
*)
echo "Unsupported Boost version: ${boostVersion}" >&2
exit 1
Expand Down
4 changes: 2 additions & 2 deletions util/build_prep/centos/prep.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ rm -f ./cmake_install.sh
exit 1
fi

if ! version_min 'boost --version' 1.68.999; then
echo "boost version too low (1.69.0+ required)" >&2
if ! version_min 'boost --version' 1.69.999; then
echo "boost version too low (1.70.0+ required)" >&2
exit 1
fi

Expand Down
4 changes: 2 additions & 2 deletions util/build_prep/macosx/prep.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ if ! have boost; then
exit 1
fi

if ! version_min 'boost --version' 1.68.999; then
echo "boost version too low (1.69.0+ required)" >&2
if ! version_min 'boost --version' 1.69.999; then
echo "boost version too low (1.70.0+ required)" >&2

exit 1
fi
Expand Down
4 changes: 2 additions & 2 deletions util/build_prep/ubuntu/prep.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ if ! have boost; then
exit 1
fi

if ! version_min 'boost --version' 1.68.999; then
echo "boost version too low (1.69.0+ required)" >&2
if ! version_min 'boost --version' 1.69.999; then
echo "boost version too low (1.70.0+ required)" >&2
exit 1
fi
boost_dir="$(boost --install-prefix)"
Expand Down