Update to llvm-14.0.0.

This commit is contained in:
Bruce Dubbs 2022-03-26 16:24:25 -05:00
parent b0e2b0cf2e
commit 3e208e9941
3 changed files with 29 additions and 18 deletions

View File

@ -8,18 +8,18 @@
<!ENTITY llvm-download-http "&llvm-url;/llvm-&llvm-version;.src.tar.xz">
<!ENTITY llvm-download-ftp " ">
<!ENTITY llvm-md5sum "4ca3266b539ccec41cb5094c510221a1">
<!ENTITY llvm-size "43 MB">
<!ENTITY llvm-buildsize "2.6 GB (1 GB installed, with documentation, add 16 GB for tests)">
<!ENTITY llvm-time "30 SBU (on 4 CPU cores, with documentation, add 18 SBU for tests)">
<!ENTITY llvm-md5sum "91ad90cc054593ce95230f4b2118c9d1">
<!ENTITY llvm-size "47 MB">
<!ENTITY llvm-buildsize "3.1 GB (824 MB installed, with documentation, add 20 GB for tests)">
<!ENTITY llvm-time "33 SBU (on 4 CPU cores, with documentation, add 18 SBU for tests)">
<!ENTITY clang-download-http "&llvm-url;/clang-&llvm-version;.src.tar.xz">
<!ENTITY clang-md5sum "89017bafd256ac5ad766920d15d8deba">
<!ENTITY clang-md5sum "350c7e559d1521dba27262d4360d9a53">
<!ENTITY clang-size "18 MB">
<!ENTITY compiler-rt-download-http "&llvm-url;/compiler-rt-&llvm-version;.src.tar.xz">
<!ENTITY compiler-rt-md5sum "f534ab8fb371ec1a8a22a6fa5809be46">
<!ENTITY compiler-rt-size "2.2 MB">
<!ENTITY compiler-rt-md5sum "052cee8030876a5c781bd79524e062b9">
<!ENTITY compiler-rt-size "2.3 MB">
]>
<sect1 id="llvm" xreflabel="LLVM-&llvm-version;">
@ -231,6 +231,7 @@ cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_TARGETS_TO_BUILD="host;AMDGPU;BPF" \
-DLLVM_BINUTILS_INCDIR=/usr/include \
-DLLVM_INCLUDE_BENCHMARKS=OFF \
-Wno-dev -G Ninja .. &amp;&amp;
ninja</userinput></screen>
@ -265,9 +266,8 @@ ninja docs-llvm-html docs-llvm-man</userinput></screen>
class="directory">/sys/devices/system/cpu/cpu&lt;N&gt;/online</filename>
by the <systemitem class="username">root</systemitem> user and makes them
temporarily unusable by all jobs on the machine.)
Note that a few of the compiler-rt Sanitizer based tests (13 of more than 59000
tests run) are known to fail. Some of the LLVM-Unit IR tests are known to
fail as well.
Note that 2 of more than 62090 tests (llvm-libtool-darwin/L-and-l.test
and ThreadSanitizer-x86_64) are known to fail.
</para>
<para>
@ -358,6 +358,13 @@ rmdir -v /usr/share/doc/clang</userinput></screen>
Optimization (LTO).
</para>
<para>
<parameter>-DLLVM_INCLUDE_BENCHMARKS=OFF</parameter>:
is used to disable generation build targets for the LLVM
benchmarks. This option requires additional code that
is not currently available.
</para>
<para>
<option>-DBUILD_SHARED_LIBS=ON</option>: if used instead of
<parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter> and

View File

@ -43,6 +43,16 @@
-->
<listitem>
<para>March 26th, 2022</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Update to llvm-14.0.0. Fixes
<ulink url="&blfs-ticket-root;16315">#16315</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>March 25th, 2022</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Update to wireshark-3.6.3. Fixes
@ -80,12 +90,6 @@
<para>[bdubbs] - Update to webkitgtk-2.36.0. Fixes
<ulink url="&blfs-ticket-root;16304">#16304</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>March 25th, 2022</para>
<itemizedlist>
<listitem>
<para>[ken] - Fix x265 when git has not been installed.</para>
</listitem>

View File

@ -356,8 +356,8 @@ to avoid building libxml2 twice, which is slow with all deps -->
<!ENTITY git-version "2.35.1">
<!ENTITY guile-version "3.0.8">
<!ENTITY librep-version "0.92.7">
<!ENTITY llvm-majmin-version "13.0">
<!ENTITY llvm-point-version "1">
<!ENTITY llvm-majmin-version "14.0">
<!ENTITY llvm-point-version "0">
<!ENTITY llvm-version "&llvm-majmin-version;.&llvm-point-version;">
<!ENTITY lua-version "5.4.4">
<!ENTITY lua52-version "5.2.4">