Skip to content

always build the dummy libswift with Xcode #38206

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
Jul 2, 2021

Conversation

QuietMisdreavus
Copy link
Contributor

When #37994 disabled building libswift with Xcode, it broke building the tools that linked against it, since the library was no longer available to link against. This PR updates the CMake script to force building the "dummy" libswift when using Xcode, so that there's something to link against.

@QuietMisdreavus QuietMisdreavus requested a review from gottesmm July 1, 2021 20:22
@QuietMisdreavus
Copy link
Contributor Author

@swift-ci Please smoke test

@QuietMisdreavus
Copy link
Contributor Author

Flaky test.

@swift-ci Please smoke test macOS platform

Copy link
Contributor

@gottesmm gottesmm left a comment

Choose a reason for hiding this comment

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

LGTM. Can you add a comment saying that LIBSWIFT is not supported yet with the Xcode generator with a TODO to fix it = p. That way it is clear it was thought through.

@QuietMisdreavus QuietMisdreavus force-pushed the QuietMisdreavus/libswift-option branch from 0071029 to 9ffaf8c Compare July 2, 2021 18:56
@QuietMisdreavus
Copy link
Contributor Author

@swift-ci Please smoke test

@QuietMisdreavus QuietMisdreavus merged commit 32ca2fc into main Jul 2, 2021
@QuietMisdreavus QuietMisdreavus deleted the QuietMisdreavus/libswift-option branch July 2, 2021 22:35
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