Skip to content

Combine pybind11 modules into one#743

Merged
sloretz merged 4 commits intomasterfrom
combine_pybind11_modules
Mar 31, 2021
Merged

Combine pybind11 modules into one#743
sloretz merged 4 commits intomasterfrom
combine_pybind11_modules

Conversation

@sloretz
Copy link
Copy Markdown
Contributor

@sloretz sloretz commented Mar 30, 2021

Part of #665

This is a step towards getting rid of the C code in rclpy_common. There was trouble on Windows debug before when trying to put code that used pybind11 into rclpy_common that led to removing it in #727. We don't need to figure that out if all the code is in the same shared library, so this PR moves all the pybind11 code into a single shared library.

This has an added benefit of reducing the code size from 4.8 MB to 2.8 MB.

sloretz added 4 commits March 30, 2021 16:32
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
@sloretz
Copy link
Copy Markdown
Contributor Author

sloretz commented Mar 30, 2021

CI (build: --packages-above-and-dependencies rclpy test: --packages-above rclpy)

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status
  • Windows Debug Build Status

@sloretz sloretz self-assigned this Mar 30, 2021
@sloretz sloretz mentioned this pull request Mar 30, 2021
34 tasks
@sloretz
Copy link
Copy Markdown
Contributor Author

sloretz commented Mar 31, 2021

And one more CI just to rclpy to see if the warnings above are all unrelated and downstream (build: --packages-up-to rclpy test: --packages-select rclpy)

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status
    • Windows Debug Build Status

@sloretz
Copy link
Copy Markdown
Contributor Author

sloretz commented Mar 31, 2021

CI LGTM, windows warning is in cyclonedds

@sloretz sloretz merged commit 02ee918 into master Mar 31, 2021
@delete-merged-branch delete-merged-branch bot deleted the combine_pybind11_modules branch March 31, 2021 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants