Uh oh!
There was an error while loading. Please reload this page.
Add config option and cli arg for skip-llvm-rebuild - #65848
Conversation
rust-highfive
commented
Oct 26, 2019
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
rust-highfive
commented
Oct 26, 2019
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Walther
commented
Oct 26, 2019
I'm not sure if adding the |
alexcrichton
commented
Oct 28, 2019
Thanks for the PR! I think I may be missing something though? It looks like this adds configuration for skipping an LLVM rebuild but doesn't actually end up reading it when building LLVM? Also cc @varkor who requested these changes |
Walther
commented
Oct 28, 2019
Ah, it's not enough to skip the submodule in bootstrap.py https://github.com/rust-lang/rust/pull/65848/files#diff-3e203f016947a52e3f1fad3967027e7eR734-R740 - sorry, I'll take a new look at where else it needs to be skipped 👍 |
JohnCSimon
commented
Nov 2, 2019
Ping from triage: Thank you! |
Walther
commented
Nov 3, 2019
I have a simple question - at In addition to what's visible in the PR, I already locally added the lines necessary to actually skip the LLVM build in if builder.config.skip_llvm_rebuild{
builder.info("Skipping LLVM rebuild");return build_llvm_config
} |
alexcrichton
commented
Nov 4, 2019
I think in general it's fine to only update |
JohnCSimon
commented
Nov 9, 2019
Ping from triage: Thank you! |
Walther
commented
Nov 12, 2019
Sorry, I've been fairly busy! I hope I can get back at this next weekend or so. If not, and if someone wants to quickly fix this instead, that's okay too. There's always more issues to help with :) |
joelpalmer
commented
Nov 18, 2019
Ping from Triage: Any update @Walther? |
JohnCSimon
commented
Nov 24, 2019
Ping from triage: Thank you. |
JohnCSimon
commented
Nov 30, 2019
Ping from triage: |
…Mark-Simulacrum Add LLVM `skip-rebuild` option to `x.py` This PR reimplements parts of @Walther's work from rust-lang#65848, and closesrust-lang#65612. I decided not to implement the [arguments to override this setting](rust-lang#65612 (comment)) in this PR. If there's strong feeling that this change shouldn't be merged without the overrides then I'm happy to close this until I've had a chance to add them in. Otherwise I'll aim to submit a second PR with those this weekend. I'd have liked to have tested the change in `native.rs`, but there didn't seem to be any existing test infrastructure. I ran this a few times manually and it _worked on my machine_ though... 😬
…crum Add LLVM `skip-rebuild` option to `x.py` This PR reimplements parts of @Walther's work from #65848, and closes#65612. I decided not to implement the [arguments to override this setting](#65612 (comment)) in this PR. If there's strong feeling that this change shouldn't be merged without the overrides then I'm happy to close this until I've had a chance to add them in. Otherwise I'll aim to submit a second PR with those this weekend. I'd have liked to have tested the change in `native.rs`, but there didn't seem to be any existing test infrastructure. I ran this a few times manually and it _worked on my machine_ though... 😬
Fixes#65612.
First time contributing, please let me know if there's anything I need to tweak 🙂 ❤️