Skip to content

Commit

Permalink
Update boost, gtest, protobuf, rocksdb (#130)
Browse files Browse the repository at this point in the history
Signed-off-by: kamilsa <kamilsa16@gmail.com>
  • Loading branch information
kamilsa authored Apr 9, 2024
1 parent e190ac2 commit 96f8e40
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if(MINGW)
# https://github.com/boostorg/build/issues/301
hunter_default_version(Boost VERSION 1.64.0)
else()
hunter_default_version(Boost VERSION 1.83.0)
hunter_default_version(Boost VERSION 1.84.0)
endif()

hunter_default_version(Boost.DI VERSION 1.1.0)
Expand Down Expand Up @@ -71,7 +71,7 @@ hunter_default_version(GSL VERSION 2.1.0-p2)
if(MSVC80)
hunter_default_version(GTest VERSION 1.7.0-hunter-6)
else()
hunter_default_version(GTest VERSION 1.13.0)
hunter_default_version(GTest VERSION 1.14.0)
endif()

hunter_default_version(HalideIR VERSION 0.0-32057b5-p0)
Expand Down Expand Up @@ -118,7 +118,7 @@ hunter_default_version(PROJ4 VERSION 5.0.0)
hunter_default_version(PhysUnits VERSION 1.1.0-p0)
hunter_default_version(PocoCpp VERSION 1.10.1-p0)
hunter_default_version(PostgreSQL VERSION 10.0.0)
hunter_default_version(Protobuf VERSION 3.11.2-p0)
hunter_default_version(Protobuf VERSION 3.19.4-p0)

string(COMPARE EQUAL "${CMAKE_SYSTEM_NAME}" "Linux" _is_linux)
if(_is_linux OR MINGW)
Expand Down Expand Up @@ -456,7 +456,7 @@ hunter_default_version(re2 VERSION 2017.11.01-p0)
hunter_default_version(readline VERSION 6.3)
hunter_default_version(recastnavigation VERSION 1.4-p0)
hunter_default_version(renderproto VERSION 0.11.1)
hunter_default_version(rocksdb VERSION 8.0.0)
hunter_default_version(rocksdb VERSION 9.0.0)
hunter_default_version(ros VERSION 1.14.6-p0)
hunter_default_version(ros_comm VERSION 1.14.3-p1)
hunter_default_version(ros_comm_msgs VERSION 1.11.2-p0)
Expand Down
11 changes: 11 additions & 0 deletions cmake/projects/Boost/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,17 @@ hunter_add_version(
eb5e17350b5ccd5926fd6bad9f09385c742a3352
)

hunter_add_version(
PACKAGE_NAME
Boost
VERSION
"1.84.0"
URL
"https://boostorg.jfrog.io/artifactory/main/release/1.84.0/source/boost_1_84_0.tar.gz"
SHA1
d55f2e1ca02f99a8a91d334efc480384f3e3dfdd
)

# up until 1.63 sourcefourge was used
set(_hunter_boost_base_url "https://downloads.sourceforge.net/project/boost/boost/")
hunter_add_version(
Expand Down
11 changes: 11 additions & 0 deletions cmake/projects/GTest/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,17 @@ hunter_add_version(
bfa4b5131b6eaac06962c251742c96aab3f7aa78
)

hunter_add_version(
PACKAGE_NAME
GTest
VERSION
"1.14.0"
URL
"https://github.com/google/googletest/archive/v1.14.0.tar.gz"
SHA1
2b28c2a3a30d86b1759543ef61fac3c4d69f8c4c
)

if(HUNTER_GTest_VERSION VERSION_LESS 1.8.0 OR HUNTER_GTest_VERSION VERSION_GREATER_EQUAL 1.11.0)
set(_gtest_license "LICENSE")
else()
Expand Down
11 changes: 11 additions & 0 deletions cmake/projects/Protobuf/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,17 @@ hunter_add_version(
490beb456fb6934bd4d9f6012c601f6724c2f757
)

hunter_add_version(
PACKAGE_NAME
Protobuf
VERSION
"3.19.4-p0"
URL
"https://github.com/cpp-pm/protobuf/archive/refs/tags/v3.19.4-p0.tar.gz"
SHA1
e5b797dbc4e6ad92d0924ae86c130be4354c35b6
)

string(
COMPARE EQUAL "${CMAKE_SYSTEM_NAME}" "WindowsStore" _hunter_windows_store
)
Expand Down
7 changes: 7 additions & 0 deletions cmake/projects/rocksdb/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ hunter_add_version(
SHA1 "596e6ce7f14b5fa81b1df04339e173282bb83307"
)

hunter_add_version(
PACKAGE_NAME rocksdb
VERSION 9.0.0
URL "https://github.com/facebook/rocksdb/archive/refs/tags/v9.0.0.tar.gz"
SHA1 "82d6749a1fa1d638d4dba9c884ea9c2c48a49d3a"
)


if(MSVC)
hunter_cmake_args(rocksdb CMAKE_ARGS
Expand Down

0 comments on commit 96f8e40

Please sign in to comment.