On Sun, Sep 28, 2025 at 10:32 PM Marc Culler <[email protected]> wrote:
>
> On Sunday, September 28, 2025 at 9:30:58 PM UTC-5 Dima Pasechnik wrote:
>
> Moving it [boost] to external dependencies, which would allow a great
> flexibility as far as versions go,
> seems to be the only feasible way out.
>
>
> Boost is 200MB, and only a small part of it is used by sagelib.  As you know 
> Sage_macOS is self-contained and cannot assume that any given package will 
> exist on the target system.  So it was a helpful feature to have a boost spkg 
> that only contained the part of boost that Sage needs.

You don't need to ship boost's libraries in the app. And if you don't
allow running cython in it, you don't need any boost shipped. It's
then
a build-only dependency. Full boost headers are indeed almost 200Mb,
but compressed they are ~15Mb.

>
> Do you have an OpenMP library installed ?
>
>
> No, and I did not need one to build Sage 9.2 - 10.7.

Then there is nothing to worry about here, no?

>
>
> > [spkg-install] Run-time dependency mtx found: NO (tried pkgconfig, 
> > framework and cmake)
> since https://github.com/sagemath/sage/pull/40673 mtx should be
> discoverable via pkg-config.
>
>
> Well, libmtx had been built and a libmtx.pc file was created in my 
> sage/local/lib/pkgconfig directory.
> When I set PKG_CONFIG_PATH to my sage/local/lib/pkconfig directory it seemed 
> somewhat
> happier.  It said:
>
> [spkg-install] Run-time dependency mtx found: NO (tried pkgconfig, framework 
> and cmake)
> [spkg-install] Has header "meataxe.h" : YES
> [spkg-install] Library mtx found: YES
>
> So that is two YES's and one NO.  Does that mean that it discovered libmtx?

yes, the last YES/NO is the final result. It tries this and that...
But, indeed, as an optional package it might have been neglected.
It's strange to see NO (tried pkgconfig), I'd expect YES.

Thanks for pointing this out, we'll have a look:
https://github.com/sagemath/sage/issues/40910

(But in the end mtx is found, without any manual interventions to
PKG_CONFIG_PATH.)

Also, note that meson loves to cache configurations, so it's sometimes
needed to "make sagelib-clean" to tell it
to forget everything and try again.

HTH,
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/e07010ab-84e4-45a8-93da-1717d5ef2712n%40googlegroups.com.

-- 
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/CAAWYfq01zrsqEaEWVYHNi_%2BHmxRzaVA%2BDx6j925XeojgtsT5Hg%40mail.gmail.com.

Reply via email to