google-deepmind / tree

tree is a library for working with nested data structures
https://tree.readthedocs.io
Apache License 2.0
933 stars 57 forks source link

Allow build with distro libraries #118

Open papoteur-mga opened 4 months ago

papoteur-mga commented 4 months ago

Building dm-tree from source needs to download at build time pybind11. However, distros prohibit any download at build time, thus the build fails. The build does not use the library provided by the distro. Probably abseil-cpp is in the same case. Could the cmake configuration check if these libraries are already installed and uses them in that case?

BwL1289 commented 2 weeks ago

Experiencing the same. Need to be able to use our system libraries. There's an open PR #73 for years to fix this.