diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-08-29 20:47:34 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-08-29 20:47:34 +0800 |
commit | 5342a697b9b1c35342df16368a7d19b738ffae3a (patch) | |
tree | e732dd0defbde07056b09a9cd5d89721e2277bb4 | |
parent | b6ff6a8c95543b63e6ed8f7acaa561f2305c7df1 (diff) | |
parent | 22c36bb8e41ebe08d9ac022d68d619583e556f21 (diff) |
Merge remote-tracking branch 'origin/trunk' into xry111/arm64
-rw-r--r-- | chapter08/gmp.xml | 4 | ||||
-rw-r--r-- | chapter08/tar.xml | 10 | ||||
-rw-r--r-- | lfs-latest-git.php | 1 |
3 files changed, 13 insertions, 2 deletions
diff --git a/chapter08/gmp.xml b/chapter08/gmp.xml index d9ec9a344..bfd030e1d 100644 --- a/chapter08/gmp.xml +++ b/chapter08/gmp.xml @@ -101,7 +101,9 @@ make html</userinput></screen> instruction". In this case, gmp should be reconfigured with the option <option>--host=none-linux-gnu</option> and rebuilt.</para></caution> - <para>Ensure that all 199 tests in the test suite passed. + <!-- Some tests PASS on a specific uarch but SKIP on other CPUs. + For example on K8 the following command outputs 200. --> + <para>Ensure that at least 199 tests in the test suite passed. Check the results by issuing the following command:</para> <screen><userinput remap="test">awk '/# PASS:/{total+=$3} ; END{print total}' gmp-check-log</userinput></screen> diff --git a/chapter08/tar.xml b/chapter08/tar.xml index bfb1cf469..ea5f44ebb 100644 --- a/chapter08/tar.xml +++ b/chapter08/tar.xml @@ -72,9 +72,17 @@ <screen><userinput remap="test">make check</userinput></screen> + <!-- On one system the -j4 improvement is 167s - 46s = 121s (72.46%) --> + <note><para>The test time for Tar can be reduced significantly on a + system with multiple cores. To do this, append + <command>TESTSUITEFLAGS=-j<N></command> to the line above. For + instance, using -j4 can reduce the test time by over 70 + percent.</para></note> + <para>One test, capabilities: binary store/restore, is known to fail if it is run because LFS lacks selinux, but will be skipped if the host kernel does - not support extended attributes on the filesystem used for building LFS.</para> + not support extended attributes or security labels on the filesystem + used for building LFS.</para> <para>Install the package:</para> diff --git a/lfs-latest-git.php b/lfs-latest-git.php index f9239e27b..c0c7aaea3 100644 --- a/lfs-latest-git.php +++ b/lfs-latest-git.php @@ -150,6 +150,7 @@ if ( $package == "tcl" ) $dirpath = "https://www.tcl.tk/software/tcltk/do if ( $package == "util-linux" ) $dirpath = max_parent( $dirpath, "v." ); if ( $package == "vim" ) $dirpath = "https://github.com/vim/vim/tags"; if ( $package == "wheel" ) $dirpath = "https://pypi.org/project/wheel/#files"; +if ( $package == "zlib" ) $dirpath = "https://www.zlib.net"; if ( $package == "zstd" ) $dirpath = github("facebook/zstd"); // Check for ftp |