Skip to content

Commit 356e226

Browse files
mamolltwill777
authored andcommitted
remove boost.system as a dependency. unused (ompl#1306)
1 parent 191f6fd commit 356e226

File tree

10 files changed

+4
-12
lines changed

10 files changed

+4
-12
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
libboost-filesystem-dev \
4242
libboost-program-options-dev \
4343
libboost-serialization-dev \
44-
libboost-system-dev \
4544
libboost-test-dev \
4645
libeigen3-dev \
4746
libflann-dev \
@@ -58,7 +57,7 @@ jobs:
5857
with:
5958
vcpkgGitCommitId: da4b78d35084ec4e9808aa02017028da03b8d2ab
6059
vcpkgTriplet: 'x64-windows'
61-
vcpkgArguments: 'boost-dynamic-bitset boost-filesystem boost-graph boost-odeint boost-program-options boost-serialization boost-system boost-test eigen3 flann'
60+
vcpkgArguments: 'boost-dynamic-bitset boost-filesystem boost-graph boost-odeint boost-program-options boost-serialization boost-test eigen3 flann'
6261

6362
- name: Build & Test (Linux, macOS)
6463
if: runner.os != 'Windows'

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ set_package_properties(Boost PROPERTIES
4747
URL "https://www.boost.org"
4848
PURPOSE "Used throughout OMPL for data serialization, graphs, etc.")
4949
set(Boost_USE_MULTITHREADED ON)
50-
find_package(Boost 1.68 REQUIRED COMPONENTS serialization filesystem system program_options)
50+
find_package(Boost 1.68 REQUIRED COMPONENTS serialization filesystem program_options)
5151

5252
# on macOS we need to check whether to use libc++ or libstdc++ with clang++
5353
if(CMAKE_CXX_COMPILER_ID MATCHES "^(Apple)?Clang$")

CMakeModules/CPackSettings.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
4545
OUTPUT_VARIABLE UBUNTU_RELEASE
4646
OUTPUT_STRIP_TRAILING_WHITESPACE)
4747
set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}_${PROJECT_VERSION}_${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}-Ubuntu${UBUNTU_RELEASE}")
48-
set(CPACK_DEBIAN_PACKAGE_DEPENDS "python${PYTHON_VERSION}, libboost-serialization-dev, libboost-filesystem-dev, libboost-system-dev, libboost-program-options-dev, libboost-test-dev, libtriangle-dev")
48+
set(CPACK_DEBIAN_PACKAGE_DEPENDS "python${PYTHON_VERSION}, libboost-serialization-dev, libboost-filesystem-dev, libboost-program-options-dev, libboost-test-dev, libtriangle-dev")
4949
endif()
5050

5151
if(WIN32)

CMakeModules/OMPLUtils.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ macro(add_ompl_test test_name)
55
Boost::program_options
66
Boost::serialization
77
Boost::filesystem
8-
Boost::system
98
Boost::unit_test_framework)
109
add_test(NAME ${test_name} COMMAND $<TARGET_FILE:${test_name}>)
1110
endmacro(add_ompl_test)

demos/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ if (OMPL_BUILD_DEMOS)
1212
ompl::ompl
1313
Eigen3::Eigen
1414
Boost::filesystem
15-
Boost::system
1615
Boost::program_options)
1716
endmacro(add_ompl_demo)
1817

install-ompl-ubuntu.sh.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ install_common_dependencies()
2020
libboost-filesystem-dev \
2121
libboost-program-options-dev \
2222
libboost-serialization-dev \
23-
libboost-system-dev \
2423
libboost-test-dev \
2524
libeigen3-dev \
2625
libexpat1 \

omplConfig.cmake.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ set_and_check(OMPL_INCLUDE_DIRS @PACKAGE_INCLUDE_INSTALL_DIR@)
1212

1313
include ("${CMAKE_CURRENT_LIST_DIR}/omplExport.cmake" )
1414
include(CMakeFindDependencyMacro)
15-
set(_@PROJECT_NAME@_boost_components serialization filesystem system)
15+
set(_@PROJECT_NAME@_boost_components serialization filesystem)
1616
find_dependency(Boost REQUIRED COMPONENTS ${_@PROJECT_NAME@_boost_components})
1717
if(Boost_FOUND)
1818
foreach(_comp ${_@PROJECT_NAME@_boost_components})

scripts/docker/ompl.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ RUN apt-get update && \
1313
libboost-program-options-dev \
1414
libboost-python-dev \
1515
libboost-serialization-dev \
16-
libboost-system-dev \
1716
libboost-test-dev \
1817
libeigen3-dev \
1918
libexpat1 \
@@ -58,7 +57,6 @@ RUN apt-get update && \
5857
libboost-program-options-dev \
5958
libboost-python-dev \
6059
libboost-serialization-dev \
61-
libboost-system-dev \
6260
libeigen3-dev \
6361
libflann-dev \
6462
libtriangle-dev \

src/ompl/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ target_link_libraries(ompl
4444
PUBLIC
4545
Boost::filesystem
4646
Boost::serialization
47-
Boost::system
4847
Eigen3::Eigen
4948
"$<$<BOOL:${Threads_FOUND}>:Threads::Threads>"
5049
"$<$<BOOL:${OMPL_HAVE_FLANN}>:flann::flann>"

vcpkg.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"boost-odeint",
88
"boost-program-options",
99
"boost-serialization",
10-
"boost-system",
1110
"boost-test",
1211
"eigen3",
1312
"flann"

0 commit comments

Comments
 (0)