-
Notifications
You must be signed in to change notification settings - Fork 13k
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
centralize build stamp logic #135281
centralize build stamp logic #135281
Conversation
rustbot has assigned @albertlarsan68. Use |
This PR changes how LLVM is built. Consider updating src/bootstrap/download-ci-llvm-stamp. |
1 similar comment
This PR changes how LLVM is built. Consider updating src/bootstrap/download-ci-llvm-stamp. |
(This would close #134962) |
Funny that I haven't even seen it... |
f6d3c02
to
51fd08e
Compare
|
I'll review this tmrw, I wanted to do some more manual local testing just in case. I had a brief glance at the changes, and I must say this is much easier to follow. So thank you for cleaning this up! |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
@rustbot ready |
Signed-off-by: onur-ozkan <[email protected]>
Signed-off-by: onur-ozkan <[email protected]>
Signed-off-by: onur-ozkan <[email protected]>
4168680
to
b54d652
Compare
The rustc-dev-guide subtree was changed. If this PR only touches the dev guide consider submitting a PR directly to rust-lang/rustc-dev-guide otherwise thank you for updating the dev guide with your changes. |
I would probably just squash the bootstrap bits in one commit and r-d-g bits in another commit, lol |
@rustbot ready |
Signed-off-by: onur-ozkan <[email protected]>
Some commits (like b03fba7) shouldn't exist by their own but it's just too painful to squash them with related ones when you have too many commits.. |
I mean like squash all the bootstrap bits into one commit lol. |
Signed-off-by: onur-ozkan <[email protected]>
That's even worse lol |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, you can r=me after PR CI is green.
@bors r=jieyouxu rollup=never |
☀️ Test successful - checks-actions |
Finished benchmarking commit (627513a): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesResults (secondary 3.0%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 763.652s -> 763.304s (-0.05%) |
This PR brings all the stamp file handling into one place inside
build_stamp
module, which takes care of everything related to build stamps. By doing this, we cut down on duplicated code and types and keep the codebase easier to maintain and more consistent.Main goals are:
Path
s around and manuallyjoin
on arbitrary directoriesResolves #134962