Skip to content

ci: Optimize loongarch64-linux dist builders#152060

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
heiher:opt-loong64-linux
Feb 4, 2026
Merged

ci: Optimize loongarch64-linux dist builders#152060
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
heiher:opt-loong64-linux

Conversation

@heiher
Copy link
Contributor

@heiher heiher commented Feb 3, 2026

Tune the build configuration for loongarch64-linux targets to speed up rustc.

Changes include:

  • Enable jemalloc and rust thin-lto.
  • Set codegen-units=1.

These changes reduce rustc-perf compile time by ~17%.

@rustbot rustbot added A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Feb 3, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 3, 2026

r? @jieyouxu

rustbot has assigned @jieyouxu.
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

@nikic
Copy link
Contributor

nikic commented Feb 3, 2026

Shouldn't debug assertions already be disabled on dist builders by default?

@Kobzol
Copy link
Member

Kobzol commented Feb 3, 2026

Yeah, the assertions change shouldn't be needed, I think. Rest seems fine.

@bors try jobs=loongarch64

@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Feb 3, 2026
ci: Optimize loongarch64-linux dist builders


try-job: *loongarch64*
@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 3, 2026

☀️ Try build successful (CI)
Build commit: 3900169 (39001694b2057ef3d00c9f50cdb52706a91620f5, parent: 55407b8cdb1457c62e0c852f5b53a9cf63ec4e1b)

@jieyouxu
Copy link
Member

jieyouxu commented Feb 4, 2026

@rustbot author

@rustbot rustbot 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 Feb 4, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 4, 2026

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@heiher heiher force-pushed the opt-loong64-linux branch from 5274012 to ac160bb Compare February 4, 2026 02:27
Tune the build configuration for loongarch64-linux targets to speed up rustc.

Changes include:
- Enable jemalloc and rust thin-lto.
- Set codegen-units=1 and disable debug assertions.

These changes reduce rustc-perf compile time by ~17%.
@heiher
Copy link
Contributor Author

heiher commented Feb 4, 2026

@rustbot ready

@rustbot rustbot 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 Feb 4, 2026
@Kobzol
Copy link
Member

Kobzol commented Feb 4, 2026

@bors r+

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 4, 2026

📌 Commit ac160bb has been approved by Kobzol

It is now in the queue for this repository.

@rust-bors rust-bors bot 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 Feb 4, 2026
@jieyouxu jieyouxu assigned Kobzol and unassigned jieyouxu Feb 4, 2026
rust-bors bot pushed a commit that referenced this pull request Feb 4, 2026
…uwer

Rollup of 5 pull requests

Successful merges:

 - #151893 (Move the query list into a new `rustc_middle::queries` module)
 - #152060 (ci: Optimize loongarch64-linux dist builders)
 - #151993 (Add uv to the list of possible python runners)
 - #152047 (Convert to inline diagnostics in `rustc_interface`)
 - #152053 (Avoid semicolon suggestion when tail expr is error)

Failed merges:

 - #152023 (Some `rustc_query_system` cleanups)
@rust-bors rust-bors bot merged commit 71ed31e into rust-lang:main Feb 4, 2026
11 checks passed
@rustbot rustbot added this to the 1.95.0 milestone Feb 4, 2026
rust-timer added a commit that referenced this pull request Feb 4, 2026
Rollup merge of #152060 - heiher:opt-loong64-linux, r=Kobzol

ci: Optimize loongarch64-linux dist builders

Tune the build configuration for loongarch64-linux targets to speed up rustc.

Changes include:
- Enable jemalloc and rust thin-lto.
- Set codegen-units=1.

These changes reduce rustc-perf compile time by ~17%.
@heiher heiher deleted the opt-loong64-linux branch February 4, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants