Skip to content

Build sourcekit-lsp for multiple arches and lipo them #1717

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
Oct 11, 2024

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Sep 26, 2024

Companion of swiftlang/swift#76730


Instead of building SourceKit-LSP using SwiftPM's multi-arch xcbuild backend, build it for only one arch at a time and then run lipo to merge the two resulting binaries.

This should allow us to share build products between building installing and testing and also eliminates other quirks resulting from the xcbuild backend.

Instead of building SourceKit-LSP using SwiftPM's multi-arch xcbuild backend, build it for only one arch at a time and then run `lipo` to merge the two resulting binaries.

This should allow us to share build products between building installing and testing and also eliminates other quirks resulting from the xcbuild backend.
@ahoppen
Copy link
Member Author

ahoppen commented Sep 27, 2024

swiftlang/swift#76730

@swift-ci Please test

@ahoppen ahoppen merged commit 213b62f into swiftlang:main Oct 11, 2024
3 checks passed
@ahoppen ahoppen deleted the ahoppen/cross-compile-lsp branch October 11, 2024 22:14
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