Skip to content

More pybind11 compilation memory savings#373

Merged
scpeters merged 5 commits intogazebosim:ign-math6from
scpeters:pybind_translation_units
Feb 3, 2022
Merged

More pybind11 compilation memory savings#373
scpeters merged 5 commits intogazebosim:ign-math6from
scpeters:pybind_translation_units

Conversation

@scpeters
Copy link
Copy Markdown
Member

@scpeters scpeters commented Feb 3, 2022

🦟 Bug fix

Follow-up to #371

Summary

This continues moving template instantiations from _ignition_math_pybind11.cc to a separate translation unit for templates in each of the following header files:

  • Filter.hh
  • Line2.hh
  • Line3.hh
  • MovingWindowFilter.hh
  • Vector3.hh
  • Vector4.hh

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@github-actions github-actions bot added Gazebo 1️1️ Dependency of Gazebo classic version 11 🏢 edifice Ignition Edifice 🏯 fortress Ignition Fortress 🏰 citadel Ignition Citadel labels Feb 3, 2022
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 3, 2022

Codecov Report

Merging #373 (ca1321d) into ign-math6 (3d0b05c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           ign-math6     #373   +/-   ##
==========================================
  Coverage      99.65%   99.65%           
==========================================
  Files             67       67           
  Lines           6380     6380           
==========================================
  Hits            6358     6358           
  Misses            22       22           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3d0b05c...ca1321d. Read the comment docs.

@scpeters scpeters merged commit 3c8a8fa into gazebosim:ign-math6 Feb 3, 2022
@scpeters scpeters deleted the pybind_translation_units branch February 3, 2022 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏰 citadel Ignition Citadel 🏢 edifice Ignition Edifice 🏯 fortress Ignition Fortress Gazebo 1️1️ Dependency of Gazebo classic version 11

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants