From: Akira Yokosawa <akiyks@gmail.com>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: perfbook@vger.kernel.org, Akira Yokosawa <akiyks@gmail.com>
Subject: [PATCH -perfbook 0/7] Build script updates
Date: Mon, 11 Apr 2022 16:49:01 +0900 [thread overview]
Message-ID: <b756ba87-3fd3-1865-d8c0-3fb0ba45966b@gmail.com> (raw)
Hi Paul,
Here is a set of updates to build scripts.
Patch 1/7 is to avoid possible build errors when previous build
is interrupted in the middle of converting figures with some
intermediate temporary eps and/or pdf file(s) left.
Example of such an error (long message not folded):
CodeSamples/datastruct/hash/data/hps.perf.2020.11.26a/zoocatall.eps --> .pdf
make: *** No rule to make target 'CodeSamples/datastruct/hash/data/hps.perf.2020.11.26a/zoocatall__.eps', needed by 'CodeSamples/datastruct/hash/data/hps.perf.2020.11.26a/zoocatall__.pdf'. Stop.
After this type of an error (or errors after a parallel build),
one needs to run "make clean" (or "make neatfreak"), and run
"make" again.
By adding commands in Makefile to ignore file names of "*__.eps",
this mode of error can be avoided.
The added pattern in .gitignore resolves false "Untracked files"
from "git status".
Patch 2/7 fixes redundant use of filter-out function in Makefile.
Patch 3/7 updates help texts regarding EBook-size builds in
Makefile. They don't need (WIP) anymore.
Patch 4/7 is to allow use of LaTeX commands other than "pdflatex".
In vanilla TeX Live, there is an alternative command of
"pdflatex-dev", which is used to test development-phase
latex implementation. With this change, I am allowed to test
it by saying "make LATEX=pdflatex-dev".
Patch 5/7 is to catch typo in the LATEX variable.
Patch 6/7 catches an error exit of LATEX command and print log
messages to the terminal.
Patch 7/7 is a cosmetic tweak improving the later stages of
progress reports from parallel builds.
Thanks, Akira
--
Akira Yokosawa (7):
Makefile: Ignore temporary .eps files
Makefile: Remove redundant nest of filter-out function
Makefile: Let ebook-size builds graduate from 'WIP'
run{first}latex.sh: Use variable for 'pdflatex' command
Makefile: Test $(LATEX) before invoking runfirstlatex.sh
run(first)latex.sh: Catch error exit of LATEX
runlatex.sh: Align status report messages
.gitignore | 1 +
Makefile | 27 ++++-
Makefile.2022.01.25 | 4 +-
utilities/runfirstlatex.2022.01.25.sh | 98 +++++++++++++++
utilities/runfirstlatex.sh | 16 ++-
utilities/runlatex.2022.01.25.sh | 164 ++++++++++++++++++++++++++
utilities/runlatex.sh | 23 ++--
7 files changed, 314 insertions(+), 19 deletions(-)
create mode 100644 utilities/runfirstlatex.2022.01.25.sh
create mode 100644 utilities/runlatex.2022.01.25.sh
base-commit: 87d3513257e793b90f53ebd4b138ab2371aaf25c
--
2.25.1
next reply other threads:[~2022-04-11 7:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-11 7:49 Akira Yokosawa [this message]
2022-04-11 7:53 ` [PATCH -perfbook 1/7] Makefile: Ignore temporary .eps files Akira Yokosawa
2022-04-11 7:55 ` [PATCH -perfbook 2/7] Makefile: Remove redundant nest of filter-out function Akira Yokosawa
2022-04-11 7:56 ` [PATCH -perfbook 3/7] Makefile: Let ebook-size builds graduate from 'WIP' Akira Yokosawa
2022-04-11 7:59 ` [PATCH -perfbook 4/7] run{first}latex.sh: Use variable for 'pdflatex' command Akira Yokosawa
2022-04-11 8:01 ` [PATCH -perfbook 5/7] Makefile: Test $(LATEX) before invoking runfirstlatex.sh Akira Yokosawa
2022-04-11 8:03 ` [PATCH -perfbook 6/7] run(first)latex.sh: Catch error exit of LATEX Akira Yokosawa
2022-04-11 8:05 ` [PATCH -perfbook 7/7] runlatex.sh: Align status report messages Akira Yokosawa
2022-04-11 20:08 ` [PATCH -perfbook 0/7] Build script updates Paul E. McKenney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b756ba87-3fd3-1865-d8c0-3fb0ba45966b@gmail.com \
--to=akiyks@gmail.com \
--cc=paulmck@kernel.org \
--cc=perfbook@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).