Changeset 74762a5 for general


Ignore:
Timestamp:
09/13/2020 05:18:01 PM (4 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
794a5d8
Parents:
97386b0
Message:

LLVM: promote clang to recommended, downgrade compiler-rt to optional in the markup. And note that firefox requires clang.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23708 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/llvm.xml

    r97386b0 r74762a5  
    1111  <!ENTITY llvm-md5sum        "71c68c526cbbf1674b5aafc5542b336c">
    1212  <!ENTITY llvm-size          "34 MB">
    13   <!ENTITY llvm-buildsize     "2.8 GB (with Clang, 659 MB installed, add 16 GB for tests)">
    14   <!ENTITY llvm-time          "30 SBU (with Clang and parallelism=4, add 15 SBU for tests)">
     13  <!ENTITY llvm-buildsize     "2.8 GB (659 MB installed, add 16 GB for tests)">
     14  <!ENTITY llvm-time          "30 SBU (with parallelism=4, add 15 SBU for tests)">
    1515
    1616  <!ENTITY clang-download-http "&llvm-url;/clang-&llvm-version;.src.tar.xz">
     
    5151
    5252    <para>
    53       The optional <application>Clang</application> and <application>Compiler
    54       RT</application> packages provide new C, C++, Objective C and Objective
    55       C++ front-ends and runtime libraries for the
    56       <application>LLVM</application> and are required by some packages which
    57       use <application>Rust</application>, for example
    58       <application>firefox</application>.
     53      <application>Clang</application> provides new C, C++, Objective C
     54      and Objective C++ front-ends for <application>LLVM</application> and is
     55      required by some desktop packages such as <application>firefox</application>
     56      and for <application>rust</application> if that is built using the system
     57      <application>LLVM</application>.
     58    </para>
     59
     60    <para>
     61      The <application>Compiler RT</application> package provides
     62      runtime sanitizer and profiling libraries for developers who use
     63      <application>Clang</application> and <application>LLVM</application>.
    5964    </para>
    6065
     
    95100    </itemizedlist>
    96101
    97     <bridgehead renderas="sect3">Optional Downloads</bridgehead>
    98 
    99       <bridgehead renderas="sect4">Clang</bridgehead>
     102    <bridgehead renderas="sect3">Recommended Download</bridgehead>
     103      <bridgehead role="recommended" renderas="sect4">Clang</bridgehead>
    100104      <itemizedlist spacing="compact">
    101105        <listitem>
     
    116120      </itemizedlist>
    117121
    118       <bridgehead renderas="sect4">Compiler RT</bridgehead>
     122    <bridgehead renderas="sect3">Optional Download</bridgehead>
     123      <bridgehead role="optional" renderas="sect4">Compiler RT</bridgehead>
    119124      <itemizedlist spacing="compact">
    120125        <listitem>
     
    180185
    181186    <para>
    182       If you have downloaded the optional packages, install them into
     187      Install <application>clang</application> into
    183188      the source tree by running the following commands:
    184189    </para>
    185190
    186 <screen><userinput>tar -xf ../clang-&llvm-version;.src.tar.xz -C tools          &amp;&amp;
    187 tar -xf ../compiler-rt-&llvm-version;.src.tar.xz -C projects &amp;&amp;
    188 
    189 mv tools/clang-&llvm-version;.src tools/clang &amp;&amp;
     191<screen><userinput>tar -xf ../clang-&llvm-version;.src.tar.xz -C tools &amp;&amp;
     192mv tools/clang-&llvm-version;.src</userinput></screen>
     193
     194    <para>
     195      If you have downloaded <application>compiler-rt</application>,
     196      install it into the source tree by running the following commands:
     197    </para>
     198
     199<screen><userinput>tar -xf ../compiler-rt-&llvm-version;.src.tar.xz -C projects &amp;&amp;
    190200mv projects/compiler-rt-&llvm-version;.src projects/compiler-rt</userinput></screen>
    191201
     
    223233
    224234    <para>
    225       If you have downloaded the optional packages, the clang documentation
    226       can be built too:
     235      The clang documentation can be built too:
    227236    </para>
    228237
Note: See TracChangeset for help on using the changeset viewer.