[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Build docs single thread first time
From: |
David Kastrup |
Subject: |
Re: Build docs single thread first time |
Date: |
Mon, 09 Mar 2020 20:41:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Francisco Vila <address@hidden> writes:
> Sorry if it's in CG already, I could be wrong, but Doc build is not
> multi-thread safe, first time at least. It uses files generated by the
> build process itself.
>
> Right?
I tend to do
make clean test-clean doc-clean
CPU_COUNT=9 make -j9 && CPU_COUNT=9 make -j9 test && CPU_COUNT=9 make -j9 doc
without much of a problem. It depends on what you mean by "first
time". Han-Wen has just discovered that on a fresh container, TeX
builds the plain (and likely Texinfo) formats the first time it is run,
and parallel invocations of TeX cause the format files to be a mess.
But that's not really "first time per commit" but "first time per
installation".
--
David Kastrup