Open user202729 opened 2 days ago
What do you mean by building without installing sagemath using meson?
Actually reading the instruction again, there's no separate install part.
Anyway I could just use ./sage
— can you reproduce the issue i.e. compile cython with sage include header in your computer?
Note that if you also have a globally installed sage (e.g. Arch Linux's SageMath package installs /usr/lib/python3.12/site-packages/sage/algebras/clifford_algebra_element.pxd
) then that one will be found instead.
Steps To Reproduce
I built SageMath using instruction in https://doc-release--sagemath.netlify.app/html/en/installation/meson .
Then run
It raises error saying the pxd file is not found.
Additional Information
The cause is
→
cython()
compilation will always callsage_include_directories
withuse_sources=False
, even if the pxd files are not copied to installation directory by meson.Environment
Checklist