Ignore:
Timestamp:
08/18/2018 08:23:33 AM (6 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, 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:
97828bc
Parents:
796bc663
Message:

Upgrade to cmake-3.12.1, llvm-6.0.1

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/llvm.xml

    r796bc663 r18a65e61  
    88  <!ENTITY llvm-download-http "http://llvm.org/releases/&llvm-version;/llvm-&llvm-version;.src.tar.xz">
    99  <!ENTITY llvm-download-ftp  " ">
    10   <!ENTITY llvm-md5sum        "788a11a35fa62eb008019b37187d09d2">
    11   <!ENTITY llvm-size          "24 MB">
    12   <!ENTITY llvm-buildsize     "2.4 GB (with Clang, add 10.8 GB for tests)">
    13   <!ENTITY llvm-time          "24 SBU (with Clang and parallelism=4, add 16 SBU for tests)">
     10  <!ENTITY llvm-md5sum        "c88c98709300ce2c285391f387fecce0">
     11  <!ENTITY llvm-size          "24.1 MB">
     12  <!ENTITY llvm-buildsize     "2.8 GB (with Clang, add 10.8 GB for tests)">
     13  <!ENTITY llvm-time          "29 SBU (with Clang and parallelism=4, add 10 SBU for tests)">
    1414
    1515  <!ENTITY clang-download-http "http://llvm.org/releases/&llvm-version;/cfe-&llvm-version;.src.tar.xz">
    16   <!ENTITY clang-md5sum        "121b3896cb0c7765d690acc5d9495d24">
    17   <!ENTITY clang-size          "12 MB">
     16  <!ENTITY clang-md5sum        "4e419bd4e3b55aa06d872320f754bd85">
     17  <!ENTITY clang-size          "11.3 MB">
    1818
    1919  <!ENTITY rt-version                "&llvm-version;">
    2020  <!ENTITY compiler-rt-download-http "http://llvm.org/releases/&rt-version;/compiler-rt-&rt-version;.src.tar.xz">
    21   <!ENTITY compiler-rt-md5sum        "ba6368e894b5528e527d86a69d8533c6">
     21  <!ENTITY compiler-rt-md5sum        "99bf8bcb68ba96dda74f6aee6c55f639">
    2222  <!ENTITY compiler-rt-size          "1.6 MB">
    2323]>
     
    201201      -DLLVM_LINK_LLVM_DYLIB=ON             \
    202202      -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \
    203       -Wno-dev ..                           &amp;&amp;
    204 make</userinput></screen>
    205 
    206     <para>
    207       If you have installed <application>Sphinx</application> and wish
    208       to generate the html documentation and manual pages, issue the
    209       following commands:
    210     </para>
    211 <screen><userinput>cmake -DLLVM_ENABLE_SPHINX=ON         \
    212       -DSPHINX_WARNINGS_AS_ERRORS=OFF \
    213       -Wno-dev ..                     &amp;&amp;
    214 make docs-llvm-html  docs-llvm-man</userinput></screen>
    215     <para>
    216       If you have downloaded the optional packages, the clang documentation
    217       can be built too:
    218     </para>
    219 <screen><userinput>make docs-clang-html docs-clang-man</userinput></screen>
    220     <para>
    221       To test the results, issue: <command>make check-all</command>. Tests are
     203      -DLLVM_BUILD_TESTS=ON                 \
     204      -Wno-dev -G Ninja ..                           &amp;&amp;
     205ninja</userinput></screen>
     206
     207    <para>
     208      To test the results, issue: <command>ninja check-all</command>. Tests are
    222209      built with a single thread, but run using the maximum number of
    223210      processors/threads available.
     
    230217    </para>
    231218
    232 <screen role="root"><userinput>make install</userinput></screen>
    233 
    234     <para>
    235       If you have built  the documentation, install it by running the
    236       following command as the <systemitem class="username">root</systemitem>
    237       user:
     219<screen role="root"><userinput>ninja install</userinput></screen>
     220
     221    <para>
     222      If you have installed <application>Sphinx</application> and wish
     223      to generate the html documentation and manual pages, double check
     224      that you are still in the <filename class="directory">build</filename>
     225      directory and issue the following commands:
     226    </para>
     227<screen><userinput>rm -rf ./*
     228cmake -DLLVM_ENABLE_SPHINX=ON         \
     229      -DSPHINX_WARNINGS_AS_ERRORS=OFF \
     230      -Wno-dev ..                     &amp;&amp;
     231make docs-llvm-html  docs-llvm-man</userinput></screen>
     232    <para>
     233      If you have downloaded the optional packages, the clang documentation
     234      can be built too:
     235    </para>
     236<screen><userinput>make docs-clang-html docs-clang-man</userinput></screen>
     237
     238    <para>
     239      Install the llvm documentation by running the following command as the
     240      <systemitem class="username">root</systemitem> user:
    238241    </para>
    239242
Note: See TracChangeset for help on using the changeset viewer.