Changeset d7c5e6c
- Timestamp:
- 10/11/2022 12:08:40 PM (5 months ago)
- Branches:
- xry111/rust-wip-20221008
- Children:
- 46c837b
- Parents:
- 32f686f (diff), 4621dcb (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. - Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter03/packages.xml
r32f686f rd7c5e6c 479 479 480 480 <varlistentry> 481 <term>LLVM-cmake Modules (&llvm-cmake-version;) - <token>&llvm-cmake-size;</token>:</term>482 <listitem>483 <para>Home page: <ulink url="&llvm-cmake-home;"/></para>484 <para>Download: <ulink url="&llvm-cmake-url;"/></para>485 <para>MD5 sum: <literal>&llvm-cmake-md5;</literal></para>486 </listitem>487 </varlistentry>488 489 <varlistentry>490 481 <term>LLVM (&llvm-version;) - <token>&llvm-size;</token>:</term> 491 482 <listitem> … … 493 484 <para>Download: <ulink url="&llvm-url;"/></para> 494 485 <para>MD5 sum: <literal>&llvm-md5;</literal></para> 486 </listitem> 487 </varlistentry> 488 489 <varlistentry> 490 <term>LLVM CMake Modules (&llvm-version;) - <token>&llvm-cmake-size;</token>:</term> 491 <listitem> 492 <para>Home page: <ulink url="&llvm-home;"/></para> 493 <para>Download: <ulink url="&llvm-cmake-url;"/></para> 494 <para>MD5 sum: <literal>&llvm-cmake-md5;</literal></para> 495 495 </listitem> 496 496 </varlistentry> -
chapter06/rustc.xml
r32f686f rd7c5e6c 54 54 55 55 <para>In the first pass, build Rustc as a cross compiler for 56 <envar>$LFS_TGT</envar>. Create a suitable configuration:</para> 56 <envar>$LFS_TGT</envar>. The cross compiler will link to LLVM Pass 1, 57 so we need to tell the dynamic linker of the host distro where to find 58 the LLVM Pass 1 dynamic library:</para> 59 60 <screen><userinput remap="pre">export LD_LIBRARY_PATH=$LFS/tools/lib</userinput></screen> 61 62 <para>Create a suitable configuration:</para> 57 63 58 64 <screen><userinput remap="pre">install -vm755 src/llvm-project/llvm/cmake/config.guess config.guess … … 164 170 ln -sv rustc-&rustc-version; $LFS/opt/rustc</userinput></screen> 165 171 172 <!-- Maybe we should just set LD_LIBRARY_PATH=$LFS/tools 173 during the entire chapter 5 and 6. But doing so will need to 174 modify .bashrc of lfs user. For now just unset it, so the manual 175 build is consistent with jhalfs. --> 176 <para>Clean up the environment:</para> 177 178 <screen><userinput remap="make">unset LD_LIBRARY_PATH</userinput></screen> 179 166 180 </sect2> 167 181 -
packages.ent
r32f686f rd7c5e6c 467 467 <!ENTITY llvm-final-du "3,800 MB"> 468 468 469 <!-- TODO: if we merge Rust into trunk, create a symlink on anduin and 470 use &anduin-sources; instead --> 471 <!ENTITY llvm-cmake-url "https://anduin.linuxfromscratch.org/BLFS/llvm/llvm-cmake-15.0.1.src.tar.xz"> 472 <!ENTITY llvm-cmake-md5 "8b768b6128baf4e6797ae54a10bc0ed2"> 473 <!ENTITY llvm-cmake-size "8 KB"> 474 469 475 <!ENTITY m4-version "1.4.19"> 470 476 <!ENTITY m4-size "1,617 KB">
Note:
See TracChangeset
for help on using the changeset viewer.