From 7955c58f3ec52f97075812b26952fe588c802e00 Mon Sep 17 00:00:00 2001 From: kamilsa Date: Wed, 16 Oct 2024 15:47:41 +0500 Subject: [PATCH 1/3] Downgrade boost --- cmake/Hunter/config.cmake | 5 +++++ cmake/dependencies.cmake | 2 +- core/telemetry/CMakeLists.txt | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cmake/Hunter/config.cmake b/cmake/Hunter/config.cmake index 6d1b563238..191b562f17 100644 --- a/cmake/Hunter/config.cmake +++ b/cmake/Hunter/config.cmake @@ -38,6 +38,11 @@ hunter_config( CMAKE_ARGS WITH_GFLAGS=OFF ) +hunter_config( + Boost + VERSION 1.85.0 +) + if ("${WASM_COMPILER}" STREQUAL "WasmEdge") hunter_config( fmt diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake index 616c95ccd3..44ecc2cebf 100644 --- a/cmake/dependencies.cmake +++ b/cmake/dependencies.cmake @@ -14,7 +14,7 @@ endif () # https://docs.hunter.sh/en/latest/packages/pkg/Boost.html hunter_add_package(Boost COMPONENTS random filesystem program_options date_time) -find_package(Boost CONFIG REQUIRED random filesystem program_options date_time process) +find_package(Boost CONFIG REQUIRED random filesystem program_options date_time) hunter_add_package(qtils) find_package(qtils CONFIG REQUIRED) diff --git a/core/telemetry/CMakeLists.txt b/core/telemetry/CMakeLists.txt index 666f760a09..c5f13448b3 100644 --- a/core/telemetry/CMakeLists.txt +++ b/core/telemetry/CMakeLists.txt @@ -18,7 +18,6 @@ target_link_libraries(telemetry kagome_uri Boost::boost Boost::date_time - Boost::process OpenSSL::SSL RapidJSON::rapidjson p2p::p2p_asio_scheduler_backend From 8db93a590bd11d751a50760e18867667f33b727d Mon Sep 17 00:00:00 2001 From: kamilsa Date: Wed, 16 Oct 2024 17:06:17 +0500 Subject: [PATCH 2/3] Upgrade libp2p --- cmake/Hunter/config.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Hunter/config.cmake b/cmake/Hunter/config.cmake index 191b562f17..aaff63f6ca 100644 --- a/cmake/Hunter/config.cmake +++ b/cmake/Hunter/config.cmake @@ -112,8 +112,8 @@ hunter_config( hunter_config( libp2p - URL https://github.com/libp2p/cpp-libp2p/archive/a820e24a88170bdcd7e93c821b6b3bd6f5f01a9b.tar.gz - SHA1 3bce83beb222906b390e73956a47fb4820729bce + URL https://github.com/libp2p/cpp-libp2p/archive/c96d45f792fafd6970a7e37ec816b02a9167e2b6.tar.gz + SHA1 884932112bc75996eeecd4a7bbcb932565fe9859 ) hunter_config( From f1c72bbc8a5f663dfe8b2f1a1957f890d4aa8f2a Mon Sep 17 00:00:00 2001 From: kamilsa Date: Wed, 16 Oct 2024 17:12:38 +0500 Subject: [PATCH 3/3] Fix archive type --- cmake/Hunter/config.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Hunter/config.cmake b/cmake/Hunter/config.cmake index aaff63f6ca..228b14f192 100644 --- a/cmake/Hunter/config.cmake +++ b/cmake/Hunter/config.cmake @@ -112,7 +112,7 @@ hunter_config( hunter_config( libp2p - URL https://github.com/libp2p/cpp-libp2p/archive/c96d45f792fafd6970a7e37ec816b02a9167e2b6.tar.gz + URL https://github.com/libp2p/cpp-libp2p/archive/c96d45f792fafd6970a7e37ec816b02a9167e2b6.zip SHA1 884932112bc75996eeecd4a7bbcb932565fe9859 )