Changeset b30ce9b
- Timestamp:
- 03/19/2023 07:32:43 AM (15 months ago)
- Branches:
- 12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
- Children:
- 17418d43
- Parents:
- f8b4f14
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/llvm.xml
rf8b4f14 rb30ce9b 9 9 <!ENTITY llvm-download-http "&llvm-url;/llvm-&llvm-version;.src.tar.xz"> 10 10 <!ENTITY llvm-download-ftp " "> 11 <!ENTITY llvm-md5sum "c 77db4c71e1eb267358204dffe2c6e10">12 <!ENTITY llvm-size "5 0MB">13 <!ENTITY llvm-buildsize " 2.7 GB (848 MB installed; add 18.3GB for tests and 308 MB for documentation)">11 <!ENTITY llvm-md5sum "c465413aa9ab18837f40cc5750d39a33"> 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)"> 14 14 <!ENTITY llvm-time "24 SBU (Using parallelism=4; add 22 SBU for tests)"> 15 15 16 16 <!ENTITY clang-download-http "&llvm-url;/clang-&llvm-version;.src.tar.xz"> 17 <!ENTITY clang-md5sum " a6d0141e50b48f5e60c682277dac83b4">18 <!ENTITY clang-size " 18MB">17 <!ENTITY clang-md5sum "d38fd3897a0fd6dc396c973ba08662aa"> 18 <!ENTITY clang-size "20 MB"> 19 19 20 20 <!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 "5f0633ec762fed4f1e2c450b3654caa6"> 22 22 <!ENTITY compiler-rt-size "2.3 MB"> 23 23 24 <!-- CMake modules and third party dependencies renamed and uploaded 25 onto anduin to avoid stupid file names. --> 26 24 27 <!ENTITY cmake-llvm-download-http "&sources-anduin-http;/llvm/llvm-cmake-&llvm-version;.src.tar.xz"> 25 <!-- <!ENTITY cmake-llvm-download-http "&llvm-url;/cmake-&llvm-version;.src.tar.xz"> 26 Renamed cmake-15.0.1.src.tar.xz and placed on anduin.--> 27 <!ENTITY cmake-llvm-md5sum "c3647d253f67ce255e1aba014e528f5b"> 28 <!ENTITY cmake-llvm-size "6.8 KB"> 28 <!ENTITY cmake-llvm-md5sum "b2103df1421f7bcc271fcacec27a24bb"> 29 <!ENTITY cmake-llvm-size "12 KB"> 30 31 <!ENTITY llvm-3rdparty-download-http "&sources-anduin-http;/llvm/llvm-third-party-&llvm-version;.src.tar.xz"> 32 <!ENTITY llvm-3rdparty-md5sum "d51ad18774cb513b725d0945c667efb3"> 33 <!ENTITY llvm-3rdparty-size "376 KB"> 29 34 ]> 30 35 … … 123 128 </listitem> 124 129 </itemizedlist> 130 131 <para> 132 <emphasis role="strong">Third-party dependencies for LLVM build system</emphasis> 133 </para> 134 <itemizedlist spacing="compact"> 135 <listitem> 136 <para> 137 Download: <ulink url="&llvm-3rdparty-download-http;"/> 138 </para> 139 </listitem> 140 <listitem> 141 <para> 142 Download MD5 sum: &llvm-3rdparty-md5sum; 143 </para> 144 </listitem> 145 <listitem> 146 <para> 147 Download size: &llvm-3rdparty-size; 148 </para> 149 </listitem> 150 </itemizedlist> 151 125 152 126 153 <bridgehead renderas="sect3">Recommended Download</bridgehead> … … 209 236 210 237 <para> 211 Starting with version 15.0.0, an additional tarball 212 <filename>llvm-cmake-&llvm-version;.src.tar.xz</filename> 213 is needed. The upstream expects it extracted at the same level as 214 the <filename>llvm-&llvm-version;.src.tar.xz</filename> tarball, 215 and the extracted directory renamed to 216 <filename class="directory">cmake</filename>. Extract it and 217 modify the build system to avoid creating a directory outside the 238 Two additional tarballs 239 <filename>llvm-cmake-&llvm-version;.src.tar.xz</filename> and 240 <filename>llvm-third-party-&llvm-version;.src.tar.xz</filename> are 241 needed by LLVM building system. The upstream expects them extracted 242 at the same level as the 243 <filename>llvm-&llvm-version;.src.tar.xz</filename> tarball, 244 and the extracted directories renamed to 245 <filename class="directory">cmake</filename> and 246 <filename class="directory">third-party</filename>. Extract them and 247 modify the build system to avoid creating ambiguously-named 248 directories outside the 218 249 <filename>llvm-&llvm-version;.src</filename> hierarchy: 219 250 </para> 220 251 221 <screen><userinput>tar -xf ../llvm-cmake-&llvm-version;.src.tar.xz && 222 sed '/LLVM_COMMON_CMAKE_UTILS/s@../cmake@cmake-&llvm-version;.src@' \ 223 -i CMakeLists.txt</userinput></screen> 252 <screen><userinput>tar -xf ../llvm-cmake-&llvm-version;.src.tar.xz && 253 tar -xf ../llvm-third-party-&llvm-version;.src.tar.xz && 254 sed '/LLVM_COMMON_CMAKE_UTILS/s@../cmake@cmake-&llvm-version;.src@' \ 255 -i CMakeLists.txt && 256 sed '/LLVM_THIRD_PARTY_DIR/s@../third-party@third-party-&llvm-version;.src@' \ 257 -i cmake/modules/HandleLLVMOptions.cmake</userinput></screen> 224 258 225 259 <para> … … 256 290 before applying -i --> 257 291 <screen><userinput remap="pre">patch -Np2 -d tools/clang <../clang-&llvm-version;-enable_default_ssp-1.patch</userinput></screen> 292 293 <para> 294 If you have downloaded <application>compiler-rt</application>, 295 fix a test case broken by default SSP in 296 <application>clang</application>: 297 </para> 298 299 <screen><userinput remap="pre">sed 's/clang_dfsan/& -fno-stack-protector/' \ 300 -i projects/compiler-rt/test/dfsan/origin_unaligned_memtrans.c</userinput></screen> 258 301 259 302 <para> … … 309 352 by the <systemitem class="username">root</systemitem> user and makes them 310 353 temporarily unusable by all jobs on the machine.) 311 <!--Note that 2 of more than 62090 tests (llvm-libtool-darwin/L-and-l.test 312 and ThreadSanitizer-x86_64) are known to fail.--> 313 <!--Note that three tests, <filename>extendhfsf2_test.c</filename>, 314 <filename>truncdfhf2_test.c</filename>, and 315 <filename>truncsfhf2_test.c</filename> are known to fail.--> 316 <!-- 15.0.1: --> 317 Note that four tests out of more than 64,700 are known to fail: 318 <filename>DataFlowSanitizer-x86_64 :: custom.cpp</filename>, 319 <filename>DataFlowSanitizer-x86_64 :: origin_unaligned_memtrans.c</filename>, 320 <filename>DataFlowSanitizer-x86_64 :: release_shadow_space.c</filename>, 321 <filename>LLVM :: tools/llvm-libtool-darwin/L-and-l.test</filename>, 354 <!-- 16.0.0: https://github.com/llvm/llvm-project/issues/60678 --> 355 Note that two tests out of more than 69,200 are known to fail: 356 <filename>DataFlowSanitizer-x86_64 :: custom.cpp</filename> and 357 <filename>DataFlowSanitizer-x86_64 :: release_shadow_space.c</filename>. 358 <!-- To editors: it seems there is a more thorough test suite named 359 "test-suite-16.0.0.src.tar.xz" on the GitHub release download 360 page. The usage of it is on 361 https://llvm.org/docs/TestSuiteGuide.html. It looks like we've 362 never mentioned it in BLFS. --> 322 363 </para> 323 364 -
introduction/welcome/changelog.xml
rf8b4f14 rb30ce9b 40 40 --> 41 41 <listitem> 42 <para>March 19th, 2023</para> 43 <itemizedlist> 44 <listitem> 45 <para>[xry111] - Update to llvm-16.0.0. Fixes 46 <ulink url="&blfs-ticket-root;17799">#17799</ulink>.</para> 47 </listitem> 48 </itemizedlist> 49 </listitem> 50 51 <listitem> 42 52 <para>March 17th, 2023</para> 43 53 <itemizedlist> -
packages.ent
rf8b4f14 rb30ce9b 319 319 <!ENTITY guile-version "3.0.9"> 320 320 <!ENTITY librep-version "0.92.7"> 321 <!ENTITY llvm-maj-version "1 5">322 <!ENTITY llvm-point-version " 7">321 <!ENTITY llvm-maj-version "16"> 322 <!ENTITY llvm-point-version "0"> 323 323 <!ENTITY llvm-version "&llvm-maj-version;.0.&llvm-point-version;"> 324 324 <!ENTITY lua-version "5.4.4">
Note:
See TracChangeset
for help on using the changeset viewer.