It's true that some rebuilds (which need full regeneration of ninja's build file) are at the moment painfully slow, due to rather careless specification of dependencies between Sage docs (it's "everything depends on everything" (?) which is a rather poor way to put it). Rebuilds which don't touch sage-distro are quite fast, in fact, and mostly automatic, just restarting Sage.
It's an urgent TODO item, yes. On October 16, 2025 9:03:43 PM CDT, Kwankyu Lee <[email protected]> wrote: >Hi, > >Executing "make" with no changes takes > >... >Sage build/upgrade complete! >real 0m8.703s >user 0m4.959s >sys 0m2.084s > >as of sage 10.7, on my machine. It takes less than a minute. > >With sage 10.8.beta7 and no changes, "make" > >[sagelib-10.8.beta7] [spkg-install] + meson setup --reconfigure >/Users/kwankyu/GitHub/sage-dev >/Users/kwankyu/GitHub/sage-dev/build/sage-distro -Dbuildtype=release >-Db_ndebug=if-release -Db_vscrt=md --default-library=static >-DSAGE_LOCAL=/Users/kwankyu/GitHub/sage-dev/local >--native-file=/Users/kwankyu/GitHub/sage-dev/build/sage-distro/meson-python-native-file.ini >... >[sagelib-10.8.beta7] [spkg-install] Successfully installed sagemath-10.8b7 >[sagelib-10.8.beta7] [spkg-install] [InstallKernelSpec] Removing existing >kernelspec in /Users/kwankyu/Library/Jupyter/kernels/sagemath >[sagelib-10.8.beta7] [spkg-install] [InstallKernelSpec] Installed >kernelspec sagemath in /Users/kwankyu/Library/Jupyter/kernels/sagemath >[sagelib-10.8.beta7] Moving package files from temporary location >/Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/sagelib-10.8.beta7/inst > >to /Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.13 >[sagelib-10.8.beta7] Deleting build directory >/Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/sagelib-10.8.beta7 >[sagelib-10.8.beta7] Finished installing sagelib-10.8.beta7 >[sagelib-10.8.beta7] real 2m3.801s user 2m0.759s sys 0m2.060s >Sage build/upgrade complete! >real 2m4.234s user 2m1.066s sys 0m2.134s > >takes more than 2 minutes. Hence with trivial changes to sagelib, >rebuilding always takes at least that amount of time. This is painful. > >Is this best possible with meson build? > >-- >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 [email protected]. >To view this discussion visit >https://groups.google.com/d/msgid/sage-devel/3eeee31b-5670-4417-be96-60d32f0c8a1bn%40googlegroups.com. -- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/sage-devel/34F5638F-BE94-451E-8486-B7A7E5269F51%40gmail.com.
