Author: ken
Date: Tue Jul 23 12:11:52 2019
New Revision: 21853

Log:
Document some options for python3 and for libreoffice.

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/prog/python3.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/xsoft/office/libreoffice.xml

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent      Mon Jul 22 17:40:04 2019        (r21852)
+++ trunk/BOOK/general.ent      Tue Jul 23 12:11:52 2019        (r21853)
@@ -1,12 +1,12 @@
 <!-- $LastChangedBy$ $Date$ -->
 
-<!ENTITY day          "22">                   <!-- Always 2 digits -->
+<!ENTITY day          "23">                   <!-- Always 2 digits -->
 <!ENTITY month        "07">                   <!-- Always 2 digits -->
 <!ENTITY year         "2019">
 <!ENTITY copyrightdate "2001-&year;">
 <!ENTITY copyholder   "The BLFS Development Team">
 <!ENTITY version      "&year;-&month;-&day;">
-<!ENTITY releasedate  "July 22nd, &year;">
+<!ENTITY releasedate  "July 23rd, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- x.y|development -->

Modified: trunk/BOOK/general/prog/python3.xml
==============================================================================
--- trunk/BOOK/general/prog/python3.xml Mon Jul 22 17:40:04 2019        (r21852)
+++ trunk/BOOK/general/prog/python3.xml Tue Jul 23 12:11:52 2019        (r21853)
@@ -181,6 +181,24 @@
     </para>
 
     <para>
+      <option>--enable-optimization</option>: Use this switch
+      if you want to enable <emphasis>expensive</emphasis> optimizations (i.e.
+      Profile Guided Optimizations). This adds around 20 SBU, but can
+      <emphasis>slightly</emphasis> speed up some uses, such as using
+      <application>Sphinx</application> for creating documentation, or use of
+      <application>Python3</application> scripts.
+    </para>
+
+    <para>
+      <option>--with-lto</option>: This optional switch enables thick Link
+      Time Optimization. Unusually, it creates a much larger <filename
+      
class="libraryfile">/usr/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.a</filename>
+      with a small increase in the time to compile
+      <application>Python</application>. Run-time results do not appear to show
+      any benefit from doing this.
+    </para>
+
+    <para>
       <command>chmod ...</command>: Fix permissions for shared libraries to be
       consistent with other libraries.
     </para>

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Mon Jul 22 17:40:04 
2019        (r21852)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Tue Jul 23 12:11:52 
2019        (r21853)
@@ -41,6 +41,16 @@
       </itemizedlist>
     </listitem>
     -->
+    <listitem>
+      <para>July 23rd, 2019</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - Document some optional configure switches for Python3
+          and libreoffice.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+ 
 
     <listitem>
       <para>July 22nd, 2019</para>

Modified: trunk/BOOK/xsoft/office/libreoffice.xml
==============================================================================
--- trunk/BOOK/xsoft/office/libreoffice.xml     Mon Jul 22 17:40:04 2019        
(r21852)
+++ trunk/BOOK/xsoft/office/libreoffice.xml     Tue Jul 23 12:11:52 2019        
(r21853)
@@ -641,6 +641,17 @@
     </para>
 
     <para>
+      <option>--enable-lto</option>: This switch will enable Link Time
+      Optimization, which results in slightly smaller libraries (about 40 MB).
+      This is said to make <application>LibreOffice</application> programs
+      load faster (and possibly run faster, e.g. when recalculating a
+      spreadsheet). On an 8-core machine with 16GB of memory, the difference
+      in compile times was minimal, but an extra 2GB was used for the work
+      files. On machines with fewer processors or a lack of memory, the compile
+      might be much slower.
+    </para>
+
+    <para>
       <option>--without-java</option>: This switch disables
       <application>Java</application> support in
       <application>LibreOffice</application>. Java is needed for the
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to