RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.16k stars 1.24k forks source link

[multibody] Use per-scalar translation units #21605

Open jwnimmer-tri opened 1 week ago

jwnimmer-tri commented 1 week ago

This reduces long-pole build times for the large multibody files. For example, a change to multibody_plant.cc and re-run all of the plant tests now has a 39s latency for me, instead of 58s.

Another upside is that you get syntax errors for the T=double instantiation more quickly, so you can immediately start fixing them.

Towards making #21623 local development less annoying, and therefore towards #20545.


This change is Reviewable