Changeset 1ff0f0c for general/prog
- Timestamp:
- 09/28/2022 10:34:01 AM (21 months ago)
- Branches:
- 11.3, 12.0, 12.1, 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, xry111/llvm18, xry111/xf86-video-removal
- Children:
- 3d48ae4
- Parents:
- 5fe69261 (diff), 87065037 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- general/prog
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/cmake.xml
r5fe69261 r1ff0f0c 7 7 <!ENTITY cmake-download-http "https://cmake.org/files/v&cmake-major-version;/cmake-&cmake-version;.tar.gz"> 8 8 <!ENTITY cmake-download-ftp " "> 9 <!ENTITY cmake-md5sum " 3360abcd5576dc028204cd4583e6d4e9">9 <!ENTITY cmake-md5sum "84d08f30b110401d8178f0708c19f1fe"> 10 10 <!ENTITY cmake-size "9.9 MB"> 11 <!ENTITY cmake-buildsize "4 17MB (add 1.1 GB for tests)">12 <!ENTITY cmake-time " 2.3 SBU (add 3.9SBU for tests, both using parallelism=4)">11 <!ENTITY cmake-buildsize "443 MB (add 1.1 GB for tests)"> 12 <!ENTITY cmake-time "3.0 SBU (add 4.0 SBU for tests, both using parallelism=4)"> 13 13 ]> 14 14 … … 74 74 </itemizedlist> 75 75 76 <!-- 76 77 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 77 78 <itemizedlist spacing="compact"> … … 83 84 </listitem> 84 85 </itemizedlist> 85 86 --> 86 87 87 88 <bridgehead renderas="sect3">CMake Dependencies</bridgehead> … … 118 119 <title>Installation of CMake</title> 119 120 121 <!-- 120 122 <para> 121 123 First, adapt the FindBoost module to use Boost-1.80.0: … … 123 125 124 126 <screen><userinput remap="pre">patch -Np1 -i ../cmake-&cmake-version;-upstream_fix-1.patch</userinput></screen> 127 --> 125 128 126 129 <para> -
general/prog/git.xml
r5fe69261 r1ff0f0c 133 133 <ulink url="https://metacpan.org/pod/Authen::SASL">Authen::SASL</ulink> and 134 134 <ulink url="https://metacpan.org/pod/MIME::Base64">MIME::Base64</ulink> 135 (both runtime, for <command>git send-email</command>) 135 (both runtime, for <command>git send-email</command>), 136 and <xref linkend='perl-io-socket-ssl'/> (runtime, for 137 <command>git send-email</command> to connect to a SMTP server with 138 SSL encryption) 136 139 </para> 137 140 -
general/prog/llvm.xml
r5fe69261 r1ff0f0c 9 9 <!ENTITY llvm-download-http "&llvm-url;/llvm-&llvm-version;.src.tar.xz"> 10 10 <!ENTITY llvm-download-ftp " "> 11 <!ENTITY llvm-md5sum " 80072c6a4be8b9adb60c6aac01f577db">12 <!ENTITY llvm-size " 47MB">13 <!ENTITY llvm-buildsize "3. 1 GB (824 MB installed, with documentation, add 20GB for tests)">14 <!ENTITY llvm-time " 33 SBU (on 4 CPU cores, with documentation, add 18SBU for tests)">11 <!ENTITY llvm-md5sum "f517bb2708fe68907bd48642c4fac5fe"> 12 <!ENTITY llvm-size "51 MB"> 13 <!ENTITY llvm-buildsize "3.8 GB (922 MB installed, with documentation, add 18.3 GB for tests)"> 14 <!ENTITY llvm-time "20 SBU (on 4 CPU cores, with documentation, add 14 SBU for tests)"> 15 15 16 16 <!ENTITY clang-download-http "&llvm-url;/clang-&llvm-version;.src.tar.xz"> 17 <!ENTITY clang-md5sum " c469d3dc25c743a1e7f17cc6dc32ca62">17 <!ENTITY clang-md5sum "abb7f1286b084b7c149fd83c7b1d8564"> 18 18 <!ENTITY clang-size "18 MB"> 19 19 20 20 <!ENTITY compiler-rt-download-http "&llvm-url;/compiler-rt-&llvm-version;.src.tar.xz"> 21 <!ENTITY compiler-rt-md5sum "4fe314438ea54811f9a02d9e4f90e4dd"> 22 <!ENTITY compiler-rt-size "2.3 MB"> 21 <!ENTITY compiler-rt-md5sum "6dd59ad1f511915e4d70872c91014ddc"> 22 <!ENTITY compiler-rt-size "2.2 MB"> 23 24 <!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 "8b768b6128baf4e6797ae54a10bc0ed2"> 28 <!ENTITY cmake-llvm-size "6.8 KB"> 23 29 ]> 24 30 … … 99 105 </itemizedlist> 100 106 107 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 108 <bridgehead role="required" renderas="sect4">Cmake modules for LLVM</bridgehead> 109 <itemizedlist spacing="compact"> 110 <listitem> 111 <para> 112 Download: <ulink url="&cmake-llvm-download-http;"/> 113 </para> 114 </listitem> 115 <listitem> 116 <para> 117 Download MD5 sum: &cmake-llvm-md5sum; 118 </para> 119 </listitem> 120 <listitem> 121 <para> 122 Download size: &cmake-llvm-size; 123 </para> 124 </listitem> 125 </itemizedlist> 126 101 127 <bridgehead renderas="sect3">Recommended Download</bridgehead> 102 128 <bridgehead role="recommended" renderas="sect4">Clang</bridgehead> … … 138 164 </listitem> 139 165 </itemizedlist> 140 166 <!-- not needed for 15.0.1 141 167 <itemizedlist spacing="compact"> 142 168 <listitem> … … 148 174 </listitem> 149 175 </itemizedlist> 150 176 --> 151 177 <itemizedlist spacing="compact"> 152 178 <listitem> … … 178 204 <xref linkend="zip"/>, 179 205 <ulink url="https://ocaml.org/">OCaml</ulink>, 180 <ulink url="https://pypi.org/project/psutil/">psutil</ulink>, 181 <ulink url="https://pypi.python.org/pypi/recommonmark">recommonmark</ulink>, 182 <ulink url="https://pypi.python.org/pypi/Sphinx">Sphinx</ulink>, and 206 <ulink url="https://pypi.org/project/psutil/">psutil</ulink> (for tests), 207 <ulink url="https://pypi.python.org/pypi/recommonmark">recommonmark</ulink> 208 and <ulink url="https://pypi.python.org/pypi/Sphinx">Sphinx</ulink> 209 (for building the documentation), and 183 210 <ulink url="https://github.com/Z3Prover/z3">Z3</ulink> 184 211 </para> … … 194 221 <note> 195 222 <para> 196 Starting with version 14.0.0, the tarball extracts to two directories: 197 <filename class="directory">llvm-<version>-src</filename> 198 and <filename class="directory">cmake</filename>. This does not change 199 the instructions below; they should be run after changing to 200 the <filename class="directory">llvm-<version>-src</filename> 201 directory, and both directories should be removed after finishing the 202 build. 223 Starting with version 15.0.0, an additional tarball 224 <filename>llvm-cmake-&llvm-version;.src.tar.xz</filename> 225 needs to be extracted at the same level as the 226 <filename>llvm-&llvm-version;.src.tar.xz</filename> tarball, 227 and the extracted directory needs to be renamed to 228 <filename class="directory">cmake</filename>. 203 229 </para> 230 231 <screen><userinput>tar xf ../llvm-cmake-&llvm-version;.src.tar.xz && 232 mv cmake-&llvm-version;.src ../cmake</userinput></screen> 233 204 234 </note> 205 235 … … 228 258 229 259 <screen><userinput>grep -rl '#!.*python' | xargs sed -i '1s/python$/python3/'</userinput></screen> 230 260 <!-- 231 261 <para> 232 262 If you have downloaded <application>compiler-rt</application>, 233 263 fix building it with glibc-2.36 by using the following command: 234 264 </para> 235 <!-- need <../<patch> instead of -i because -d changes directory236 before applying -i -->237 265 <screen><userinput remap="pre">patch -Np2 -d projects/compiler-rt <../compiler-rt-14.0.6-glibc_2_36-1.patch</userinput></screen> 238 266 --> 239 267 <para> 240 268 If you have downloaded <application>clang</application>, … … 301 329 <!--Note that 2 of more than 62090 tests (llvm-libtool-darwin/L-and-l.test 302 330 and ThreadSanitizer-x86_64) are known to fail.--> 303 Note that three tests, <filename>extendhfsf2_test.c</filename>,331 <!--Note that three tests, <filename>extendhfsf2_test.c</filename>, 304 332 <filename>truncdfhf2_test.c</filename>, and 305 <filename>truncsfhf2_test.c</filename> are known to fail. 333 <filename>truncsfhf2_test.c</filename> are known to fail.--> 334 <!-- 15.0.1: --> 335 Note that six tests out of more than 64,700 are known to fail: 336 <filename>AddressSanitizer-x86_64-linux :: TestCases/log-path_test.cpp</filename>, 337 <filename>AddressSanitizer-x86_64-linux-dynamic :: TestCases/log-path_test.cpp</filename>, 338 <filename>DataFlowSanitizer-x86_64 :: custom.cpp</filename>, 339 <filename>DataFlowSanitizer-x86_64 :: origin_unaligned_memtrans.c</filename>, 340 <filename>MemProfiler-x86_64-linux :: TestCases/log_path_test.cpp</filename>, and 341 <filename>MemProfiler-x86_64-linux-dynamic :: TestCases/log_path_test.cpp</filename>. 306 342 </para> 307 343 … … 322 358 323 359 <screen role="root" 324 remap="doc"><userinput>install -v -d -m755 /usr/share/doc/llvm-&llvm-version; 325 mv -v /usr/share/doc/ llvm/html /usr/share/doc/llvm-&llvm-version;/llvm-html&&326 rmdir -v /usr/share/doc/llvm</userinput></screen>360 remap="doc"><userinput>install -v -d -m755 /usr/share/doc/llvm-&llvm-version; && 361 mv -v /usr/share/doc/LLVM/llvm /usr/share/doc/llvm-&llvm-version; && 362 rmdir -v --ignore-fail-on-non-empty /usr/share/doc/LLVM</userinput></screen> 327 363 328 364 <para> … … 333 369 334 370 <screen role="root" 335 remap="doc"><userinput>install -v -d -m755 /usr/share/doc/llvm-&llvm-version; 336 mv -v /usr/share/doc/ clang/html /usr/share/doc/llvm-&llvm-version;/clang-html&&337 rmdir -v /usr/share/doc/clang</userinput></screen>371 remap="doc"><userinput>install -v -d -m755 /usr/share/doc/llvm-&llvm-version; && 372 mv -v /usr/share/doc/LLVM/clang /usr/share/doc/llvm-&llvm-version; && 373 rmdir -v --ignore-fail-on-non-empty /usr/share/doc/LLVM</userinput></screen> 338 374 339 375 </sect2> … … 375 411 <parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter>, this switch enables 376 412 linking the tools against the shared library instead of the static ones. 377 It alsoslightly reduces their size and also ensures that llvm-config378 will correctly use libLLVM-&llvm-maj min-version;.so.413 It slightly reduces their size and also ensures that llvm-config 414 will correctly use libLLVM-&llvm-maj-version;.so. 379 415 </para> 380 416 … … 438 474 clang-<version>), clang-<version>, clang-check, clang-cl, 439 475 clang-cpp (last two symlinks to clang), clang-extdef-mapping, clang-format, 440 clang-offload-bundler, clang-offload-wrapper, 476 clang-linker-wrapper, clang-nvlink-wrapper, 477 clang-offload-bundler, clang-offload-packager, clang-offload-wrapper, 441 478 clang-refactor, clang-rename, clang-repl, clang-scan-deps, 442 diagtool, dsymutil, git-clang-format, hmaptool, llc, lli,479 diagtool, dsymutil, git-clang-format, hmaptool, intercept-build, llc, lli, 443 480 llvm-addr2line (symlink to llvm-symbolizer), 444 481 llvm-ar, llvm-as, llvm-bcanalyzer, … … 446 483 llvm-cfi-verify, llvm-config, llvm-cov, llvm-c-test, llvm-cvtres, 447 484 llvm-cxxdump, llvm-cxxfilt, llvm-cxxmap, 448 llvm-diff, llvm-dis, llvm-dlltool (symlink to llvm-ar), llvm-dwarfdump, 449 llvm-dwp, llvm-exegenesis, llvm-extract, llvm-gsymutil, llvm-ifs, 485 llvm-debuginfod, llvm-debuginfod-find, 486 llvm-diff, llvm-dis, llvm-dlltool (symlink to llvm-ar), 487 llvm-dwarfdump, llvm-dwarfutil, 488 llvm-dwp, llvm-exegesis, llvm-extract, llvm-gsymutil, llvm-ifs, 450 489 llvm-install-name-tool (symlink to llvm-objcopy), llvm-jitlink, 451 490 llvm-lib (symlink to llvm-ar), llvm-libtool-darwin, llvm-link, … … 456 495 llvm-ranlib (symlink to llvm-ar), llvm-rc, 457 496 llvm-readelf (symlink to llvm-readobj), llvm-readobj, llvm-reduce, 497 llvm-remark-size-diff, 458 498 llvm-rtdyld, llvm-sim, llvm-size, llvm-split, llvm-stress, 459 499 llvm-strings, llvm-strip (symlink to llvm-objcopy), llvm-symbolizer, 460 500 llvm-tapi-diff, llvm-tblgen, llvm-undname, llvm-windres (symlink to 461 llvm-rc , llvm-xray, opt, sancov, sanstats, scan-build,462 scan- view, split-file, and verify-uselistorder501 llvm-rc), llvm-xray, opt, sancov, sanstats, scan-build, 502 scan-build-py, scan-view, split-file, and verify-uselistorder 463 503 </seg> 464 504 <seg> 465 505 libLLVM.so, 466 libLLVM*.a ( 89libraries),506 libLLVM*.a (96 libraries), 467 507 libLTO.so, 468 508 libRemarks.so, 469 509 libclang.so, 470 510 libclang-cpp.so, 471 libclang*.a ( 38libraries),511 libclang*.a (41 libraries), 472 512 and LLVMgold.so 473 513 </seg> … … 562 602 </varlistentry> 563 603 564 <!-- 565 <varlistentry id="clang-func-mapping"> 566 <term><command>clang-func-mapping</command></term> 567 <listitem> 568 <para> 569 collects the name and location of all function definitions in the 570 source files. 571 </para> 572 <indexterm zone="llvm clang-func-mapping"> 573 <primary sortas="b-clang-func-mapping">clang-func-mapping</primary> 574 </indexterm> 575 </listitem> 576 </varlistentry> 577 --> 604 <varlistentry id="clang-linker-wrapper"> 605 <term><command>clang-linker-wrapper</command></term> 606 <listitem> 607 <para> 608 is a wrapper utility over the host linker 609 </para> 610 <indexterm zone="llvm clang-linker-wrapper"> 611 <primary sortas="b-clang-linker-wrapper">clang-linker-wrapper</primary> 612 </indexterm> 613 </listitem> 614 </varlistentry> 615 616 <varlistentry id="clang-nvlink-wrapper"> 617 <term><command>clang-nvlink-wrapper</command></term> 618 <listitem> 619 <para> 620 is a wrapper tool over the nvlink program 621 </para> 622 <indexterm zone="llvm clang-nvlink-wrapper"> 623 <primary sortas="b-clang-nvlink-wrapper">clang-nvlink-wrapper</primary> 624 </indexterm> 625 </listitem> 626 </varlistentry> 627 578 628 <varlistentry id="clang-offload-bundler"> 579 629 <term><command>clang-offload-bundler</command></term> … … 585 635 <indexterm zone="llvm clang-offload-bundler"> 586 636 <primary sortas="b-clang-offload-bundler">clang-offload-bundler</primary> 637 </indexterm> 638 </listitem> 639 </varlistentry> 640 641 <varlistentry id="clang-offload-packager"> 642 <term><command>clang-offload-packager</command></term> 643 <listitem> 644 <para> 645 is a tool to bundle several object files into a single binary, 646 which can then be used to create a fatbinary containing offloading 647 code 648 </para> 649 <indexterm zone="llvm clang-offload-packager"> 650 <primary sortas="b-clang-offload-packager">clang-offload-packager</primary> 587 651 </indexterm> 588 652 </listitem> … … 883 947 </varlistentry> 884 948 949 <varlistentry id="llvm-debuginfod"> 950 <term><command>llvm-debuginfod</command></term> 951 <listitem> 952 <para> 953 is a service providing debug information over an HTTP API for 954 analyzing stripped binaries 955 </para> 956 <indexterm zone="llvm llvm-debuginfod"> 957 <primary sortas="b-llvm-debuginfod">llvm-debuginfod</primary> 958 </indexterm> 959 </listitem> 960 </varlistentry> 961 962 <varlistentry id="llvm-debuginfod-find"> 963 <term><command>llvm-debuginfod-find</command></term> 964 <listitem> 965 <para> 966 is an interface to the <command>llvm-debuginfod</command> daemon 967 for finding debuginfod artifacts 968 </para> 969 <indexterm zone="llvm llvm-debuginfod-find"> 970 <primary sortas="b-llvm-debuginfod-find">llvm-debuginfod-find</primary> 971 </indexterm> 972 </listitem> 973 </varlistentry> 974 885 975 <varlistentry id="llvm-diff"> 886 976 <term><command>llvm-diff</command></term> … … 916 1006 <indexterm zone="llvm llvm-dwarfdump"> 917 1007 <primary sortas="b-llvm-dwarfdump">llvm-dwarfdump</primary> 1008 </indexterm> 1009 </listitem> 1010 </varlistentry> 1011 1012 <varlistentry id="llvm-dwarfutil"> 1013 <term><command>llvm-dwarfutil</command></term> 1014 <listitem> 1015 <para> 1016 is a tool to copy and manipulate debug info 1017 </para> 1018 <indexterm zone="llvm llvm-dwarfutil"> 1019 <primary sortas="b-llvm-dwarfutil">llvm-dwarfutil</primary> 918 1020 </indexterm> 919 1021 </listitem> … … 1296 1398 </varlistentry> 1297 1399 1400 <varlistentry id="llvm-remark-size-diff"> 1401 <term><command>llvm-remark-size-diff</command></term> 1402 <listitem> 1403 <para> 1404 reports the difference in instruction count and stack size 1405 remarks between two remark files 1406 </para> 1407 <indexterm zone="llvm llvm-remark-size-diff"> 1408 <primary sortas="b-llvm-remark-size-diff">llvm-remark-size-diff</primary> 1409 </indexterm> 1410 </listitem> 1411 </varlistentry> 1412 1298 1413 <varlistentry id="llvm-rtdyld"> 1299 1414 <term><command>llvm-rtdyld</command></term> … … 1407 1522 </varlistentry> 1408 1523 1409 <!-- 1410 <varlistentry id="obj2yaml"> 1411 <term><command>obj2yaml</command></term> 1412 <listitem> 1413 <para> 1414 takes an object file, and produces a YAML representation of the 1415 file 1416 </para> 1417 <indexterm zone="llvm obj2yaml"> 1418 <primary sortas="b-obj2yaml">obj2yaml</primary> 1419 </indexterm> 1420 </listitem> 1421 </varlistentry> 1422 --> 1524 <varlistentry id="intercept-build"> 1525 <term><command>intercept-build</command></term> 1526 <listitem> 1527 <para> 1528 generates a database of build commands for a project 1529 </para> 1530 <indexterm zone="llvm intercept-build"> 1531 <primary sortas="b-intercept-build">intercept-build</primary> 1532 </indexterm> 1533 </listitem> 1534 </varlistentry> 1535 1423 1536 1424 1537 <varlistentry id="opt"> … … 1467 1580 <indexterm zone="llvm scan-build"> 1468 1581 <primary sortas="b-scan-build">scan-build</primary> 1582 </indexterm> 1583 </listitem> 1584 </varlistentry> 1585 1586 <varlistentry id="scan-build-py"> 1587 <term><command>scan-build-py</command></term> 1588 <listitem> 1589 <para> 1590 is a <application>Python</application> script that invokes the 1591 <application>Clang</application> static analyzer 1592 </para> 1593 <indexterm zone="llvm scan-build-py"> 1594 <primary sortas="b-scan-build-py">scan-build-py</primary> 1469 1595 </indexterm> 1470 1596 </listitem> -
general/prog/lua.xml
r5fe69261 r1ff0f0c 86 86 <para> 87 87 Required patch: 88 <ulink url="&patch-root;/lua-&lua-version;-shared_library- 1.patch"/>88 <ulink url="&patch-root;/lua-&lua-version;-shared_library-2.patch"/> 89 89 </para> 90 90 </listitem> -
general/prog/python-modules/mako.xml
r5fe69261 r1ff0f0c 7 7 <!ENTITY Mako-download-http "&pymodules-dl;/M/Mako/Mako-&mako-version;.tar.gz"> 8 8 <!ENTITY Mako-download-ftp " "> 9 <!ENTITY Mako-md5sum " a50e4d88ac42ff44140d3864f927fb7f">9 <!ENTITY Mako-md5sum "4fa0a489a247c59b36fe3e0de5514fed"> 10 10 <!ENTITY Mako-size "480 KB"> 11 11 <!ENTITY Mako-buildsize "3.1 MB"> -
general/prog/rust.xml
r5fe69261 r1ff0f0c 7 7 <!ENTITY rust-download-http "https://static.rust-lang.org/dist/rustc-&rust-version;-src.tar.xz"> 8 8 <!ENTITY rust-download-ftp " "> 9 <!ENTITY rust-md5sum " 7b8d77e094cf003ed9500c961b282343">10 <!ENTITY rust-size "13 0MB">9 <!ENTITY rust-md5sum "e77ac3a786d013604061b17f99dd9b27"> 10 <!ENTITY rust-size "131 MB"> 11 11 <!-- Gentle Reminder: buildsize is how much the user requires for the real 12 12 install, i.e. the source with its DESTDIR *plus* the DESTDIR. You … … 15 15 after the tests. --> 16 16 17 <!ENTITY rust-buildsize " 8.8 GB (472 MB installed) including 266 MB of ~/.cargo files for the user building this. Add 6.9GB including extra 243 MB of ~/.cargo files if running the tests">18 <!ENTITY rust-time "2 0 SBU (including download time; add 13SBU for tests, both on a 4-core machine)">17 <!ENTITY rust-buildsize "10 GB (516 MB installed) including 266 MB of ~/.cargo files for the user building this. Add 6.2 GB including extra 243 MB of ~/.cargo files if running the tests"> 18 <!ENTITY rust-time "21 SBU (including download time; add 10 SBU for tests, both on a 4-core machine)"> 19 19 ]> 20 20 … … 34 34 <sect2 role="package"> 35 35 <title>Introduction to Rust</title> 36 37 <note>38 <para>39 Currently Rust compiler produces SSE2 instructions for 32-bit x86,40 causing the generated code broken on 32-bit systems without a41 SSE2-capable processor. All x86 processor models released after42 2004 should be SSE2-capable. Run43 <command>lscpu | grep sse2</command> as a test. If it outputs44 anything, your CPU is SSE2-capable and OK. Otherwise you may try45 to build this package <emphasis>on a SSE2-capable system</emphasis>46 with the following fix applied:47 </para>48 49 <!-- computeroutput used deliberately to stop anyone from copying50 blindly -->51 <screen role="nodump"><computeroutput>sed 's@pentium4@pentiumpro@' -i \52 compiler/rustc_target/src/spec/i686_unknown_linux_gnu.rs</computeroutput></screen>53 54 <para>55 And copy the resulted56 <filename class="directory">/opt/rustc-&rust-version;</filename>57 to the system without SSE2 capability. But this change is still58 under upstream review and not tested by BLFS editors.59 </para>60 </note>61 62 36 <para> 63 37 The <application>Rust</application> programming language is designed … … 252 226 <title>Installation of Rust</title> 253 227 228 <note> 229 <para> 230 Currently Rust compiler produces SSE2 instructions for 32-bit x86, 231 causing the generated code broken on 32-bit systems without a 232 SSE2-capable processor. All x86 processor models released after 233 2004 should be SSE2-capable. Run 234 <command>lscpu | grep sse2</command> as a test. If it outputs 235 anything, your CPU is SSE2-capable and OK. Otherwise you may try 236 to build this package <emphasis>on a SSE2-capable system</emphasis> 237 with the following fix applied: 238 </para> 239 240 <!-- computeroutput used deliberately to stop anyone from copying 241 blindly --> 242 <screen role="nodump"><computeroutput>sed 's@pentium4@pentiumpro@' -i \ 243 compiler/rustc_target/src/spec/i686_unknown_linux_gnu.rs</computeroutput></screen> 244 245 <para> 246 And copy the resulting 247 <filename class="directory">/opt/rustc-&rust-version;</filename> 248 to the system without SSE2 capability. But this change is still 249 under upstream review and not tested by BLFS editors. 250 </para> 251 </note> 252 254 253 <para> 255 254 To install into the … … 358 357 359 358 <para> 360 At a minimum, 44 tests will fail: all 43of the tests in359 At a minimum, 51 tests will fail: all 46 of the tests in 361 360 the <quote>assembly</quote> suite which are not skipped (various lints 362 361 cause the warnings in these tests to be treated as errors), and 363 run-make-fulldeps/long-linker-command-lines. 362 5 other tests, 4 of which involve the 363 <filename>rustdoc-ui/issue-98690.rs</filename> file, and another one, 364 <filename>run-make-fulldeps/long-linker-command-lines</filename>. 364 365 <!-- If <command>gdb</command> is installed, another failure 365 366 (debuginfo/function-names.rs) can be expected. … … 498 499 <!-- might be unbroken in 1.36.0, if so remove broken from description 499 500 of miri below. https://github.com/rust-lang/rust/issues/61830 --> 500 Omitting it should save a little time. 501 Omitting it should save a little time. Even if this switch is 502 not given, miri is not installed. 501 503 </para> 502 504 … … 604 606 <seg> 605 607 cargo-clippy, cargo-fmt, cargo-miri (optional), cargo, clippy-driver, 606 miri (optional), 607 rls, rust-demangler, rust-gdb, rust-gdbgui, rust-lldb, rustc, 608 rustdoc, and rustfmt 608 miri (optional), rls, rust-analyzer, rust-demangler, rust-gdb, 609 rust-gdbgui, rust-lldb, rustc, rustdoc, and rustfmt 609 610 </seg> 610 611 <seg> … … 655 656 <listitem> 656 657 <para> 657 <!-- FIXME reword to 'is used by' if Miri installed 658 AND works enough to report its \-\-help --> 659 is for use by Miri to interpret bin crates and tests 658 is for use by Miri to interpret bin crates and tests. It is 659 not installed by default. 660 660 </para> 661 661 <indexterm zone="rust cargo-miri"> … … 694 694 <para> 695 695 is an interpreter for Rust's mid-level intermediate representation 696 (MIR). It is broken in this version696 (MIR). It is not installed by default. 697 697 </para> 698 698 <indexterm zone="rust miri"> … … 729 729 </varlistentry> 730 730 731 <varlistentry id="rust-demangler"> 732 <term><command>rust-demangler</command></term> 733 <listitem> 734 <para> 735 converts a list of Rust mangled symbols into a 736 corresponding list of demangled symbols 737 </para> 738 <indexterm zone="rust rust-demangler"> 739 <primary sortas="b-rust-demangler">rust-demangler</primary> 740 </indexterm> 741 </listitem> 742 </varlistentry> 743 731 744 <varlistentry id="rust-gdb"> 732 745 <term><command>rust-gdb</command></term>
Note:
See TracChangeset
for help on using the changeset viewer.