Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upFix make check-stage1 #27417
Conversation
rust-highfive
assigned
pcwalton
Jul 31, 2015
This comment has been minimized.
This comment has been minimized.
|
r? @pcwalton (rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
|
:O Fantastic! |
This comment has been minimized.
This comment has been minimized.
|
Out of curiosity, could you measure the different in compile time for just not passing |
This comment has been minimized.
This comment has been minimized.
|
I hope I did this right, but this is my result (on 64-bit Win10): With no-landing-pads:
With landing pads (enabled by commenting out this line):
|
This comment has been minimized.
This comment has been minimized.
|
Does this allow running the testsuite at stage0 or stage1? The testsuite is essential for developing & contributing to libstd etc. My patience with rust's long develop-compile-test cycles is already stretched pretty thin, if we go ahead to speed up full bootstrap at the cost of using tests at all, then something is missing. Something like |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
I think I'd be in favor of just removing Thoughts @brson? |
alexcrichton
assigned
alexcrichton
and unassigned
pcwalton
Aug 3, 2015
This comment has been minimized.
This comment has been minimized.
|
OTOH, 2 minutes is not nothing. |
This comment has been minimized.
This comment has been minimized.
|
2 minutes are great savings, but maybe we can have a debug or developer switch that toggles it so that we can work productively on libs, for example using the stage0 tests? |
This comment has been minimized.
This comment has been minimized.
|
Sure, I agree that 2 minutes is nice to save, but there are downsides:
|
This comment has been minimized.
This comment has been minimized.
|
This also wasn't done on the fastest machine. What are the specs of the build bots? (alternatively someone could test/extrapolate the percentage bootstrap time saved by this to get a better metric, I didn't do that because my total time actually decreased which I suspect was due to noise) |
This comment has been minimized.
This comment has been minimized.
|
disregard I need sleep |
This comment has been minimized.
This comment has been minimized.
|
Ping. I've seen three possibilities proposed: this PR, a patch to remove the |
This comment has been minimized.
This comment has been minimized.
|
I'd prefer a configure option if we don't outright remove this bootstrap optimization. I don't think this is just for me, those actually working on rust need unwinding while testing their contributions and the test suite. I saw @nikomatsakis wanted to know how to turn this off too. |
This comment has been minimized.
This comment has been minimized.
|
Yes, I second the request for a configure flag. Perhaps tied to enable debug (which in my ideal world would not disable optimizations, but I guess that is orthogonal) -------- Original message -------- From: bluss notifications@github.com Date:08/19/2015 08:10 (GMT-05:00) To: rust-lang/rust rust@noreply.github.com Cc: Niko Matsakis niko@alum.mit.edu Subject: Re: [rust] Fix make check-stage1 (#27417) I saw @nikomatsakis wanted to know how to turn this off too. — |
This comment has been minimized.
This comment has been minimized.
|
For now let's take the route of just tying Just tying to |
This comment has been minimized.
This comment has been minimized.
|
Well, it USED to WORK with |
alexcrichton
referenced this pull request
Sep 28, 2015
Closed
make check-stage1 is currently not working #28710
This comment has been minimized.
This comment has been minimized.
|
Closing due to inactivity, and given the discussion on the discuss thread I've opened #28710 to track this. |
eefriedman commentedJul 31, 2015
stage1 rustc doesn't support catching panics, so we have to just kill
the whole process on a fatal error. This is a little hacky... but it's not
very much code, and we only use it for stage1 compilers.
Also, use stage2 compiletest to run tests.