841 Commits

Author SHA1 Message Date
Alex Crichton
8ef3f69ffb Add a disabled builder for aarch64 emulated tests
This commit adds a disabled builder which will run all tests for the standard
library for aarch64 in a QEMU instance. Once we get enough capacity to run this
on Travis this can be used to boost our platform coverage of AArch64
2017-07-24 16:24:52 -07:00
bors
b80e946101 Auto merge of #43430 - Mark-Simulacrum:rustbuild-fixes, r=alexcrichton
Rustbuild regression fixes

I believe this will fix https://github.com/rust-lang/rust/issues/43427.

This PR also avoids running pretty tests by-default.

r? @alexcrichton
2017-07-24 17:21:04 +00:00
Mark Simulacrum
fef9b48252 Make dist equivalent to old build system. 2017-07-24 09:05:27 -06:00
bors
513906c43d Auto merge of #43327 - nrc:rls-config, r=eddyb
Use a config struct for save-analysis

Replaces some existing customisation options, including removing the -Zsave-analysis-api flag

r? @eddyb
2017-07-24 07:29:25 +00:00
Nick Cameron
5134a5f02c Remove save-analysis-api references from tests and rustbuild 2017-07-24 17:25:16 +12:00
Mark Simulacrum
a88a09c716 Do not run pretty tests by default. 2017-07-23 09:54:42 -06:00
Mark Simulacrum
1c118231ad Make distcheck work again. 2017-07-22 10:48:29 -06:00
Mark Simulacrum
8f2e576cb3 Add make_run to distcheck. 2017-07-22 07:35:42 -06:00
Mark Simulacrum
d302c18937 Fix StartupObject build 2017-07-22 05:50:55 -06:00
Mark Simulacrum
6a67a050c6 Change make_run signature to taking a RunConfig struct for refactorability. 2017-07-20 17:51:07 -06:00
Mark Simulacrum
b05af49086 Add an optional condition to constrain defaults.
Utilized primarily to not be a default rule unless some configuration is
given (e.g., compiler docs are enabled).
2017-07-20 17:24:11 -06:00
Mark Simulacrum
d8aecc19d8 Remove step.rs 2017-07-20 16:41:46 -06:00
Mark Simulacrum
e9c2242050 Remove step.rs comments 2017-07-20 16:41:26 -06:00
Mark Simulacrum
8563280bec Check RLS tests 2017-07-20 16:33:49 -06:00
Mark Simulacrum
bcd73c9657 Change default documentation rules to correspond with previous state. 2017-07-20 16:33:49 -06:00
Mark Simulacrum
951616cac6 Don't include lldb/gdb in default tests 2017-07-20 16:33:49 -06:00
Mark Simulacrum
f1d04a3434 Don't run host-only tests when targeting another platform 2017-07-20 11:24:37 -06:00
Mark Simulacrum
4a21c72fb0 Fix a few issues found by comparing past/present 2017-07-20 11:24:37 -06:00
Mark Simulacrum
5bdec80fe3 Allow iterating over step descriptions.
This simplifies code and allows working mostly with normal Rust instead
of macros.
2017-07-20 11:24:37 -06:00
Mark Simulacrum
56128fb3ac Implement available paths list. 2017-07-20 11:24:37 -06:00
Mark Simulacrum
bca1e2ffd1 Use a single line for serde annotations. 2017-07-20 11:24:37 -06:00
Mark Simulacrum
981afa52f6 Krate -> Crate 2017-07-20 11:24:37 -06:00
Mark Simulacrum
ba1fc82fe4 Remove outdated code.
Relevant sys crates handle this properly.
2017-07-20 11:24:37 -06:00
Mark Simulacrum
7414868853 Remove TypeId from stack in Builder 2017-07-20 11:24:37 -06:00
Aidan Hobson Sayers
28defe0fce Remove deserialize 2017-07-20 11:24:36 -06:00
Mark Simulacrum
dec44b0656 Resolve rebase errors 2017-07-20 11:24:36 -06:00
Guillaume Gomez
828b661ae0 fail in case nothing to run was found 2017-07-20 11:24:36 -06:00
Mark Simulacrum
f19728f4c7 Fix tidy 2017-07-20 11:24:36 -06:00
Mark Simulacrum
17f4b8f0e1 Remove outdated FIXME from cache 2017-07-20 11:24:36 -06:00
Mark Simulacrum
fc3d06ac86 Implement keep-stage support 2017-07-20 11:24:36 -06:00
Mark Simulacrum
681b12316c Require should_run to be implemented. 2017-07-20 11:24:36 -06:00
Mark Simulacrum
270d1d69ed Make the book default. 2017-07-20 11:24:36 -06:00
Mark Simulacrum
528646e127 Utilize interning to allow Copy/Clone steps 2017-07-20 11:24:32 -06:00
Mark Simulacrum
e7b1a60ad7 Remove core_intrinsics feature gate 2017-07-20 11:24:00 -06:00
Mark Simulacrum
6a85193149 Clean up install 2017-07-20 11:24:00 -06:00
Mark Simulacrum
5984e70af2 Cleanups and fixes throughout 2017-07-20 11:24:00 -06:00
Mark Simulacrum
ceecd6250f Fix more incorrectly transitioned code 2017-07-20 11:23:59 -06:00
Mark Simulacrum
a5ab2ceef8 Fix a few errors introduced during rebase. 2017-07-20 11:23:59 -06:00
Mark Simulacrum
c7435b52a9 Cherry pick changes from ce3abc5801f94292be9bc5fbe00b52f1ccb28672.
Fix stage 2 builds with a custom libdir.

When copying libstd for the stage 2 compiler, the builder ignores the
configured libdir/libdir_relative configuration parameters.  This causes
the compiler to fail to find libstd, which cause any tools built with the
stage 2 compiler to fail.

To fix this, make the copy steps of rustbuild aware of the libdir_relative
parameter when the stage >= 2.  Also update the dist target to be aware of
the new location of libstd.
2017-07-20 11:23:59 -06:00
Mark Simulacrum
a1fa2681cf Update to toml 0.4 2017-07-20 11:23:59 -06:00
Mark Simulacrum
d360af45bb Migrate to serde_json entirely 2017-07-20 11:23:59 -06:00
Mark Simulacrum
d812d430a4 Fix a nit. 2017-07-20 11:23:59 -06:00
Mark Simulacrum
aa8b93bd10 Rework compiletest implementation. 2017-07-20 11:23:59 -06:00
Mark Simulacrum
1ab8930603 Move compiletest config into a struct 2017-07-20 11:23:59 -06:00
Mark Simulacrum
b881aaed90 Document the process more thoroughly 2017-07-20 11:23:59 -06:00
Mark Simulacrum
8264e42cb2 Add documentation to Step and related methods on Builder. 2017-07-20 11:23:58 -06:00
Mark Simulacrum
e62fdf3a59 Pacify tidy 2017-07-20 11:23:58 -06:00
Mark Simulacrum
ef1d1bdc18 Move code out of macro and into generic method. 2017-07-20 11:23:58 -06:00
Mark Simulacrum
c114fe576f Finish fixing warnings and errors. Bootstrap builds. 2017-07-20 11:23:58 -06:00
Mark Simulacrum
7db49fb467 Move cargo() to Builder 2017-07-20 11:23:58 -06:00