4

Make LLD build forward-compatible with LLVM 16 by nikic · Pull Request #106000 ·...

 1 year ago
source link: https://github.com/rust-lang/rust/pull/106000
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Make LLD build forward-compatible with LLVM 16 #106000

Merged

Conversation

Contributor

@nikic nikic commented Dec 21, 2022

Switch to using the cmake module instead of llvm-config. I believe this also removes the need for llvm-config-wrapper.

Collaborator

rustbot commented Dec 21, 2022

r? @Mark-Simulacrum

(rustbot has picked a reviewer for you, use r? to override)

rustbot

added A-bootstrap Area: Rust's build system (x.py and src/bootstrap) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

labels

Dec 21, 2022

Contributor

Author

nikic commented Dec 21, 2022

@bors try I wasn't able to test the docker image due to "setting llvm.thin_lto is incompatible with download-ci-llvm", let's see if it works in CI.

Contributor

bors commented Dec 21, 2022

hourglass Trying commit 6733a3f with merge ae234e7...

r=me when ready

Contributor

bors commented Dec 21, 2022

sunny Try build successful - checks-actions
Build commit: ae234e7 (ae234e720bf603c959226f2394cc3d920d132cf0)

Contributor

Author

nikic commented Dec 21, 2022

@bors r=Mark-Simulacrum

Contributor

bors commented Dec 21, 2022

pushpin Commit 6733a3f has been approved by Mark-Simulacrum

It is now in the queue for this repository.

bors

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

Dec 21, 2022

Contributor

Author

nikic commented Dec 21, 2022

@bors rollup=iffy

Contributor

bors commented Dec 21, 2022

hourglass Testing commit 6733a3f with merge 57590d8...

Contributor

bors commented Dec 21, 2022

broken_heart Test failed - checks-actions

bors

added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

labels

Dec 21, 2022

This comment has been minimized.

Contributor

Author

nikic commented Dec 22, 2022

Okay, we can't derive the cmake directory from the llvm-config path, because we always return llvm-config for the build triple, not the target triple (we can't execute the target llvm-config binary). So we need to return both the llvm-config path and the cmake directory.

The dist-s390x-linux build now works locally.

Contributor

bors commented Dec 22, 2022

pushpin Commit 59b3157 has been approved by Mark-Simulacrum

It is now in the queue for this repository.

bors

removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label

Dec 22, 2022

bors

added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label

Dec 22, 2022

Contributor

bors commented Dec 22, 2022

hourglass Testing commit 59b3157 with merge e5e4eef...

Contributor

bors commented Dec 22, 2022

sunny Test successful - checks-actions
Approved by: Mark-Simulacrum
Pushing e5e4eef to master...

bors

added the merged-by-bors This PR was explicitly merged by bors label

Dec 22, 2022

bors

merged commit e5e4eef into

rust-lang:master

Dec 22, 2022

11 checks passed

Collaborator

rust-timer commented Dec 22, 2022

Finished benchmarking commit (e5e4eef): comparison URL.

Overall result: white_check_mark improvements - no action needed

@rustbot label: -perf-regression

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean range count
Regressions x
(primary)
- - 0
Regressions x
(secondary)
- - 0
Improvements white_check_mark
(primary)
- - 0
Improvements white_check_mark
(secondary)
-1.2% [-1.2%, -1.2%] 1
All xwhite_check_mark (primary) - - 0

Max RSS (memory usage)

Results

Cycles

Results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Labels
A-bootstrap Area: Rust's build system (x.py and src/bootstrap) merged-by-bors This PR was explicitly merged by bors S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects

None yet

Milestone

1.68.0

Development

Successfully merging this pull request may close these issues.

None yet

6 participants

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK