phytec / doc-bsp-yocto

Yocto BSP Documentation
https://phytec.github.io/doc-bsp-yocto/
1 stars 1 forks source link

Build optimizations #147

Closed ymoog closed 9 months ago

ymoog commented 9 months ago
  1. Sphinx doc section of theLatex builder highlights the ability to silence the build:

    make latexpdf LATEXMKOPTS="-silent"

    I find the latex log output quite annoying and it is A LOT of output. and to pass specific latex options.

  2. In addition, we might be able to parallelize the pdf build to speed it up? Although I am not sure if this is possible.

  3. Use -j to speed up build targets

jonas-rem commented 9 months ago

Good point! We can let sphinx create only the latex files, but not compile them. Once the latex files exist, we can build them in parallel with make. I can open a PR.

ymoog commented 9 months ago

Do you also want to use the --jobs auto option for sphinx-build?