Changeset 69d1a8e for general/prog/rust.xml
- Timestamp:
- 03/31/2020 02:23:02 AM (3 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, ken/inkscape-core-mods, lazarus, plabs/python-mods, qt5new, trunk, upgradedb, xry111/intltool, xry111/soup3, xry111/test-20220226
- Children:
- 876948d
- Parents:
- 73db5703
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/rust.xml
r73db5703 r69d1a8e 7 7 <!ENTITY rust-download-http "https://static.rust-lang.org/dist/rustc-&rust-version;-src.tar.gz"> 8 8 <!ENTITY rust-download-ftp " "> 9 <!ENTITY rust-md5sum " b348233fdbbf7858763bab7cb9c314ae">10 <!ENTITY rust-size "1 46MB">9 <!ENTITY rust-md5sum "ff5731326898a7010403e1b148375de4"> 10 <!ENTITY rust-size "130 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 " 9.0 GB (747 MB installed) including 344 MB of ~/.cargo files for the user building this. Add 2.3GB if running the tests">18 <!ENTITY rust-time " 52 SBU (add 15SBU for tests, both on a 4-core machine)">17 <!ENTITY rust-buildsize "5.7 GB (250 MB installed) including 344 MB of ~/.cargo files for the user building this. Add 2.5 GB if running the tests"> 18 <!ENTITY rust-time "33 SBU (add 17 SBU for tests, both on a 4-core machine)"> 19 19 ]> 20 20 … … 188 188 </para> 189 189 190 <!--<bridgehead renderas="sect4">Recommended</bridgehead>190 <bridgehead renderas="sect4">Recommended</bridgehead> 191 191 <para role="recommended"> 192 192 <package>clang</package> from <xref linkend="llvm"/> 193 193 (built with -DLLVM_LINK_LLVM_DYLIB=ON so that rust can link to 194 194 system LLVM instead of building its shipped version) 195 </para> FIXME reinstate when next using system llvm --> 195 If using an older version, see the config.toml file below re 196 using the shipped llvm, because of rust issue 69225. 197 </para> 196 198 197 199 <bridgehead renderas="sect4">Optional</bridgehead> … … 237 239 <screen><userinput>cat << EOF > config.toml 238 240 <literal># see config.toml.example for more possible options 239 # See the 9.1 book for an example using systemLLVM240 # e.g. if you are still using llvm-9.0.1241 # See the 8.4 book for an example using shipped LLVM 242 # e.g. if not installing clang, or using a version before 10.0 241 243 [llvm] 242 244 # by default, rust will build for a myriad of architectures … … 305 307 <filename>run-make-fulldeps/sysroot-crates-are-unstable</filename> 306 308 fails, presumably because we are using only stable features. 307 <!-- https://github.com/rust-lang/rust/issues/63520 -->308 A fifth test, run-make-fulldeps/linker-output-non-utf8, is broken.309 309 <!-- gdb appears to be fixed now 310 310 If gdb has been installed, in some circumstances tests in … … 318 318 319 319 <para> 320 Therefore, you should determine the number of tests, failures, etc. The 321 total number of tests which were considered is found by running: 322 </para> 323 324 <screen remap="test"><userinput>grep 'running .* tests' rustc-testlog | awk '{ sum += $2 } END { print sum }'</userinput></screen> 325 326 <para> 327 That should report 17349 tests. Similarly, the total tests which failed can 328 be found by running: 320 If you get any <emphasis>other</emphasis> failing test which reports an 321 issue number then you should search for that issue. For example, when 322 rustc >= 1.41.1 is built with a version of sysllvm before 10.0 the test 323 for issue 69225 fails <ulink 324 url="https://github.com/rust-lang/rust/issues/69225"/> and that should be 325 regarded as a critical failurei (they released 1.41.1 because of it). 326 Most other failures will not be critical. 327 </para> 328 329 <para> 330 Therefore, you should determine the number of failures. The total number 331 of tests varies depending on which dependencies are present, e.g. more 332 will be run if <command>gdb</command> is available. If you wish, the 333 total number which were considered can be found if you run: 334 </para> 335 336 <screen remap="test"><userinput>egrep 'running [[:digit:]]+ test' rustc-testlog | awk '{ sum += $2 } END { print sum }'</userinput></screen> 337 338 <para> 339 More importantly, the total of tests which failed can be found by running: 329 340 </para> 330 341 … … 332 343 333 344 <para> 334 And similarly for the tests which passed use $4, for those which were ignored335 (i.e. skipped) use $8 (and $10 for 'measured', $12 for 'filtered out' but both336 are probably zero). The breakdown does not quite match the overall total.345 And similarly if you care about how many tests passed use $4, for those 346 which were ignored (i.e. skipped) use $8 (and $10 for 'measured', $12 for 347 'filtered out' but both are probably zero). 337 348 </para> 338 349
Note:
See TracChangeset
for help on using the changeset viewer.