Skip to content

Commit bd2a961

Browse files
authored
Update Dependencies (#209)
* Update dependencies - Bump Abseil from 20250512.1 to 20260107.0 - Bump Catch2 from v3.8.1 to v3.12.0 - Bump Eigen from 3.4.0 to 5.0.1 - Bump JSON from v3.11.2 to v3.12.0 - Bump libigl from 89267b4a80b1904de3f6f2812a2053e5e9332b7e to v2.6.0 - Bump TBB from v2022.1.0 to v2022.3.0 - Bump Pybind11 from v2.13.1 to v3.0.1 - Bump robin-map from v1.4.0 to v1.4.1 - Bump spdlog from v1.15.3 to v1.17.0 - Update dependencies.rst with xsimd * Update docs/source/about/dependencies.rst
1 parent a3f6d7d commit bd2a961

File tree

13 files changed

+211
-169
lines changed

13 files changed

+211
-169
lines changed

CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,6 @@ if(IPC_TOOLKIT_WITH_SIMD)
266266
# Link against cross-platform xsimd library
267267
include(xsimd)
268268
target_link_libraries(ipc_toolkit PRIVATE xsimd::xsimd)
269-
270-
# Disable vectorization in Eigen since I've found it to have alignment issues.
271-
target_compile_definitions(Eigen3_Eigen INTERFACE EIGEN_DONT_VECTORIZE=1)
272269
endif()
273270

274271
# For MSVC, do not use the min and max macros.

cmake/recipes/abseil.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ option(ABSL_BUILD_TESTING "If ON, Abseil will build all of Abseil's own tests."
1212
set(ABSL_IDE_FOLDER "ThirdParty/Abseil")
1313

1414
include(CPM)
15-
CPMAddPackage("gh:abseil/abseil-cpp#20250512.1")
15+
CPMAddPackage("gh:abseil/abseil-cpp#d407ef122a08203648451e0fec77b3f868b71112") # Abseil LTS 20260107.0

cmake/recipes/catch2.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ option(CATCH_INSTALL_DOCS "Install documentation alongside library" OFF)
1111
option(CATCH_INSTALL_EXTRAS "Install extras alongside library" OFF)
1212

1313
include(CPM)
14-
CPMAddPackage("gh:catchorg/Catch2@3.8.1")
14+
CPMAddPackage("gh:catchorg/Catch2@3.12.0")
1515

1616
# Folder name for IDE
1717
set_target_properties(Catch2 PROPERTIES FOLDER "ThirdParty/Catch2")

cmake/recipes/eigen.cmake

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ endif()
66

77
option(EIGEN_WITH_MKL "Use Eigen with MKL" OFF)
88
option(EIGEN_DONT_VECTORIZE "Disable Eigen vectorization" OFF)
9-
option(EIGEN_MPL2_ONLY "Enable Eigen MPL2 license only" OFF)
109

1110
message(STATUS "Third-party: creating target 'Eigen3::Eigen'")
1211

1312
include(CPM)
1413
CPMAddPackage(
1514
NAME eigen
1615
GITLAB_REPOSITORY libeigen/eigen
17-
GIT_TAG 3.4.0
16+
GIT_TAG 5.0.1
1817
DOWNLOAD_ONLY YES
1918
)
2019

@@ -27,12 +26,10 @@ target_include_directories(Eigen3_Eigen SYSTEM INTERFACE
2726
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
2827
)
2928

30-
if(EIGEN_MPL2_ONLY)
31-
target_compile_definitions(Eigen3_Eigen INTERFACE EIGEN_MPL2_ONLY)
32-
endif()
29+
if(EIGEN_DONT_VECTORIZE OR IPC_TOOLKIT_WITH_SIMD)
3330

34-
if(EIGEN_DONT_VECTORIZE)
35-
target_compile_definitions(Eigen3_Eigen INTERFACE EIGEN_DONT_VECTORIZE)
31+
# Disable vectorization in Eigen since I've found it to have alignment issues.
32+
target_compile_definitions(Eigen3_Eigen INTERFACE EIGEN_DONT_VECTORIZE=1)
3633
endif()
3734

3835
if(EIGEN_WITH_MKL)

cmake/recipes/json.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ endif()
77
message(STATUS "Third-party: creating target 'nlohmann_json::nlohmann_json'")
88

99
# nlohmann_json is a big repo for a single header, so we just download the release archive
10-
set(NLOHMANNJSON_VERSION "v3.11.2")
10+
set(NLOHMANNJSON_VERSION "v3.12.0")
1111

1212
include(CPM)
1313
CPMAddPackage(
1414
NAME nlohmann_json
1515
URL "https://github.com/nlohmann/json/releases/download/${NLOHMANNJSON_VERSION}/include.zip"
16-
URL_HASH SHA256=e5c7a9f49a16814be27e4ed0ee900ecd0092bfb7dbfca65b5a421b774dccaaed
16+
URL_HASH SHA256=b8cb0ef2dd7f57f18933997c9934bb1fa962594f701cd5a8d3c2c80541559372
1717
DOWNLOAD_ONLY YES
1818
)
1919

cmake/recipes/libigl.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ include(eigen)
1010

1111
include(CPM)
1212
CPMAddPackage(
13-
URI "gh:libigl/libigl#89267b4a80b1904de3f6f2812a2053e5e9332b7e"
13+
URI "gh:libigl/libigl@2.6.0"
1414
OPTIONS "LIBIGL_PREDICATES ON"
1515
)
1616

cmake/recipes/onetbb.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function(onetbb_import_target)
5353

5454
set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME tbb)
5555
include(CPM)
56-
CPMAddPackage("gh:uxlfoundation/oneTBB@2022.1.0")
56+
CPMAddPackage("gh:uxlfoundation/oneTBB@2022.3.0")
5757

5858
pop_variable(BUILD_SHARED_LIBS)
5959
endfunction()

cmake/recipes/pybind11.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ if (NOT DEFINED Python_FIND_FRAMEWORK)
2020
endif ()
2121

2222
include(CPM)
23-
CPMAddPackage("gh:pybind/pybind11@2.13.1")
23+
CPMAddPackage("gh:pybind/pybind11@3.0.1")

cmake/recipes/robin_map.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ endif()
77
message(STATUS "Third-party: creating target 'tsl::robin_map'")
88

99
include(CPM)
10-
CPMAddPackage("gh:Tessil/[email protected].0")
10+
CPMAddPackage("gh:Tessil/[email protected].1")

cmake/recipes/spdlog.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ option(SPDLOG_INSTALL "Generate the install target" ON)
1010
set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "spdlog")
1111

1212
include(CPM)
13-
CPMAddPackage("gh:gabime/spdlog@1.15.3")
13+
CPMAddPackage("gh:gabime/spdlog@1.17.0")
1414

1515
set_target_properties(spdlog PROPERTIES POSITION_INDEPENDENT_CODE ON)
1616

0 commit comments

Comments
 (0)