[lfs] branch trunk updated: openssl: factor out HARNESS_JOBS= as an optional setting

git Owner ([email protected] via lfs-book Mailing List) <[email protected]> Fri, 03 Jul 2026 16:27:19 +0000
Newsgroups gmane.linux.lfs.book
Message-ID <178309603930.1510997.4646549995925737726@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new 6a42a0e04 openssl: factor out HARNESS_JOBS= as an optional setting
6a42a0e04 is described below

commit 6a42a0e04610b3d064d60dee6577e6deb294051a
Author: Xi Ruoyao <[email protected]>
AuthorDate: Thu Jun 25 02:27:19 2026 +0800

    openssl: factor out HARNESS_JOBS= as an optional setting
    
    Now the default is to use all available cores (in case we are building
    in a cgroup via jhalfs, the number of available cores is counted as the
    number of cores assigned to the cgroup).
---
 chapter08/openssl.xml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/chapter08/openssl.xml b/chapter08/openssl.xml
index a1ff4b706..db9aab864 100644
--- a/chapter08/openssl.xml
+++ b/chapter08/openssl.xml
@@ -63,7 +63,12 @@
 
     <para>To test the results, issue:</para>
 
-<screen><userinput remap="test">HARNESS_JOBS=<replaceable>$(nproc)</replaceable> make test</userinput></screen>
+<screen><userinput remap="test">make test</userinput></screen>
+
+    <para>By default the test suite uses all available CPU cores.  If you
+    want to use less cores, prepend
+    <parameter>HARNESS_JOBS=<replaceable>&lt;N&gt;</replaceable></parameter>
+    with N replaced by the number of logic CPU cores you want to use.</para>
 
     <para>One test, 30-test_afalg.t, is known to fail if the host kernel
     does not have <option>CONFIG_CRYPTO_USER_API_SKCIPHER</option> enabled,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page