-
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
Rustbuild cleanups/fixes and improvements #43630
Commits on Aug 13, 2017
-
This introduces a slight change in behavior, where we unilaterally respect the --host and --target parameters passed for all sanity checking and runtime configuration.
Configuration menu - View commit details
-
Copy full SHA for 44ffb61 - Browse repository at this point
Copy the full SHA 44ffb61View commit details -
Allow specifiying targets and hosts not in the config file.
We no longer care about the source of this information, so there is no reason to restrict users.
Configuration menu - View commit details
-
Copy full SHA for 84d9a6e - Browse repository at this point
Copy the full SHA 84d9a6eView commit details -
Allow overriding build triple via flag.
We first check the configuration, then passed parameters (--build), then fall back to the auto-detection that bootstrap.py does. Fixes rust-lang#39673.
Configuration menu - View commit details
-
Copy full SHA for 5290c6c - Browse repository at this point
Copy the full SHA 5290c6cView commit details -
Add ability to ignore git when building rust.
Some users of the build system change the git sha on every build due to utilizing git to push changes to a remote server. This allows them to simply configure that away instead of depending on custom patches to rustbuild.
Configuration menu - View commit details
-
Copy full SHA for 40dea65 - Browse repository at this point
Copy the full SHA 40dea65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83b6812 - Browse repository at this point
Copy the full SHA 83b6812View commit details -
Build rustdoc with the stageN compiler in N >= 2.
This permits proc macro crates to correctly work with rustdoc.
Configuration menu - View commit details
-
Copy full SHA for ad4acba - Browse repository at this point
Copy the full SHA ad4acbaView commit details -
2
Configuration menu - View commit details
-
Copy full SHA for facf5a9 - Browse repository at this point
Copy the full SHA facf5a9View commit details -
Clean tools after building libstd/libtest/librustc.
This fixes the bug we previously had where we'd build a libtest tool after building a libstd tool and clear out the libstd tool. Since we clear out all tools for a given stage on invocations of CleanTools after lib{std, test, rustc} change, we need to make sure that all tools built with that stage will be built after the clearing is done. The fix contained here technically isn't perfect; there is still an edge case of compiling a libstd tool, then compiling libtest, which will clear out the libstd tool and it won't ever get rebuilt within that session of rustbuild. This is where the caching system used today shows it's problems -- in effect, all tools depend on a global counter of the stage being cleared out. We can implement such a counter in a future patch to ensure that tools are rebuilt as needed, but it is deemed unlikely that it will be required in practice, since most if not all tools are built after the relevant stage's std/test/rustc are built, though this is only an opinion and hasn't been verified.
Configuration menu - View commit details
-
Copy full SHA for cec6816 - Browse repository at this point
Copy the full SHA cec6816View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6571968 - Browse repository at this point
Copy the full SHA 6571968View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82cdf10 - Browse repository at this point
Copy the full SHA 82cdf10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01641c7 - Browse repository at this point
Copy the full SHA 01641c7View commit details