On 13.02.22 09:30, Andres Freund wrote:
BTW, docs can be built in parallel, and CI is using BUILD_JOBS: 4.
/usr/bin/xmllint --path . --noout --valid postgres.sgml
/usr/bin/xmllint --path . --noout --valid postgres.sgml
/usr/bin/xsltproc --path . --stringparam pg.version '15devel'  stylesheet.xsl 
postgres.sgml
/usr/bin/xsltproc --path . --stringparam pg.version '15devel'  
stylesheet-man.xsl postgres.sgml
Sure, it just doesn't make a difference:

make -j48 -C doc/src/sgml/ maintainer-clean && time make -j48 -C doc/src/sgml/
real    0m34.626s
user    0m34.342s
sys     0m0.298s

make -j48 -C doc/src/sgml/ maintainer-clean && time make -C doc/src/sgml/

real    0m34.780s
user    0m34.494s
sys     0m0.285s

Note that the default target in doc/src/sgml/ is "html", not "all". If you build "all", you build "html" plus "man", which can be run in parallel. (It's only two jobs, of course.) If you're more ambitious, you could also run the PDF builds.



Reply via email to