Changeset 11b9fb83


Ignore:
Timestamp:
10/01/2018 09:26:28 PM (6 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.4, 9.0, 9.1, bdubbs/svn, elogind, 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:
0fc4a39
Parents:
32b15287
Message:

llvm-7.0.0

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r32b15287 r11b9fb83  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "30">                   <!-- Always 2 digits -->
    4 <!ENTITY month        "09">                   <!-- Always 2 digits -->
     3<!ENTITY day          "01">                   <!-- Always 2 digits -->
     4<!ENTITY month        "10">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2018">
    66<!ENTITY copyrightdate "2001-&year;">
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "September 30th, &year;">
     9<!ENTITY releasedate  "October 1st, &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • general/prog/llvm.xml

    r32b15287 r11b9fb83  
    55  %general-entities;
    66
    7   <!ENTITY llvm-majmin "6.0"> <!-- used in an explanation -->
     7  <!ENTITY llvm-majmin "7.0"> <!-- used in an explanation -->
    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        "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)">
     10  <!ENTITY llvm-md5sum        "e0140354db83cdeb8668531b431398f0">
     11  <!ENTITY llvm-size          "28 MB">
     12  <!ENTITY llvm-buildsize     "2.8 GB (with Clang, 670MB installed, add 16 GB for tests)">
     13  <!ENTITY llvm-time          "26 SBU (with Clang and parallelism=4, add 8 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        "4e419bd4e3b55aa06d872320f754bd85">
    17   <!ENTITY clang-size          "11.3 MB">
     16  <!ENTITY clang-md5sum        "2ac5d8d78be681e31611c5e546e11174">
     17  <!ENTITY clang-size          "12 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        "99bf8bcb68ba96dda74f6aee6c55f639">
    22   <!ENTITY compiler-rt-size          "1.6 MB">
     21  <!ENTITY compiler-rt-md5sum        "3b759c47076298363f4443395e0e51c1">
     22  <!ENTITY compiler-rt-size          "1.8 MB">
    2323]>
    2424
     
    202202      -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \
    203203      -DLLVM_BUILD_TESTS=ON                 \
    204       -Wno-dev -G Ninja ..                           &amp;&amp;
     204      -Wno-dev -G Ninja ..                  &amp;&amp;
    205205ninja</userinput></screen>
    206206
    207207    <para>
     208      <!-- EDITORS - if you have more than 4 cores, take some offline to measure
     209      the elapsed time for the tests.  Also, libstdc++.a and perhaps libstdc++fs.a
     210      are used by a couple of the link-static tests. -->
    208211      To test the results, issue: <command>ninja check-all</command>. Tests are
    209       built with a single thread, but run using the maximum number of
    210       processors/threads available.
    211       Note that the several Sanitizer tests (9 of 26479) are known to fail.
    212 <!--  Still true for v 5.0.0 -->
     212      built with all <emphasis>available</emphasis> cores, but run using the number
     213      of <emphasis>online</emphasis> processors. (The difference is that available
     214      cores can be limited using <command>taskset</command>, but taking them offline
     215      requires echoing 0 to <filename
     216      class="directory">/sys/devices/system/cpu/cpu&lt;N&gt;/online</filename>
     217      by the <systemitem class="username">root</systemitem> user and makes them
     218      temporarily unusable by all jobs on the machine.)
     219      Note that several Sanitizer tests (7 of more than 32000 tests run) are known
     220      to fail.
     221
    213222    </para>
    214223
     
    221230    <para>
    222231      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 ./*
    228 cmake -DLLVM_ENABLE_SPHINX=ON         \
     232      to generate the html documentation and manual pages, issue the following
     233      commands:
     234    </para>
     235<screen><userinput>cmake -DLLVM_ENABLE_SPHINX=ON         \
    229236      -DSPHINX_WARNINGS_AS_ERRORS=OFF \
    230       -Wno-dev ..                     &amp;&amp;
    231 make docs-llvm-html  docs-llvm-man</userinput></screen>
     237      -Wno-dev -G Ninja ..            &amp;&amp;
     238ninja docs-llvm-html  docs-llvm-man</userinput></screen>
    232239    <para>
    233240      If you have downloaded the optional packages, the clang documentation
    234241      can be built too:
    235242    </para>
    236 <screen><userinput>make docs-clang-html docs-clang-man</userinput></screen>
     243<screen><userinput>ninja docs-clang-html docs-clang-man</userinput></screen>
    237244
    238245    <para>
     
    324331          bugpoint, c-index-test, clang, clang++ (symlinks to
    325332          clang-&lt;version&gt;), clang-&lt;version&gt;, clang-check, clang-cl,
    326           clang-cppi (last two symlinks to clang), clang-format,
    327           clang-import-test, clang-offload-bundler, clang-rename,
    328           git-clang-format, llc, lli, llvm-ar, llvm-as, llvm-bcanalyzer,
    329           llvm-cat, llvm-config, llvm-cov, llvm-c-test, llvm-cvtres,
    330           llvm-cxxdump, llvm-cxxfilt, llvm-diff, llvm-dis, llvm-dlltool
    331           (symlink to llvm-ar), llvm-dsymutil, llvm-dwarfdump, llvm-dwp,
    332           llvm-extract, llvm-lib (symlink to llvm-ar), llvm-link, llvm-lto,
    333           llvm-lto2, llvm-mc, llvm-mcmarkup, llvm-modextract, llvm-mt, llvm-nm,
    334           llvm-objdump, llvm-opt-report, llvm-pdbutil, llvm-profdata,
    335           llvm-ranlib (symlink to llvm-ar), llvm-readelf (symlink to
    336           llvm-readobj), llvm-readobj, llvm-rtdyld, llvm-size, llvm-split,
    337           llvm-stress, llvm-strings, llvm-symbolizer, llvm-tblgen, llvm-xray,
     333          clang-cpp (last two symlinks to clang), clang-format, clang-func-mapping
     334          clang-import-test, clang-offload-bundler, clang-refactor, clang-rename,
     335          diagtool, dsymutil, git-clang-format, hmap-tool, llc, lli, llvm-ar,
     336          llvm-as, llvm-bcanalyzer, llvm-cat, llvm-cfi-verify, llvm-config,
     337          llvm-cov, llvm-c-test, llvm-cvtres, llvm-cxxdump, llvm-cxxfilt,
     338          llvm-diff, llvm-dis, llvm-dlltool (symlink to llvm-ar), llvm-dwarfdump,
     339          llvm-dwp, llvm-exegenesis, llvm-extract, llvm-lib (symlink to llvm-ar),
     340          llvm-link, llvm-lto, llvm-lto2, llvm-mc, llvm-mca, llvm-modextract,
     341          llvm-mt, llvm-nm, llvm-objcopy, llvm-objdump, llvm-opt-report,
     342          llvm-pdbutil, llvm-profdata, llvm-ranlib (symlink to llvm-ar), llvm-rc,
     343          llvm-readelf (symlink to llvm-readobj), llvm-readobj, llvm-rtdyld,
     344          llvm-size, llvm-split, llvm-stress, llvm-strings, llvm-strip (symlink
     345          to llvm-objcopy), llvm-symbolizer, llvm-tblgen, llvm-undname, llvm-xray,
    338346          obj2yaml, opt, sancov, sanstats, scan-build, scan-view,
    339347          verify-uselistorder, and yaml2obj
    340348        </seg>
    341349        <seg>
    342           BugpointPasses.so,  LLVMHello.so, libLLVM.so, libLLVM*.a (63
    343           libraries), libLTO.so, libclang.so and libclang*.a (25 libraries)
     350          BugpointPasses.so,  LLVMHello.so, libLLVM.so, libLLVM*.a (66
     351          libraries), libLTO.so, libclang.so and libclang*.a (30 libraries)
    344352        </seg>
    345353        <seg>
     
    420428      </varlistentry>
    421429
     430      <varlistentry id="clang-func-mapping">
     431        <term><command>clang-func-mapping</command></term>
     432        <listitem>
     433          <para>
     434            collects the name and location of all function definitions in the
     435            source files.
     436          </para>
     437          <indexterm zone="llvm clang-func-mapping">
     438            <primary sortas="b-clang-func-mapping">clang-func-mapping</primary>
     439          </indexterm>
     440        </listitem>
     441      </varlistentry>
     442
    422443      <varlistentry id="clang-offload-bundler">
    423444        <term><command>clang-offload-bundler</command></term>
     
    433454      </varlistentry>
    434455
     456      <varlistentry id="clang-refactor">
     457        <term><command>clang-refactor</command></term>
     458        <listitem>
     459          <para>
     460            is a Clang-based refactoring tool for C, C++ and Objective.
     461          </para>
     462          <indexterm zone="llvm clang-refactor">
     463            <primary sortas="b-clang-refactor">clang-refactor</primary>
     464          </indexterm>
     465        </listitem>
     466      </varlistentry>
     467
    435468      <varlistentry id="clang-rename">
    436469        <term><command>clang-rename</command></term>
     
    445478      </varlistentry>
    446479
     480      <varlistentry id="diagtool">
     481        <term><command>diagtool</command></term>
     482        <listitem>
     483          <para>
     484            is a combination of tools for dealing with diagnostics in clang.
     485          </para>
     486          <indexterm zone="llvm diagtool">
     487            <primary sortas="b-diagtool">diagtool</primary>
     488          </indexterm>
     489        </listitem>
     490      </varlistentry>
     491
     492      <varlistentry id="dsymutil">
     493        <term><command>dsymutil</command></term>
     494        <listitem>
     495          <para>
     496            is a tool used to manipulate archived DWARF debug symbol files,
     497            compatible with the Darwin command <command>dsymutil</command>.
     498          </para>
     499          <indexterm zone="llvm dsymutil">
     500            <primary sortas="b-dsymutil">dsymutil</primary>
     501          </indexterm>
     502        </listitem>
     503      </varlistentry>
     504
    447505      <varlistentry id="git-clang-format">
    448506        <term><command>git-clang-format</command></term>
     
    458516      </varlistentry>
    459517
     518      <varlistentry id="hmaptool">
     519        <term><command>hmaptool</command></term>
     520        <listitem>
     521          <para>
     522            is a Python tool to dump and construct header maps.
     523          </para>
     524          <indexterm zone="llvm hmaptool">
     525            <primary sortas="b-hmaptool">hmaptool</primary>
     526          </indexterm>
     527        </listitem>
     528      </varlistentry>
     529
    460530      <varlistentry id="llc">
    461531        <term><command>llc</command></term>
     
    531601      </varlistentry>
    532602
     603      <varlistentry id="llvm-cfi-verify">
     604        <term><command>llvm-cfi-verify</command></term>
     605        <listitem>
     606          <para>
     607            identifies whether Control Flow Integrity protects all indirect
     608            control flow instructions in the provided object file, DSO, or
     609            binary.
     610          </para>
     611          <indexterm zone="llvm llvm-cfi-verify">
     612            <primary sortas="b-llvm-cfi-verify">llvm-cfi-verify</primary>
     613          </indexterm>
     614        </listitem>
     615      </varlistentry>
     616
    533617      <varlistentry id="llvm-config">
    534618        <term><command>llvm-config</command></term>
     
    628712      </varlistentry>
    629713
    630       <varlistentry id="llvm-dsymutil">
    631         <term><command>llvm-dsymutil</command></term>
    632         <listitem>
    633           <para>
    634             is a tool used to manipulate archived DWARF debug symbol files,
    635             compatible with the Darwin command <command>dsymutil</command>.
    636           </para>
    637           <indexterm zone="llvm llvm-dsymutil">
    638             <primary sortas="b-llvm-dsymutil">llvm-dsymutil</primary>
    639           </indexterm>
    640         </listitem>
    641       </varlistentry>
    642 
    643714      <varlistentry id="llvm-dwarfdump">
    644715        <term><command>llvm-dwarfdump</command></term>
     
    665736      </varlistentry>
    666737
     738      <varlistentry id="llvm-exegesis">
     739        <term><command>llvm-exegesis</command></term>
     740        <listitem>
     741          <para>
     742            is a benchmarking tool that uses information available in LLVM to
     743            measure host machine instruction characteristics like latency or
     744            port decomposition.
     745          </para>
     746          <indexterm zone="llvm llvm-exegesis">
     747            <primary sortas="b-llvm-exegesis">llvm-exegesis</primary>
     748          </indexterm>
     749        </listitem>
     750      </varlistentry>
     751
    667752      <varlistentry id="llvm-extract">
    668753        <term><command>llvm-extract</command></term>
     
    727812      </varlistentry>
    728813
    729       <varlistentry id="llvm-mcmarkup">
     814      <varlistentry id="llvm-mca">
     815        <term><command>llvm-mca</command></term>
     816        <listitem>
     817          <para>
     818            is a is a performance analysis tool to statically measure the
     819            performance of machine code.
     820          </para>
     821          <indexterm zone="llvm llvm-mca">
     822            <primary sortas="b-llvm-mca">llvm-mca</primary>
     823          </indexterm>
     824        </listitem>
     825      </varlistentry>
     826
     827<!--  <varlistentry id="llvm-mcmarkup">
    730828        <term><command>llvm-mcmarkup</command></term>
    731829        <listitem>
     
    737835          </indexterm>
    738836        </listitem>
    739       </varlistentry>
     837      </varlistentry>-->
    740838
    741839      <varlistentry id="llvm-modextract">
     
    777875      </varlistentry>
    778876
     877      <varlistentry id="llvm-objcopy">
     878        <term><command>llvm-objcopy</command></term>
     879        <listitem>
     880          <para>
     881            is LLVM's version of an objcopy tool.
     882          </para>
     883          <indexterm zone="llvm llvm-objcopy">
     884            <primary sortas="b-llvm-objcopy">llvm-objcopy</primary>
     885          </indexterm>
     886        </listitem>
     887      </varlistentry>
     888
    779889      <varlistentry id="llvm-objdump">
    780890        <term><command>llvm-objdump</command></term>
     
    839949      </varlistentry>
    840950
     951      <varlistentry id="llvm-rc">
     952        <term><command>llvm-rc</command></term>
     953        <listitem>
     954          <para>
     955            is a platform-independent tool to compile resource scripts
     956            into binary resource files.
     957          </para>
     958          <indexterm zone="llvm llvm-rc">
     959            <primary sortas="b-llvm-rc">llvm-rc</primary>
     960          </indexterm>
     961        </listitem>
     962      </varlistentry>
     963
    841964      <varlistentry id="llvm-readobj">
    842965        <term><command>llvm-readobj</command></term>
     
    9341057          <indexterm zone="llvm llvm-tblgen">
    9351058            <primary sortas="b-llvm-tblgen">llvm-tblgen</primary>
     1059          </indexterm>
     1060        </listitem>
     1061      </varlistentry>
     1062
     1063      <varlistentry id="llvm-undname">
     1064        <term><command>llvm-undname</command></term>
     1065        <listitem>
     1066          <para>
     1067            is a tool to demangle names.
     1068          </para>
     1069          <indexterm zone="llvm llvm-undname">
     1070            <primary sortas="b-llvm-undname">llvm-undname</primary>
    9361071          </indexterm>
    9371072        </listitem>
  • introduction/welcome/changelog.xml

    r32b15287 r11b9fb83  
    4242    </listitem>
    4343-->
     44    <listitem>
     45      <para>October 1st, 2018</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[ken] - Update to llvm-7.0.0 Fixes
     49          <ulink url="&blfs-ticket-root;11165">#11165</ulink>.</para>
     50        </listitem>
     51      </itemizedlist>
     52    </listitem>
     53
    4454
    4555    <listitem>
  • packages.ent

    r32b15287 r11b9fb83  
    324324<!ENTITY guile-version                "2.2.4">
    325325<!ENTITY librep-version               "0.92.7">
    326 <!ENTITY llvm-version                 "6.0.1">
     326<!ENTITY llvm-version                 "7.0.0">
    327327<!ENTITY llvm-old-version             "3.9.1">
    328328<!ENTITY lua-version                  "5.3.5">
Note: See TracChangeset for help on using the changeset viewer.