Skip to content

[cmake,Apple] Check ld-classic when looking for ld64. #77136

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

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

fhahn
Copy link
Contributor

@fhahn fhahn commented Jan 5, 2024

In newer SDKs, ld64 is called ld-classic. Look for it first, as ld in those SDKs is still missing some functionality some tests depend on.

This enables running the tests from check-llvm-tools-lto with newer SDKs on ARM64 macOS.

In newer SDKs, ld64 is called ld-classic. Look for it first, as ld in
those SDKs is still missing some functionality some tests depend on.

This enables running the tests from check-llvm-tools-lto with newer SDKs
on ARM64 macOS.
@llvmbot llvmbot added the cmake Build system in general and CMake in particular label Jan 5, 2024
@fhahn fhahn requested a review from hyp January 5, 2024 20:32
@cachemeifyoucan
Copy link
Collaborator

Sounds reasonable. I am not a fan of the ld64 tests in the repo and maybe we can migrate away from that dependency some day.

@fhahn
Copy link
Contributor Author

fhahn commented Jan 5, 2024

Agreed that it would be good to move away from using ld64 for testing long term.

@fhahn fhahn merged commit d7b4deb into llvm:main Jan 5, 2024
@fhahn fhahn deleted the cmake-ld-classic branch January 5, 2024 22:14
justinfargnoli pushed a commit to justinfargnoli/llvm-project that referenced this pull request Jan 28, 2024
In newer SDKs, ld64 is called ld-classic. Look for it first, as ld in
those SDKs is still missing some functionality some tests depend on.

This enables running the tests from check-llvm-tools-lto with newer SDKs
on ARM64 macOS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmake Build system in general and CMake in particular
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants