Skip to content

[Linux] Use target-cpu for Linux in lto_autolink test #36999

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
Apr 29, 2021

Conversation

drexin
Copy link
Contributor

@drexin drexin commented Apr 21, 2021

This test fails on aarch64 when using x86_64 as target.

@drexin
Copy link
Contributor Author

drexin commented Apr 21, 2021

@swift-ci smoke test

@drexin drexin merged commit 605a923 into swiftlang:main Apr 29, 2021
@drodriguez
Copy link
Contributor

It seems that %target-cpu is also not the right thing if one if building on Linux, but cross-compiling for Android. Both Android CI started failing after this change because they try to compile for aarch64-unknown-linux-gnu and armv7-unknown-linux-gnu.

I don’t see how to make it work for all the platforms if you cannot ensure those swift stdlib targets are built, though. Why Darwin and Windows seems to work is really puzzling to me.

@drexin
Copy link
Contributor Author

drexin commented May 1, 2021

😕 I'll XFAIL it for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants