Skip to content

Pass -target to lit Tests instead of -arch (+ -version-min) #35435

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 15, 2021

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Jan 14, 2021

A follow-on to b4368259480ed2c895e8c855bbfde20c1805acd1 where
-m${platform}-version-min was traded for -target. The lit substitution
for %target-clang was relying on -arch and -version-min to specify the
intended platform version to the linker. With the removal of
version-min, only arch was given, so a fallback platform was selected.
For the iPhone simulator, for example, this is iOS 10.99 despite there
being no such simulator for that deployment version. Provide the variant
triple everywhere instead. This has the added benefit of unifying the
special paths catalyst takes.

Fixes rdar://73174820

A follow-on to b436825 where
-m${platform}-version-min was traded for -target. The lit substitution
for %target-clang was relying on -arch and -version-min to specify the
intended platform version to the linker. With the removal of
version-min, only arch was given, so a fallback platform was selected.
For the iPhone simulator, for example, this is iOS 10.99 despite there
being no such simulator for that deployment version. Provide the variant
triple everywhere instead. This has the added benefit of unifying the
special paths catalyst takes.

Fixes rdar://73174820
@CodaFi
Copy link
Contributor Author

CodaFi commented Jan 14, 2021

@swift-ci test

@CodaFi
Copy link
Contributor Author

CodaFi commented Jan 14, 2021

preset=buildbot_all_platforms,tools=RA,stdlib=RA
@swift-ci please test with preset macOS

@CodaFi
Copy link
Contributor Author

CodaFi commented Jan 15, 2021

@CodaFi CodaFi merged commit cd2d4cc into swiftlang:main Jan 15, 2021
@CodaFi CodaFi deleted the arch-nemesis branch January 15, 2021 02:21
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.

1 participant