mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 03:11:57 +00:00
automake: Do not use only 4 cores for testing if we have more
This commit is contained in:
parent
95ebbb42b7
commit
c17a77452a
@ -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)>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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user