Enable parallel runs of pdflatex
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 3 repliesIn review
- v21 patch 2 repliesSuperseded
- v11 patch 2 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Replace \include{} with \input{} for parallel pdflatex runsappendix/ perfbook-lt.tex | +6 | 0 replies | |
| 2/4 | Makefile: Fix issues WRT parallel runs of pdflatexMakefile | +7 | 0 replies | |
| 3/4 | Restore Makefile as of 2022.01.25Makefile.2022.01.25 | +608 | 0 replies | |
| 4/4 | Add script for parallel-pdflatex-run regression testutilities/ | +75 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [RFT PATCH -perfbook v3 v3 0/4] Enable parallel runs of pdflatex
Hi Paul,
I said earlier in v2's thread:
Quoted 8 lines
This patch changes both LaTeX code and
Makefile. SyncTeX database is affected by LaTeX code change because it is a collection of "LaTeX code (file:line:char) <-> coordinates in PDF".
So we can't see if changes inMakefileaffect PDF or not.I'll split this patch into a set of "preparatory LaTeX change" and "
Makefileupdate" patches.
I did break up the patch (1/4 and 2/4), but it did not work as I had expected.
Because of the Git-commit info in the footer area, SyncTeX database can't be identical when you move to another commit.
So, I restored the Makefile as of 2022.01.25 for reference (3/4) and added a script to collect and compare SyncTeX databases from reference, sequential, and parallel runs of pdflatex (4/4).
Please give it a try.
You can override defaults of TARGETS (2c 1c eb) and JOBS (4) by saying, e.g.:
TARGETS="2c 1c eb nq 1cnq ebnq" JOBS=8 ./utilities/parallel-latex-regress.sh
It will take quite a while for sequential runs of pdflatex with the synctex option enabled. So I'd suggest starting from a short list.
In my tests so far, no mismatch was detected.
Thanks, Akira
--
Akira Yokosawa (4):
Replace \include{} with \input{} for parallel pdflatex runs
Makefile: Fix issues WRT parallel runs of pdflatex Restore Makefile as of 2022.01.25
Add script for parallel-pdflatex-run regression test
Makefile | 12 +- Makefile.2022.01.25 | 608 ++++++++++++++++++++++++++++ appendix/appendix.tex | 8 +- perfbook-lt.tex | 4 +- utilities/parallel-latex-regress.sh | 75 ++++ 5 files changed, 696 insertions(+), 11 deletions(-) create mode 100644 Makefile.2022.01.25 create mode 100755 utilities/parallel-latex-regress.sh
base-commit: f24ccfbd345eab8a70d6c08e71c84f18df46a3a1
Signature · 1 line
2.17.1