aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/automake.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-11-14 00:27:17 +0800
committerXi Ruoyao <xry111@xry111.site>2023-11-14 00:27:17 +0800
commit7a72a22f9ba2c4e665dc4eefec60bc588ab57673 (patch)
tree43d1349bcc25af69d3bc05fe418bf7a77ea37322 /chapter08/automake.xml
parent1780e72d8d14621ffe3aaea89678d2eb93a63bf1 (diff)
parente07c41946983e891b283482c294ed748494c2578 (diff)
Merge tag 'xry111/update-20231113' into trunk
There are some suspicious "nptl/tst-robust" test failures in Glibc, but all other test results are clean. To be diagnosed... And note that jhalfs needs an update to work with the merged parallelism changes.
Diffstat (limited to 'chapter08/automake.xml')
-rw-r--r--chapter08/automake.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/chapter08/automake.xml b/chapter08/automake.xml
index 4fc1bd277..5d7541049 100644
--- a/chapter08/automake.xml
+++ b/chapter08/automake.xml
@@ -53,11 +53,14 @@
<screen><userinput remap="make">make</userinput></screen>
- <para> Using the -j4 make option speeds up the tests, even on systems with
- only one processor, due to internal delays in individual tests. To test
+ <para>Using four parallel jobs speeds up the tests, even on systems with
+ less logical cores, due to internal delays in individual tests. To test
the results, issue:</para>
-<screen><userinput remap="test">make -j4 check</userinput></screen>
+<screen><userinput remap="test">make <replaceable>-j$(($(nproc)&gt;4?$(nproc):4))</replaceable> check</userinput></screen>
+
+ <para>Replace <replaceable>$((...))</replaceable> with the number of
+ logical cores you want to use if you don't want to use all.</para>
<para>The test t/subobj.sh is known to fail.</para>