- Timestamp:
- 01/07/2019 01:30:32 AM (5 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.4, 9.0, 9.1, bdubbs/svn, 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, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- d8a1b786
- Parents:
- af80dbe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/rust.xml
raf80dbe rcfa8b6d 58 58 Rustc defaults to building for ALL supported architectures, using a 59 59 shipped copy of LLVM. In BLFS the build is only for the X86 architecture. 60 Rustc still claims to require Python2, but that is only really necessary 61 when building some other architectures with the shipped LLVM. If you 60 If you 62 61 intend to develop rust crates, this build may not be good enough for your 63 62 purposes. … … 120 119 <xref linkend="curl"/>, 121 120 <xref linkend="cmake"/>, 122 <xref linkend="libssh2"/> 123 <!-- <xref linkend="python2"/> -->121 <xref linkend="libssh2"/>, and 122 <xref linkend="python2"/> 124 123 </para> 125 124 … … 195 194 196 195 <screen><userinput>export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi" && 197 python3./x.py build</userinput></screen>196 ./x.py build</userinput></screen> 198 197 199 198 <para> … … 206 205 <para> 207 206 On AMD Ryzen processors (family 17h), the non-optimized version of libstd 208 which is compiled at the start of the tests contains two opcodes which are209 not implemented on this CPU family. These will be logged in the207 which is compiled at the start of the tests contains one or more opcodes 208 which are not implemented on this CPU family. These will be logged in the 210 209 <phrase revision="sysv">system log</phrase> 211 210 <phrase revision="systemd">systemd journal</phrase> … … 225 224 <para> 226 225 To run the tests issue 227 <command> python3./x.py test --verbose --no-fail-fast | tee rustc-testlog</command>:226 <command>./x.py test --verbose --no-fail-fast | tee rustc-testlog</command>: 228 227 as with the build, that will use all available CPUs. This runs many suites 229 228 of tests (in an apparently random order), several will fail in BLFS: … … 262 261 263 262 <screen><userinput>export LIBSSH2_SYS_USE_PKG_CONFIG=1 && 264 DESTDIR=${PWD}/install python3./x.py install &&263 DESTDIR=${PWD}/install ./x.py install && 265 264 unset LIBSSH2_SYS_USE_PKG_CONFIG</userinput></screen> 266 265
Note:
See TracChangeset
for help on using the changeset viewer.