Skip to content
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

[build] Build sourcekit-lsp for multiple arches and lipo them #76730

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Sep 26, 2024

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 26, 2024

swiftlang/sourcekit-lsp#1717

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented Sep 26, 2024

swiftlang/sourcekit-lsp#1717

@swift-ci Please build toolchain

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

Toolchain builds succeeded. Just fixing Python lint issues now, so won’t run another toolchain build.

@ahoppen
Copy link
Member Author

ahoppen commented Sep 27, 2024

@swift-ci Please smoke test

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