On Tuesday, August 20, 2024 at 5:42:42 PM UTC-7 John H Palmieri wrote:

I just built Sage on an OS X machine with a bunch of homebrew packages 
installed. It took under 20 minutes to build everything except the 
documentation, while the file sagemath_doc_html-none.time says real 24m20.264s 
[...] with "SAGE_DOCBUILD_OPTS=' --no-plot'". If the documentation is 
taking longer than everything else combined, maybe we should consider 
distributing all of the documentation pre-built as a tarball [...]


This should be possible with https://github.com/sagemath/sage/pull/36730
 

Packages that are necessary to build the documentation could be "optional," 
or there could be a new type for them.


Effectively we already have that -- "configure --disable-doc" disables the 
standard packages that are only needed by the docbuild.
 

The standard "make" would use the pre-built tarball, while another "make" 
target could build the documentation from scratch. This could make the 
build process faster with fewer associated standard packages.


Good idea. Bonus points for making incremental builds starting from the 
prepackaged documentation fast. (This is the tricky bit.)

-- 
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 on the web visit 
https://groups.google.com/d/msgid/sage-devel/591759db-fa6b-4a14-bbe7-d05854e60721n%40googlegroups.com.

Reply via email to