Skip to content

test: repair Interpreter/SDK/interpreter_with_options on ASi #33373

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
Aug 8, 2020

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Aug 7, 2020

Remove the target specific binary and instead compile a test binary on
the fly. Because this test is restricted to macOS platforms, we know
that we assume that we will have a compatible Objective-C runtime at our
disposal. Use that to create a stub library for testing
NSClassFromString.

This allows this test to execute on ARM64.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

Remove the target specific binary and instead compile a test binary on
the fly.  Because this test is restricted to macOS platforms, we know
that we assume that we will have a compatible Objective-C runtime at our
disposal.  Use that to create a stub library for testing
`NSClassFromString`.

This allows this test to execute on ARM64.
@compnerd
Copy link
Member Author

compnerd commented Aug 7, 2020

CC: @brentdax

@compnerd
Copy link
Member Author

compnerd commented Aug 7, 2020

@swift-ci please test

Copy link
Contributor

@beccadax beccadax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤮

Thanks for cleaning that up.

@swift-ci
Copy link
Contributor

swift-ci commented Aug 7, 2020

Build failed
Swift Test OS X Platform
Git Sha - 88e1306

@compnerd
Copy link
Member Author

compnerd commented Aug 7, 2020

<unknown>:0: error: fatal error encountered during compilation; please file a bug report with your project and the crash log
<unknown>:0: note: Cannot read '/Users/buildnode/jenkins/workspace/swift-PR-osx/branch-master/buildbot_incremental/swift-macosx-x86_64/./lib/swift/iphonesimulator/layouts-x86_64.yaml'

@compnerd
Copy link
Member Author

compnerd commented Aug 7, 2020

@swift-ci please test macOS platform

@compnerd compnerd merged commit 1d0bf50 into swiftlang:master Aug 8, 2020
@compnerd compnerd deleted the rosetta branch August 8, 2020 15:13
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.

3 participants