Closed
Description
The compiler LLVM is rebuilt whenever the built version of LLVM doesn't have the right hash. (Previously it was rebuilt based on a special marker file, which was easier to work around.)
Lines 88 to 108 in f042687
However, most of the time, having the latest LLVM version is not necessary, but makes rebuilding rustc after rebasing take significantly longer, which is a pain. It would be good to be able to disable this as an option in
x.py
for convenience.
This issue has been assigned to @matthew-healy via this comment.
Activity
varkor commentedon Oct 19, 2019
To fix this, you'll want to add another option: you should be able to look at the logic for something like
--keep-stage
.rust/src/bootstrap/flags.rs
Lines 130 to 131 in f042687
Centril commentedon Oct 20, 2019
It would be good if this could be changed in the config file so you don't have to pass in the option all the time.
varkor commentedon Oct 20, 2019
@Centril: if it's a config file option, then there should be an
x.py
option to rebuild it if necessary. I.e. it shouldn't be necessarily to temporarily change theConfig.toml
to rebuild.Centril commentedon Oct 20, 2019
@varkor sure that seems good, although they can be implemented separately.
spadaval commentedon Oct 20, 2019
The line you would need to change is near this one: (line 735 of bootstrap.py)
It would probably be much easier to add a check against a key in the config, than to add a new flag.
Walther commentedon Oct 26, 2019
@rustbot claim 🙂
rustbot commentedon Oct 26, 2019
Error: Parsing assign command in comment failed: ...tbot claim|error: expected end of command at >| 🙂 ...
Please let
@rust-lang/release
know if you're having trouble with this bot.Walther commentedon Oct 26, 2019
...sorry, my bad!
@rustbot claim
EDIT: oh dear, I'm making it worse 🤦♂
16 remaining items