On Wed, Oct 1, 2025 at 2:17 PM Marc Culler <[email protected]> wrote:
> 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. > Well, as I mentioned, no matter how you call it, it has to go away and be replaced by an external one. Nothing prevents you from copying whatever headers you want to place in your macOS app, but we cannot vendor even a subset of boost headers any more, because different systems need different boost versions (thanks goodness, our spkg system is not that advanced :-)) Dima > > 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 > <https://groups.google.com/d/msgid/sage-release/CALcZXRG_siMp4nnJ7VykiVT%2BYxcVJODno8MmJ9BwHtb0MscjYQ%40mail.gmail.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/CAAWYfq0%3DA-A468F2ZvrUG%3Dh03DcZkHFS7FLi%2BRHPHF8_GkA1Jw%40mail.gmail.com.
