Changeset 95ebbb4


Ignore:
Timestamp:
11/13/2023 01:14:19 PM (6 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
c17a774
Parents:
a0a803c
git-author:
Xi Ruoyao <xry111@…> (09/11/2023 06:42:45 AM)
git-committer:
Xi Ruoyao <xry111@…> (11/13/2023 01:14:19 PM)
Message:

chroot: Set MAKEFLAGS and TESTSUITEFLAGS for parallelism

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/chroot.xml

    ra0a803c r95ebbb4  
    2424    PS1='(lfs chroot) \u:\w\$ ' \
    2525    PATH=/usr/bin:/usr/sbin     \
     26    MAKEFLAGS="-j<replaceable>$(nproc)</replaceable>"      \
     27    TESTSUITEFLAGS="-j<replaceable>$(nproc)</replaceable>" \
    2628    /bin/bash --login</userinput></screen>
     29
     30  <para>
     31    Again, replace <replaceable>$(nproc)</replaceable> with the number
     32    of logical cores you want to use for building packages in this chapter
     33    and the following chapters if you don't want to use all available
     34    logical cores.  The test suites of some packages (notably Autoconf,
     35    Libtool, and Tar) in &ch-final; are not affected by
     36    <envar>MAKEFLAGS</envar>, they use a <envar>TESTSUITEFLAGS</envar>
     37    environment variable instead.  So we set it here as well for running
     38    these test suites with multiple cores.
     39  </para>
    2740
    2841  <para>The <parameter>-i</parameter> option given to the <command>env</command>
Note: See TracChangeset for help on using the changeset viewer.