Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions collector/src/compile/execute/rustc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ async fn record(
"build.cargo={}",
toolchain.components.cargo.to_str().unwrap()
))
// Do not compile all default tools
.arg("--set")
.arg("build.extended=false")
Copy link
Member

Choose a reason for hiding this comment

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

....why is this on by default? It's literally extended :)

But seems fine.

Copy link
Member Author

Choose a reason for hiding this comment

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

rustc-perf runs configure, which creates a config file based on the dist profile. And dist uses extended = true, which I guess makes sense for it.

Copy link
Member

Choose a reason for hiding this comment

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

Hm, the goal of the bootstrap timing is really more focused on rustc devs IMO, not distros, so we might want to change that to compiler or so... though maybe this is enough in practice.

Copy link
Member

Choose a reason for hiding this comment

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

Hm², the dist profile doesn't download-ci-llvm, so I hope we're not building llvm on the collector.

Copy link
Member Author

Choose a reason for hiding this comment

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

We enable download CI LLVM a few lines before, don't worry 😅

.status()
.context("configuring")?;
assert!(status.success(), "configure successful");
Expand Down
Loading