On Wed, Oct 1, 2025 at 1:57 PM Volker Braun <[email protected]> wrote:
> For the record, its called boost_cropped because its only a relatively > small part of boost that is needed by Sage. > OK. But it contains exactly the headers. If you were to install boost in its own special prefix you would see subdirectories lib, include, and share. The spkg contains exactly the contents of include, which consists of a single subdirectory boost containing all of the headers. Given that the spkg contains exactly the headers, it would be much more informative to name it boost_headers instead of boost_cropped, which suggests that someone has carefully curated a subset of boost which is designed specifically to meet Sage's needs. In fact, I think sage only needs *include**/boost/graph* and i*nclude/boost/tuple*, but all of the headers are included. When I installed boost in a prefix named *boost* on macOS 26 the sizes I got were: 179M boost/include 25M boost/lib 652K boost/share - Marc > The upstream boost tarball is ~200MB and a full install can be over 10 GB > if all libraries are built. Its quite a big project by itself. > > On Tuesday, September 30, 2025 at 9:58:30 PM UTC+2 [email protected] > wrote: > >> On Tuesday, September 30, 2025 at 11:20:03 AM UTC-5 Dima Pasechnik wrote: >> >> the boost_cropped is a header-only thing. >> >> >> What this means, as I learned by inspecting the spkg closely, is that >> the spkg tarball simply contains the include/boost directory which is >> created when you install boost. Why that package is named boost_cropped >> instead of boost_headers is beyond me. >> >> But the main point here is that the current boost spkg contains a version >> of boost which appears not to be compatible with clang 17.0.0. So >> building sagelib with Sage's boost package fails if you are using clang >> 17.0.0. It is pretty trivial to upgrade the boost_cropped package to the >> current version of boost. So that would be the obvious solution to this >> problem. >> >> - Marc >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "sage-release" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sage-release/6hW5ZBQj_Uc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/sage-release/0684585b-d978-4635-9098-801728573094n%40googlegroups.com > <https://groups.google.com/d/msgid/sage-release/0684585b-d978-4635-9098-801728573094n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/sage-release/CALcZXRG_siMp4nnJ7VykiVT%2BYxcVJODno8MmJ9BwHtb0MscjYQ%40mail.gmail.com.
