Thanks! My first remark is that it would be nice to have this in the 
documentation. The second point is that a classic build takes a while 
building sagelib. Is there a way to avoid this building and then perform a 
meson build of sagelib?
Following your instructions in a classical build I did a meson build of 
sagelib (though I forgot the install part). I uninstalled sirocco and 
sagemath_sirocco, and fundamental groups did not work. Applying ./configure 
--enable-sirocco and make sirocco, the computations worked!
Thanks, Enrique.

El viernes, 15 de agosto de 2025 a las 20:07:05 UTC+2, dim...@gmail.com 
escribió:

If you already done a classic build, then you don't need uv to do a meson 
build of sagelib.
Just start

./sage --buildsh

followed by meson commands as specified in the manual. Say, to have the 
meson builddir  cp3, do

  meson setup cp3

and then follow the meson commands in the manual 
(meson compile, etc)

At the end your ./sage will be switched to using the meson-built sagelib, 
which you can test and use as usual.



On August 15, 2025 9:49:22 AM EDT, "enriqu...@gmail.com" <
enriqu...@gmail.com> wrote:

In order to check https://github.com/sagemath/sage/pull/40555 I am trying 
to build sage with meson. I try to follow the instructions for 10.7 but I 
find some issues. I would appreciate some help that eventually may lead to 
improve the documentation. 
Before starting, if one copies the instructions in html, it is OK when in 
the rst the instruction
is written in the file but $ is typed when it is an instruction 
following .. literalinclude

I use the instructions for "Using system package manager". There is a 
warning after " uv pip install": 
warning: Failed to hardlink files; falling back to full copy. This may lead 
to degraded performance. 
        If the cache and target directories are on different filesystems, 
hardlinking may not be supported. 
        If this is intentional, set `export UV_LINK_MODE=copy` or use 
`--link-mode=copy` to suppress this warning.
I do not know  if this important. By the way should "--editable" should be 
added here of somewhere.
For "uv sync --frozen --inexact --no-build-isolation" I get the error in 
the attached file.

Thanks for reading. Enrique.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/b96e11c4-0a21-4ee7-91e0-fa463a8548cfn%40googlegroups.com.

Reply via email to