Skip to content

use precompiled rustdoc with CI rustc - #127463

Merged
bors merged 2 commits into
rust-lang:masterfrom
onur-ozkan:precompiled-rustdoc
Jul 20, 2024
Merged

use precompiled rustdoc with CI rustc#127463
bors merged 2 commits into
rust-lang:masterfrom
onur-ozkan:precompiled-rustdoc

Conversation

@onur-ozkan

Copy link
Copy Markdown
Contributor

When CI rustc is enabled and rustdoc sources are unchanged, we can use the precompiled rustdoc from the CI rustc's sysroot. This speeds up bootstrapping quite a lot by avoiding unnecessary rustdoc compilation.

@rustbot

Copy link
Copy Markdown
Collaborator

r? @albertlarsan68

rustbot has assigned @albertlarsan68.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Jul 7, 2024
@rustbot

Copy link
Copy Markdown
Collaborator

This PR changes how LLVM is built. Consider updating src/bootstrap/download-ci-llvm-stamp.

This PR modifies src/bootstrap/src/core/config.

If appropriate, please update CONFIG_CHANGE_HISTORY in src/bootstrap/src/utils/change_tracker.rs.

@onur-ozkan
onur-ozkanforce-pushed the precompiled-rustdoc branch from 705abcf to 154574cCompareJuly 7, 2024 16:14
Comment threadsrc/bootstrap/src/core/build_steps/tool.rs Outdated
@onur-ozkan
onur-ozkanforce-pushed the precompiled-rustdoc branch 2 times, most recently from 474ac56 to b11d983CompareJuly 8, 2024 12:30
@bors

bors commented Jul 12, 2024

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (presumably #127653) made this pull request unmergeable. Please resolve the merge conflicts.

@onur-ozkanonur-ozkan added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 17, 2024
Signed-off-by: onur-ozkan <work@onurozkan.dev>
@onur-ozkan

Copy link
Copy Markdown
ContributorAuthor

Resolved the conflicts (and it was quite messy one..).

@rustbot ready

@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jul 17, 2024
@onur-ozkan

Copy link
Copy Markdown
ContributorAuthor

r? bootstrap (due to inactivity on the review)

@KobzolKobzol left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seem to work fine locally. Left two comments, but feel free to r=me.

Comment threadsrc/bootstrap/src/core/build_steps/tool.rs
Comment threadsrc/bootstrap/src/core/build_steps/tool.rs
@Kobzol

Copy link
Copy Markdown
Member

r? @Kobzol

When CI rustc is enabled and rustdoc sources are unchanged, we can use
the precompiled rustdoc from the CI rustc's sysroot. This speeds up
bootstrapping quite a lot by avoiding unnecessary rustdoc compilation.
Signed-off-by: onur-ozkan <work@onurozkan.dev>
@onur-ozkan

Copy link
Copy Markdown
ContributorAuthor

@bors r=Kobzol

@bors

bors commented Jul 20, 2024

Copy link
Copy Markdown
Collaborator

📌 Commit 0636293 has been approved by Kobzol

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 20, 2024
tgross35 added a commit to tgross35/rust that referenced this pull request Jul 20, 2024
…Kobzol
use precompiled rustdoc with CI rustc
When CI rustc is enabled and rustdoc sources are unchanged, we can use the precompiled rustdoc from the CI rustc's sysroot. This speeds up bootstrapping quite a lot by avoiding unnecessary rustdoc compilation.
@tgross35tgross35 mentioned this pull request Jul 20, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 20, 2024
…iaskrgr
Rollup of 6 pull requests
Successful merges:
- rust-lang#127463 ( use precompiled rustdoc with CI rustc)
- rust-lang#127779 (Add a hook for `should_codegen_locally`)
- rust-lang#127843 (unix: document unsafety for std `sig{action,altstack}`)
- rust-lang#127873 (kmc-solid: `#![forbid(unsafe_op_in_unsafe_fn)]`)
- rust-lang#127917 (match lowering: Split `finalize_or_candidate` into more coherent methods)
- rust-lang#127964 (run_make_support: skip rustfmt for lib.rs)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 3a9bfa3 into rust-lang:masterJul 20, 2024
@rustbotrustbot added this to the 1.81.0 milestone Jul 20, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Jul 20, 2024
Rollup merge of rust-lang#127463 - onur-ozkan:precompiled-rustdoc, r=Kobzol
use precompiled rustdoc with CI rustc
When CI rustc is enabled and rustdoc sources are unchanged, we can use the precompiled rustdoc from the CI rustc's sysroot. This speeds up bootstrapping quite a lot by avoiding unnecessary rustdoc compilation.
@onur-ozkan
onur-ozkan deleted the precompiled-rustdoc branch July 20, 2024 18:43
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@onur-ozkan@rustbot@bors@Kobzol@Mark-Simulacrum@albertlarsan68