On Mon, Sep 29, 2025 at 8:42 AM Marc Culler <[email protected]> wrote:
> On Sun, Sep 28, 2025 at 11:30 PM Dima Pasechnik <[email protected]> wrote: > >> You don't need to ship boost's libraries in the app. > > > Why not? That would imply that sage does not use any boost libraries. Is > that really the case? Sage only uses the headers? > the boost_cropped is a header-only thing. > The meson error message complained about missing boost graphs. There is a > shared library libboost_graph.dylib as well as a large directory > include/boost/graph. Are you sure that only the headers are needed? I > would be surprised to learn that sagelib is statically linked against > libboost_graph.a. > in the meson build a standard test for boost is used. As it passes (on the systems we normally test on --- YMMV) with the header-only boost_cropped, it does not check any libraries, only the headers. > > And if you don't allow running cython in it, you don't need any boost >> shipped. > > > Currently the app supports %cython. But I don't understand how boost is > related to cython. Can you explain? > If you use C++ as a Cython backend then you can, potentially, use anything available to the C++ compiler, e.g. boost headers. E.g. if you try to interactively re-do what's done in src/sage/graphs/base/boost_graph.pyx you might hit the snag if boost headers are not there. (I could not imagine a non-C++ guru trying this, though) But perhaps C++ in %cython isn't even possible. If so, this is a non-issue. It's not documented, as far as I can see, Dima > > - Marc > > -- > 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/CALcZXRHyB%2BKPuQcdMj%3D7-QEdxsBOUp%3DCB3XmGMa8bJLhKsJGiQ%40mail.gmail.com > <https://groups.google.com/d/msgid/sage-release/CALcZXRHyB%2BKPuQcdMj%3D7-QEdxsBOUp%3DCB3XmGMa8bJLhKsJGiQ%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/CAAWYfq0dDwtd-7XPJULTaGfPhfjJzohkBtg%3DTkAxrfwewLjucA%40mail.gmail.com.
