Ignore:
Timestamp:
11/13/2023 01:16:48 PM (11 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
Children:
3a8d182
Parents:
95ebbb4
git-author:
Xi Ruoyao <xry111@…> (09/11/2023 08:07:26 AM)
git-committer:
Xi Ruoyao <xry111@…> (11/13/2023 01:16:48 PM)
Message:

automake: Do not use only 4 cores for testing if we have more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/automake.xml

    r95ebbb4 rc17a774  
    5454<screen><userinput remap="make">make</userinput></screen>
    5555
    56     <para> Using the -j4 make option speeds up the tests, even on systems with
    57     only one processor, due to internal delays in individual tests.  To test
     56    <para>Using four parallel jobs speeds up the tests, even on systems with
     57    less logical cores, due to internal delays in individual tests.  To test
    5858    the results, issue:</para>
    5959
    60 <screen><userinput remap="test">make -j4 check</userinput></screen>
     60<screen><userinput remap="test">make <replaceable>-j$(($(nproc)&gt;4?$(nproc):4))</replaceable> check</userinput></screen>
     61
     62    <para>Replace <replaceable>$((...))</replaceable> with the number of
     63    logical cores you want to use if you don't want to use all.</para>
    6164
    6265    <para>The test t/subobj.sh is known to fail.</para>
Note: See TracChangeset for help on using the changeset viewer.