Skip to content

Commit

Permalink
Update boost, rocksdb, spdlog (#139)
Browse files Browse the repository at this point in the history
* Update boost to 1.85

Signed-off-by: kamilsa <[email protected]>

* Update rocksdb to 9.2.1

Signed-off-by: kamilsa <[email protected]>

* Update spdlog

---------

Signed-off-by: kamilsa <[email protected]>
Co-authored-by: Harrm <[email protected]>
  • Loading branch information
kamilsa and Harrm authored Jun 5, 2024
1 parent 983dde0 commit b1bc7f1
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 5 deletions.
6 changes: 3 additions & 3 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.84.0)
hunter_default_version(Boost VERSION 1.85.0)
endif()

hunter_default_version(Boost.DI VERSION 1.1.0-p1)
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 9.0.0)
hunter_default_version(rocksdb VERSION 9.2.1)
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 Expand Up @@ -494,7 +494,7 @@ if(MSVC_VERSION LESS 1800)
# for VS12 - version without support C++11
hunter_default_version(spdlog VERSION 1.0.0-p0)
else()
hunter_default_version(spdlog VERSION 1.4.2-p0)
hunter_default_version(spdlog VERSION 1.12.0-p0)
endif()

hunter_default_version(spirv-cross VERSION 20190906)
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 @@ -214,6 +214,17 @@ hunter_add_version(
d55f2e1ca02f99a8a91d334efc480384f3e3dfdd
)

hunter_add_version(
PACKAGE_NAME
Boost
VERSION
"1.85.0"
URL
"https://boostorg.jfrog.io/artifactory/main/release/1.85.0/source/boost_1_85_0.tar.gz"
SHA1
509db0247aebdc15e835303ec9628b8493bc2449
)

# up until 1.63 sourcefourge was used
set(_hunter_boost_base_url "https://downloads.sourceforge.net/project/boost/boost/")
hunter_add_version(
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 @@ -49,6 +49,13 @@ hunter_add_version(
SHA1 "82d6749a1fa1d638d4dba9c884ea9c2c48a49d3a"
)

hunter_add_version(
PACKAGE_NAME rocksdb
VERSION 9.2.1
URL "https://github.com/facebook/rocksdb/archive/refs/tags/v9.2.1.tar.gz"
SHA1 "9d45e554161d569354382f05391b65576b662e5a"
)


if(MSVC)
hunter_cmake_args(rocksdb CMAKE_ARGS
Expand Down
33 changes: 31 additions & 2 deletions cmake/projects/spdlog/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,35 @@ hunter_add_version(
5dd633311d1aec79404d6694b452745b80f1a7d1
)

hunter_add_version(
PACKAGE_NAME
spdlog
VERSION
"1.8.0-p1"
URL
"https://github.com/cpp-pm/spdlog/archive/v1.8.0-p1.tar.gz"
SHA1
3bfb2352482e6190c377f121b1f760dad767b58d
)

hunter_add_version(
PACKAGE_NAME spdlog
VERSION "1.9.2-p0"
URL "https://github.com/cpp-pm/spdlog/archive/v1.9.2-p0.tar.gz"
SHA1 f3219fb548667857f95d20714a2c85a4ae41049b
)

hunter_add_version(
PACKAGE_NAME
spdlog
VERSION
"1.12.0-p0"
URL
"https://github.com/cpp-pm/spdlog/archive/v1.12.0-p0.tar.gz"
SHA1
ed377f84e2c14e8532ee85aa55656852bf29cc43
)

hunter_cmake_args(
spdlog
CMAKE_ARGS
Expand All @@ -128,9 +157,9 @@ hunter_cmake_args(
SPDLOG_BUILD_TESTING=OFF
SPDLOG_BUILD_TESTS=OFF
SPDLOG_BUILD_BENCH=OFF
SPDLOG_FMT_EXTERNAL=NO
SPDLOG_FMT_EXTERNAL=ON
)

hunter_pick_scheme(DEFAULT url_sha1_cmake)
hunter_cacheable(spdlog)
hunter_download(PACKAGE_NAME spdlog)
hunter_download(PACKAGE_NAME spdlog)

0 comments on commit b1bc7f1

Please sign in to comment.