Update to LLVM-15.0.6

This commit is contained in:
Pierre Labastie 2022-11-30 15:44:26 +01:00
parent 0bdfbb9be5
commit 5a8c6008bf
3 changed files with 16 additions and 21 deletions

View File

@ -8,23 +8,23 @@
<!ENTITY llvm-download-http "&llvm-url;/llvm-&llvm-version;.src.tar.xz">
<!ENTITY llvm-download-ftp " ">
<!ENTITY llvm-md5sum "a6c26842fd81475295544b50b274f509">
<!ENTITY llvm-size "50 MB">
<!ENTITY llvm-buildsize "3.7 GB (1.0 GB installed; add 18.3 GB for tests and 242 MB for documentation)">
<!ENTITY llvm-time "29 SBU (with doc, on 4 CPU cores; add 19 SBU for tests)">
<!ENTITY llvm-md5sum "6812fb953d8e50f029848b281d89ad67">
<!ENTITY llvm-size "51 MB">
<!ENTITY llvm-buildsize "3.6 GB (848 MB installed; add 18.3 GB for tests and 308 MB for documentation)">
<!ENTITY llvm-time "31 SBU (with doc, on 4 CPU cores; add 22 SBU for tests)">
<!ENTITY clang-download-http "&llvm-url;/clang-&llvm-version;.src.tar.xz">
<!ENTITY clang-md5sum "e0be450c75553fa6c864837aa1f1d7e8">
<!ENTITY clang-md5sum "f9c15101030fb669af522cc8814484e8">
<!ENTITY clang-size "18 MB">
<!ENTITY compiler-rt-download-http "&llvm-url;/compiler-rt-&llvm-version;.src.tar.xz">
<!ENTITY compiler-rt-md5sum "fcad41530d4c8fbbe3f4e5b59a176a70">
<!ENTITY compiler-rt-md5sum "c1d9422709c74c208bfaf7f9d707b757">
<!ENTITY compiler-rt-size "2.2 MB">
<!ENTITY cmake-llvm-download-http "&sources-anduin-http;/llvm/llvm-cmake-&llvm-version;.src.tar.xz">
<!-- <!ENTITY cmake-llvm-download-http "&llvm-url;/cmake-&llvm-version;.src.tar.xz">
Renamed cmake-15.0.1.src.tar.xz and placed on anduin.-->
<!ENTITY cmake-llvm-md5sum "fb2ef6f3f75ee620e0c8f2b68487bdb7">
<!ENTITY cmake-llvm-md5sum "39eb4055b66b65c9052ea1d1240026e2">
<!ENTITY cmake-llvm-size "6.8 KB">
]>
@ -248,13 +248,7 @@ mv projects/compiler-rt-&llvm-version;.src projects/compiler-rt</userinput></scr
</para>
<screen><userinput>grep -rl '#!.*python' | xargs sed -i '1s/python$/python3/'</userinput></screen>
<!--
<para>
If you have downloaded <application>compiler-rt</application>,
fix building it with glibc-2.36 by using the following command:
</para>
<screen><userinput remap="pre">patch -Np2 -d projects/compiler-rt &lt;../compiler-rt-14.0.6-glibc_2_36-1.patch</userinput></screen>
-->
<para>
If you have downloaded <application>clang</application>,
apply the following patch to enable <xref linkend="gSSP"/> by default
@ -323,13 +317,10 @@ ninja docs-llvm-html docs-llvm-man</userinput></screen>
<filename>truncdfhf2_test.c</filename>, and
<filename>truncsfhf2_test.c</filename> are known to fail.-->
<!-- 15.0.1: -->
Note that six tests out of more than 64,700 are known to fail:
<filename>AddressSanitizer-x86_64-linux :: TestCases/log-path_test.cpp</filename>,
<filename>AddressSanitizer-x86_64-linux-dynamic :: TestCases/log-path_test.cpp</filename>,
Note that three tests out of more than 64,700 are known to fail:
<filename>DataFlowSanitizer-x86_64 :: custom.cpp</filename>,
<filename>DataFlowSanitizer-x86_64 :: origin_unaligned_memtrans.c</filename>,
<filename>LLVM :: tools/llvm-libtool-darwin/L-and-l.test</filename>,
<filename>MemProfiler-x86_64-linux :: TestCases/log_path_test.cpp</filename>, and
<filename>MemProfiler-x86_64-linux-dynamic :: TestCases/log_path_test.cpp</filename>
</para>
<para>
@ -494,7 +485,7 @@ rmdir -v --ignore-fail-on-non-empty /usr/share/doc/LLVM</userinput></screen>
</seg>
<seg>
libLLVM.so,
libLLVM*.a (96 libraries),
libLLVM*.a (95 libraries),
libLTO.so,
libRemarks.so,
libclang.so,

View File

@ -41,6 +41,10 @@
<listitem>
<para>November 30th, 2022</para>
<itemizedlist>
<listitem>
<para>[pierre] - Update to LLVM-15.0.6. Fixes
<ulink url="&blfs-ticket-root;17359">#17359</ulink>.</para>
</listitem>
<listitem>
<para>[pierre] - Update to newt-0.52.23. Fixes
<ulink url="&blfs-ticket-root;17358">#17358</ulink>.</para>

View File

@ -311,7 +311,7 @@ to avoid building libxml2 twice, which is slow with all deps -->
<!ENTITY guile-version "3.0.8">
<!ENTITY librep-version "0.92.7">
<!ENTITY llvm-maj-version "15">
<!ENTITY llvm-point-version "5">
<!ENTITY llvm-point-version "6">
<!ENTITY llvm-version "&llvm-maj-version;.0.&llvm-point-version;">
<!ENTITY lua-version "5.4.4">
<!ENTITY lua52-version "5.2.4">