Use source build of gflags #17831
Labels
component: build system
Bazel, CMake, dependencies, memory checkers, linters
priority: low
type: cleanup
Edit: Original issue title was [wheel] Use host OS build of gflags.
In our regular builds, we obtain gflags from the host operating system:
For some reason, in the wheel builds we recompile it from sources:
drake/tools/wheel/image/dependencies/projects.cmake
Lines 72 to 77 in 8dff9ef
None of pydrake depends on gflags, so should be no problem with needing a pic-static gflags or anything along those lines.
Using two different builds hazards possible build shear or unexpected bugs, and rebuilding gflags from source wastes time.
We should drop gflags from the wheel list of projects to rebuild, and instead just brew- or apt-install the host OS version.
(Relates tangentially to the #17231 project to unify our dependency infrastructure.)
The text was updated successfully, but these errors were encountered: