diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2021-05-12 18:34:34 -0500 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2021-05-12 18:34:34 -0500 |
commit | 5ed37b354c07cafe913e7a4dba2b87c4e44dfe7b (patch) | |
tree | e8a2daa5bf46615906b79ab62f62339ae36d2698 | |
parent | d7a942197e713339d4dc1eedab4dafd4179a5cd8 (diff) |
Remove python tests in Chapter 8
-rw-r--r-- | chapter01/changelog.xml | 6 | ||||
-rw-r--r-- | chapter08/python.xml | 31 |
2 files changed, 24 insertions, 13 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 7c2847310..b239a4384 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,10 +42,16 @@ <listitem revision="sysv"> or <listitem revision="systemd"> as appropriate for the entry or if needed the entire day's listitem. --> + <listitem> <para>2021-05-12</para> <itemizedlist> <listitem> + <para>[bdubbs] - Removed instructions for running tests + in Python due to an idefinite hang in the partial + LFS envrionment.</para> + </listitem> + <listitem> <para>[renodr] - Moved LFS to a merged-/usr configuration. Thanks goes to Xi Ruoyao for doing almost all of the work. Fixes <ulink url="&lfs-ticket-root;4848">#4848</ulink>.</para> diff --git a/chapter08/python.xml b/chapter08/python.xml index 4a6fe1bd5..ddcaa17d2 100644 --- a/chapter08/python.xml +++ b/chapter08/python.xml @@ -44,11 +44,12 @@ <para>Prepare Python for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/usr \ - --enable-shared \ - --with-system-expat \ - --with-system-ffi \ - --with-ensurepip=yes</userinput></screen> +<screen><userinput remap="configure">./configure --prefix=/usr \ + --enable-shared \ + --with-system-expat \ + --with-system-ffi \ + --with-ensurepip=yes \ + --enable-optimizations</userinput></screen> <variablelist> <title>The meaning of the configure options:</title> @@ -77,20 +78,24 @@ </listitem> </varlistentry> + <varlistentry> + <term><parameter>--enable-optimizations</parameter></term> + <listitem> + <para>This switch enables stable, but expensive, optimizations.</para> + </listitem> + </varlistentry> + </variablelist> <para>Compile the package:</para> <screen><userinput remap="make">make</userinput></screen> - <para>To test the results, issue:</para> - -<screen><userinput remap="test">make test</userinput></screen> - - <para>Some tests requiring a network connection or additional packages are - skipped. The tests test_unicodedata and test_curses tests are known to fail. For - more comprehensive results, the tests can be rerun when Python 3 is - reinstalled in BLFS.</para> + <para>Running the tests at this point is not recommended. The + tests are known to hang indefinitely in the partial LFS environment. + If desired, the tests can be rerun at the end of this chapter or + when Python 3 is reinstalled in BLFS. To run the tests anyway, + issue <command>make test</command>.</para> <para>Install the package:</para> |