-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buildbot Request: Add one --enable-debug --enable-optimize
bot that at least bootstraps (no tests)
#27010
Comments
The above really is a very weak fallback plan. In particular, it would not catch bugs like: #27023 |
Notes from discussing this in a meeting: Ideally even just bootstrap with enable_debug, without running tests if tests are slow, and gate merge on enable_debug enable_optimize bootstrap succeeding. Nothing tests a full bootstrap with -g that we know of yet -- needs feedback from @alexcrichton |
This all sounds good to me, just needs a bot set up which unfortunately takes a good deal of work currently :( |
Is setting up a new bot any easier now? |
A builder has now been added but the build is currently red |
Yes we need to first fix #28947 (at least), or revert the PR that exposed that (bleah) |
#28947 is fixed. Can we disable tests on auto-linux-64-debug-opt and start to block on it? |
Eh, that's why I said "disable tests". This issue's title also says "no tests". |
If we don't need to run tests then it seems fine to start gating -- rust-lang-deprecated/rust-buildbot#38 |
We're not gating! |
er, *now |
\o/ |
Spawned off of #26484
Just as it is important to developers that we try to avoid injecting test regressions (and thus we have bors check that the regression test suite passes before every commit to master), it is also important to developers that the debug-enabled build of
rustc
actually be able to bootstrap.Unfortunately, none of the current bots build with
--enable-debug
. This is justifiable as a default setting, since it is more important to ensure that Rust work in its "release" configuration, and for that, the default of--disable-debug --enable-optimize
for the bots makes sense. However, it also means that none of the bots are ensuring thatrustc
can bootstrap under a--enable-debug
configuration.Fallback Idea: if it is determined that
--enable-debug
is too slow for a bot, even if it just doing a bootstrap (and not running the test suite), then as a fallback we could instead just do the build withRUST_FLAGS=-g
; this would also address the problem that was exposed by #26484, I think. I have not checked that latter claim formally, but based on the investigation, it seems like it is a problem solely with mixing-g
and LLVM assertions, which are enabled on the nightly channel IIRC, and not e.g. with the assertions and consistency checks injected by a--enable-debug
build.The text was updated successfully, but these errors were encountered: