Steven Laabs
475405b6af
Handle current directory prefix for parsing command arguments in bootstrap test command.
2018-06-22 09:09:31 -05:00
Steven Laabs
be3cd464fd
Added stripping current directory prefixes when comparing suite path names
2018-06-22 09:09:31 -05:00
bors
e11c95dda1
Auto merge of #50336 - japaric:llvm-tools, r=Mark-Simulacrum
...
ship LLVM tools with the toolchain
this PR adds llvm-{nm,objcopy,objdump,size} to the rustc sysroot (right next to LLD)
this slightly increases the size of the rustc component. I measured these numbers on x86_64 Linux:
- rustc-1.27.0-dev-x86_64-unknown-linux-gnu.tar.gz 180M -> 193M (+7%)
- rustc-1.27.0-dev-x86_64-unknown-linux-gnu.tar.xz 129M -> 137M (+6%)
r? @alexcrichton
cc #49584
2018-06-21 11:28:14 +00:00
Jorge Aparicio
9a96876d2d
no -Bsymbolic for mac; no static-libstdc++ for windows
2018-06-20 17:48:04 -05:00
bors
6ec1b626ba
Auto merge of #51367 - oli-obk:silence!_I_test_you, r=Mark-Simulacrum
...
Use quiet tests by default
r? @eddyb
2018-06-19 15:05:19 +00:00
Mark Simulacrum
b436dca9e6
Prevent Windows filesystem races in bootstrap tests
2018-06-16 11:12:15 -06:00
Mark Simulacrum
18bb86e5e1
Move bootstrap tests to the end of the default test run
...
Since they are unlikely to fail and are almost never going to fail
except with bootstrap changes (which would be tested locally anyway) it
makes sense to run these tests close to last.
2018-06-16 11:11:06 -06:00
kennytm
ab5e3e66b5
Added comment to explain why only RustIstaller has llvm_tools = false.
2018-06-10 04:50:42 +08:00
kennytm
b00ea6c2da
Allowing building the codegen backend specifically.
...
Use `./x.py build src/librustc_codegen_llvm` to build the codegen backend.
2018-06-10 04:31:49 +08:00
kennytm
14d50bfecb
Allow some tools to be run without first building LLVM.
...
Conservatively only disable LLVM for rust-installer. This should shave
5 minutes from the x86_64-gnu-distcheck job by not building LLVM twice.
2018-06-10 04:31:49 +08:00
Mark Rousskov
8c5002d1e0
Rollup merge of #51437 - est31:rustbuild_metadata, r=Mark-Simulacrum
...
rustbuild: generate full list of dependencies for metadata
Previously, we didn't send --features to our cargo metadata invocations,
and thus missed some dependencies that we enable through the --features
mechanism.
2018-06-08 17:21:10 -06:00
est31
c28145d1ad
rustbuild: generate full list of dependencies for metadata
...
Previously, we didn't send --features to our cargo metadata invocations,
and thus missed some dependencies that we enable through the --features
mechanism.
2018-06-08 16:50:56 +02:00
Mark Simulacrum
721f2e789a
Do not require stage 2 compiler for rustdoc
2018-06-08 08:29:15 -06:00
Oliver Schneider
0c1bcd3871
quiet-tests -> !verbose-tests
2018-06-07 14:40:36 +02:00
Oliver Schneider
9fd026a96c
Use quiet tests by default
2018-06-05 15:00:44 +02:00
Mark Simulacrum
79dd148458
Rollup merge of #51317 - oli-obk:incremental_all_the_way, r=Mark-Simulacrum
...
Allow enabling incremental via config.toml
r? @QuietMisdreavus
2018-06-03 18:18:04 -06:00
Jorge Aparicio
7458af99e9
fix tidy
2018-06-04 00:25:43 +02:00
Jorge Aparicio
a2c2ed3c0c
use rustc version as llvm-tools version
2018-06-03 18:23:01 +02:00
Jorge Aparicio
66a7db9a35
make a llvm-tools rustup component
2018-06-03 18:23:01 +02:00
Jorge Aparicio
8e673073f3
statically link the tools to libstdc++
2018-06-03 18:23:01 +02:00
Jorge Aparicio
a1ef529703
document what each tools does
2018-06-03 18:23:01 +02:00
Jorge Aparicio
b5cdf9dbf9
also ship llvm-profdata
2018-06-03 18:23:01 +02:00
Jorge Aparicio
5e577b8aee
ship LLVM tools with the toolchain
2018-06-03 18:23:01 +02:00
Collins Abitekaniza
36eafe5712
impl is_tool on Mode enum
...
make is_tool inherent prop of mode
fix errors from rebase
resolve issues from review
2018-06-03 17:43:11 +03:00
Oliver Schneider
3b02376c8f
command line args trump config.toml settings
2018-06-03 08:44:56 +02:00
Collins Abitekaniza
11333972e8
refactor mode to ToolRustc for Rls & Rustfmt
2018-06-03 05:02:10 +03:00
Collins Abitekaniza
fb949b5336
thread tool modes through
2018-06-03 05:02:09 +03:00
Collins Abitekaniza
ce10910b69
refactor, make requested changes
2018-06-03 04:59:55 +03:00
Collins Abitekaniza
42ee6d5fd5
refactor Mode enum
2018-06-03 04:59:54 +03:00
Oliver Schneider
7a52f1c7cf
Allow enabling incremental via config.toml
2018-06-03 00:13:27 +02:00
Mark Simulacrum
dcfe311da8
Rollup merge of #51302 - Mark-Simulacrum:rustdoc-fast, r=QuietMisdreavus
...
Permit building rustdoc without compiler artifacts
None
2018-06-02 13:14:28 -06:00
Mark Simulacrum
cf24a1df33
Rustdoc itself no longer requires proc macros to build
...
This avoids a full compiler build in order to build and/or run tests for
rustdoc.
2018-06-02 09:32:22 -06:00
Johannes Nixdorf
a8be9bdd7b
Use builder.cargo() for cargo-vendor.
...
This makes it go through boostrap/bin/rustc.rs, so it will use
-crt-static if needed.
2018-05-31 12:03:29 +02:00
Johannes Nixdorf
ff8f226cab
builder.cargo(): don't add "--target"/"--release" to cargo install
...
This is required to use builder.cargo for cargo-vendor.
2018-05-31 12:03:29 +02:00
Johannes Nixdorf
55dab7c820
bootstrap: pass crt-static for the compiler host as well
2018-05-31 12:01:50 +02:00
Johannes Nixdorf
bcab14af3e
bootstrap.py: respect crt-static
...
Bootstrap requires serde_derive, which needs proc-macro crate types, so
it won't work with crt-static.
2018-05-31 12:01:50 +02:00
Santiago Pastorino
b39a1d6f1a
Run rustfmt
2018-05-30 14:36:23 -03:00
Santiago Pastorino
b970feedc2
Add compare-mode to x.py
2018-05-30 14:35:43 -03:00
bors
d0456c6f8f
Auto merge of #50892 - davidtwco:issue-50004, r=alexcrichton
...
Added rustdoc documentation to compiler docs.
Fixes #50004 .
r? @alexcrichton
(since you reviewed the last PR about compiler docs)
2018-05-28 01:28:14 +00:00
kennytm
0bb7335cb8
Rollup merge of #50864 - jakllsch:add-netbsd-arm-target-specs, r=alexcrichton
...
Add NetBSD/arm target specs
2018-05-24 16:02:37 +08:00
kennytm
28e43582a3
Rollup merge of #50961 - Zoxc:fix-filecheck, r=alexcrichton
...
Fix FileCheck finding with MSVC
2018-05-23 00:26:22 +08:00
steveklabnik
292be70f9d
build the 2018 edition
2018-05-22 11:30:15 -04:00
John Kåre Alsaker
e44d804f7d
Fix FileCheck finding
2018-05-22 07:37:57 +02:00
David Wood
52b83d7e26
Added rustdoc documentation step outputting into compiler documentation.
2018-05-20 19:34:37 +01:00
bors
8319ef5b78
Auto merge of #50709 - alexcrichton:revert-musl, r=sfackler
...
Revert #50105 until regression is fixed
Discovered at https://github.com/rust-lang/rust/pull/50105#issuecomment-388630750 it looks like this caused a regression with i686 musl, so let's revert in the meantime while a fix is worked out
2018-05-19 03:10:53 +00:00
Jonathan A. Kollasch
ec779b9f08
Add armv6-unknown-netbsd-eabihf target
2018-05-18 09:29:58 -05:00
Jonathan A. Kollasch
908230ee6d
Add armv7-unknown-netbsd-eabihf target
2018-05-18 09:29:58 -05:00
Mark Simulacrum
f83e4d7407
Rollup merge of #50806 - oli-obk:gesundheit, r=ehuss
...
Add `bless` x.py subcommand for easy ui test replacement
fixes #49815
r? @nikomatsakis
2018-05-17 13:51:26 -06:00
Alex Crichton
acc874fbcd
Revert "bootstrap.py: respect crt-static"
...
This reverts commit 5ecf29df05 .
2018-05-17 10:37:22 -07:00
Alex Crichton
4ac82b4946
Revert "bootstrap: pass crt-static for the compiler host as well"
...
This reverts commit ec2b861c2f .
2018-05-17 10:37:22 -07:00