Skip to content

[swiftpm] Statically link to libSwiftPM #83

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 3 commits into from
Feb 6, 2019

Conversation

benlangmuir
Copy link
Contributor

Switch to using the swiftpm library with automatic linkage, which in practice means we will statically link to libSwiftPM using the standard build. This change allows us to install the sourcekit-lsp binary without also installing a copy of libSwiftPM.dylib (and since swiftpm isn't using a stable ABI we couldn't share that with anything). Previously this was blocked by conflicts between the llvm code in llbuild and in indexstore-db, but this has been resolved.

Switch to using the swiftpm library with automatic linkage, which in
practice means we will statically link to libSwiftPM using the standard
build. This change allows us to install the sourcekit-lsp binary without
also installing a copy of libSwiftPM.dylib (and since swiftpm isn't
using a stable ABI we couldn't share that with anything). Previously
this was blocked by conflicts between the llvm code in llbuild and in
indexstore-db, but this has been resolved.
@benlangmuir benlangmuir merged commit 0d3d9ac into swiftlang:master Feb 6, 2019
@benlangmuir benlangmuir deleted the static branch February 6, 2019 22:48
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