Skip to content

Commit

Permalink
Parallelize constraint group solving
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Jun 26, 2024
1 parent bfe2fb5 commit 5b107a9
Show file tree
Hide file tree
Showing 12 changed files with 549 additions and 283 deletions.
3 changes: 3 additions & 0 deletions cmake/DARTFindDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ else()
)
endif()

# Taskflow
dart_find_package(Taskflow)

#=======================
# Optional dependencies
#=======================
Expand Down
9 changes: 9 additions & 0 deletions cmake/DARTFindTaskflow.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2011-2024, The DART development contributors
# All rights reserved.
#
# The list of contributors can be found at:
# https://github.com/dartsim/dart/blob/main/LICENSE
#
# This file is provided under the "BSD-style" License

find_package(Taskflow)
3 changes: 2 additions & 1 deletion dart/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ target_link_libraries(dart
Eigen3::Eigen
fcl
assimp
Taskflow::Taskflow
)
if(TARGET fmt::fmt-header-only)
target_link_libraries(dart PUBLIC fmt::fmt-header-only)
Expand Down Expand Up @@ -213,7 +214,7 @@ endif()
add_component_targets(${PROJECT_NAME} dart dart)
add_component_dependencies(${PROJECT_NAME} dart external-odelcpsolver)
add_component_dependency_packages(${PROJECT_NAME} dart
assimp Eigen3 fcl fmt
assimp Eigen3 fcl fmt Taskflow
)
if(TARGET octomap)
add_component_dependency_packages(${PROJECT_NAME} dart octomap)
Expand Down
Loading

0 comments on commit 5b107a9

Please sign in to comment.