From 2f46323b171bd3fa086d553430b293e8a3141687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Fri, 30 Aug 2024 16:08:40 +0200 Subject: [PATCH] Bump min Boost dependency to 1.67 on Linux and macOS --- cmake/EthDependencies.cmake | 3 ++- docs/installing-solidity.rst | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cmake/EthDependencies.cmake b/cmake/EthDependencies.cmake index 16f30a640d27..87a5e1b5e17e 100644 --- a/cmake/EthDependencies.cmake +++ b/cmake/EthDependencies.cmake @@ -37,7 +37,8 @@ if (WIN32) find_package(Boost 1.77.0 QUIET REQUIRED COMPONENTS ${BOOST_COMPONENTS}) else() # Boost 1.65 is the first to also provide boost::get for rvalue-references (#5787). - find_package(Boost 1.65.0 QUIET REQUIRED COMPONENTS ${BOOST_COMPONENTS}) + # Boost 1.67 moved container_hash into is own module. + find_package(Boost 1.67.0 QUIET REQUIRED COMPONENTS ${BOOST_COMPONENTS}) endif() # If cmake is older than boost and boost is older than 1.70, diff --git a/docs/installing-solidity.rst b/docs/installing-solidity.rst index b1b3e1a3fbac..5473dbb5240c 100644 --- a/docs/installing-solidity.rst +++ b/docs/installing-solidity.rst @@ -327,7 +327,7 @@ The following are dependencies for all builds of Solidity: | Windows, 3.13+ otherwise) | | +-----------------------------------+-------------------------------------------------------+ | `Boost`_ (version 1.77+ on | C++ libraries. | -| Windows, 1.65+ otherwise) | | +| Windows, 1.67+ otherwise) | | +-----------------------------------+-------------------------------------------------------+ | `Git`_ | Command-line tool for retrieving source code. | +-----------------------------------+-------------------------------------------------------+