Changeset 3f6a6dc


Ignore:
Timestamp:
05/15/2023 04:13:01 AM (12 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
9d98701
Parents:
9a22621
git-author:
Xi Ruoyao <xry111@…> (05/15/2023 04:08:13 AM)
git-committer:
Xi Ruoyao <xry111@…> (05/15/2023 04:13:01 AM)
Message:

Update to LLVM-16.0.3 (#17861)

With Thunderbird workaround applied, we can try to update to LLVM 16
again. Note that Firefox may need a similar workaround but at least it
does not crash on start-up.

This reverts commit 218e13ce4ba083720efc136aedb40c5fa0d9eaf2
("Revert back to LLVM-15.0.7 for now"), bump LLVM to 16.0.3, and updated
md5sums for tarballs and test suite status for it.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general/prog/llvm.xml

    r9a22621 r3f6a6dc  
    99  <!ENTITY llvm-download-http "&llvm-url;/llvm-&llvm-version;.src.tar.xz">
    1010  <!ENTITY llvm-download-ftp  " ">
    11   <!ENTITY llvm-md5sum        "c77db4c71e1eb267358204dffe2c6e10">
    12   <!ENTITY llvm-size          "50 MB">
    13   <!ENTITY llvm-buildsize     "2.7 GB (848 MB installed; add 18.3 GB for tests and 308 MB for documentation)">
     11  <!ENTITY llvm-md5sum        "dc1ada1f317e9894ac15ad72e3eec291">
     12  <!ENTITY llvm-size          "54 MB">
     13  <!ENTITY llvm-buildsize     "4.0 GB (938 MB installed; add 17 GB for tests and 308 MB for documentation)">
    1414  <!ENTITY llvm-time          "24 SBU (Using parallelism=4; add 22 SBU for tests)">
    1515
    1616  <!ENTITY clang-download-http "&llvm-url;/clang-&llvm-version;.src.tar.xz">
    17   <!ENTITY clang-md5sum        "a6d0141e50b48f5e60c682277dac83b4">
    18   <!ENTITY clang-size          "18 MB">
     17  <!ENTITY clang-md5sum        "3fd4856d46a08e25f0e876824c8864ba">
     18  <!ENTITY clang-size          "20 MB">
    1919
    2020  <!ENTITY compiler-rt-download-http "&llvm-url;/compiler-rt-&llvm-version;.src.tar.xz">
    21   <!ENTITY compiler-rt-md5sum        "12e6777354f0121cbe73ef13342a9302">
     21  <!ENTITY compiler-rt-md5sum        "616a842e376d9b42e61395b096237783">
    2222  <!ENTITY compiler-rt-size          "2.3 MB">
    2323
     
    2626
    2727  <!ENTITY cmake-llvm-download-http "&sources-anduin-http;/llvm/llvm-cmake-&llvm-version;.src.tar.xz">
    28   <!ENTITY cmake-llvm-md5sum         "c3647d253f67ce255e1aba014e528f5b">
    29   <!ENTITY cmake-llvm-size           "6.8 KB">
    30 
    31   <!-- Kept in here for the 15.0.6 revert since it isn't used in instructions
    32        and should simplify upgrading again. -->
     28  <!ENTITY cmake-llvm-md5sum         "6ad459ef49e65d484ccee640a8f9b705">
     29  <!ENTITY cmake-llvm-size           "12 KB">
     30
    3331  <!ENTITY llvm-3rdparty-download-http "&sources-anduin-http;/llvm/llvm-third-party-&llvm-version;.src.tar.xz">
    34   <!ENTITY llvm-3rdparty-md5sum        "d51ad18774cb513b725d0945c667efb3">
     32  <!ENTITY llvm-3rdparty-md5sum        "02738a6a48d3e23848d64a955955e491">
    3533  <!ENTITY llvm-3rdparty-size          "376 KB">
    3634]>
     
    131129    </itemizedlist>
    132130
    133     <!-- LLVM-15.0.6 revert: Keep for when we use 16 again.
    134131    <para>
    135132      <emphasis role="strong">Third-party dependencies for LLVM build system</emphasis>
     
    152149      </listitem>
    153150    </itemizedlist>
    154     -->
     151
    155152
    156153    <bridgehead renderas="sect3">Recommended Download</bridgehead>
     
    239236
    240237    <para>
    241       Starting with version 15.0.0, an additional tarball,
    242       <filename>llvm-cmake-&llvm-version;.src.tar.xz</filename> is needed.
    243       Upstream expects it extracted at the same level as the
    244       <filename>llvm-&llvm-version;.src.tar.xz</filename> tarball, and the
    245       extracted directory renamed to
    246       <filename class="directory">cmake</filename>. Extract it and
    247       modify the build system to avoid creating a directory outside of the
    248       <filename>llvm-&llvm-version;.src</filename> hierarchy:
    249     </para>
    250 
    251     <!-- LLVM-15 revert: Delete the above text when upgrading.
    252     <para>
    253238      Two additional tarballs
    254239      <filename>llvm-cmake-&llvm-version;.src.tar.xz</filename> and
     
    264249      <filename>llvm-&llvm-version;.src</filename> hierarchy:
    265250    </para>
    266     -->
    267 
    268 <screen><userinput>tar -xf ../llvm-cmake-&llvm-version;.src.tar.xz &amp;&amp;
    269 sed '/LLVM_COMMON_CMAKE_UTILS/s@../cmake@cmake-&llvm-version;.src@' \
    270     -i CMakeLists.txt</userinput></screen>
    271 
    272 <!-- LLVM-15 revert: Uncomment this and delete the above commands when
    273      upgrading back to LLVM-16.
     251
    274252<screen><userinput>tar -xf ../llvm-cmake-&llvm-version;.src.tar.xz                              &amp;&amp;
    275253tar -xf ../llvm-third-party-&llvm-version;.src.tar.xz                        &amp;&amp;
     
    278256sed '/LLVM_THIRD_PARTY_DIR/s@../third-party@third-party-&llvm-version;.src@' \
    279257    -i cmake/modules/HandleLLVMOptions.cmake</userinput></screen>
    280 -->
    281258
    282259    <para>
     
    314291<screen><userinput remap="pre">patch -Np2 -d tools/clang &lt;../clang-&llvm-version;-enable_default_ssp-1.patch</userinput></screen>
    315292
    316 
    317 <!-- LLVM-15 revert: Uncomment this when going back to LLVM-16.
    318293    <para>
    319294      If you have downloaded <application>compiler-rt</application>,
     
    324299<screen><userinput remap="pre">sed 's/clang_dfsan/&amp; -fno-stack-protector/' \
    325300    -i projects/compiler-rt/test/dfsan/origin_unaligned_memtrans.c</userinput></screen>
    326 -->
    327301
    328302    <para>
     
    378352      by the <systemitem class="username">root</systemitem> user and makes them
    379353      temporarily unusable by all jobs on the machine.)
    380       <!-- 16.0.0: https://github.com/llvm/llvm-project/issues/60678 -->
    381       Note that two tests out of more than 69,200 are known to fail:
    382       <filename>DataFlowSanitizer-x86_64 :: custom.cpp</filename> and
    383       <filename>DataFlowSanitizer-x86_64 :: release_shadow_space.c</filename>.
     354      <!-- 16.0.3: 67327 Passed, 23510 Unsupported, 85 Skipped,
     355                   124 Expectedly Failed -->
     356
    384357      <!-- To editors: it seems there is a more thorough test suite named
    385358           "test-suite-16.0.0.src.tar.xz" on the GitHub release download
  • packages.ent

    r9a22621 r3f6a6dc  
    321321<!ENTITY guile-version                "3.0.9">
    322322<!ENTITY librep-version               "0.92.7">
    323 <!ENTITY llvm-maj-version             "15">
    324 <!ENTITY llvm-point-version           "7">
     323<!ENTITY llvm-maj-version             "16">
     324<!ENTITY llvm-point-version           "3">
    325325<!ENTITY llvm-version                 "&llvm-maj-version;.0.&llvm-point-version;">
    326326<!ENTITY lua-version                  "5.4.4">
Note: See TracChangeset for help on using the changeset viewer.