-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Add --all flag to ./x.py clean #44694
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Can we have a less nuclear option, too? After a rebase I frequently need to clean, but I really want to keep llvm. |
IIRC, the old build system had |
@tommyip Would you be up to adding an additional subcommand to bootstrap (clean-all) that removes Such a step would need to be taken in |
Sure I will have a go at that tomorrow. |
Do we want |
I'm fine with either. Can you also update the documentation for clean? It won't take target/host etc anymore. |
This flag removes all build artifacts, including the LLVM build directory.
Where is that documentation? |
05aa486
to
779f3c1
Compare
@Mark-Simulacrum This PR is ready for review. |
Thanks! @bors r+ rollup |
📌 Commit 09d90e5 has been approved by |
Add --all flag to ./x.py clean This make `clean` removes the LLVM and download cache directory as well. Fixes rust-lang#44214. r? @Mark-Simulacrum
☔ The latest upstream changes (presumably #44936) made this pull request unmergeable. Please resolve the merge conflicts. |
Merged in #44936. |
This make
clean
removes the LLVM and download cache directory as well.Fixes #44214.
r? @Mark-Simulacrum