Skip to content

[build-script] Add installation support for sourcekit-lsp #142

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
Aug 12, 2019

Conversation

benlangmuir
Copy link
Contributor

When invoked with the install action, build-script-helper.py will rsync the produced sourcekit-lsp to the toolchain's bin directory. On Linux, we add an extra relative rpath to find the swift corelibs (unfotunately we currently have no way to remove the absolute rpath; the same is true for all other swift-built binaries in the toolchain). On macOS, we replace the rpath.

When invoked with the `install` action, build-script-helper.py will
rsync the produced sourcekit-lsp to the toolchain's bin directory. On
Linux, we add an extra relative rpath to find the swift corelibs
(unfotunately we currently have no way to remove the absolute rpath; the
same is true for all other swift-built binaries in the toolchain). On
macOS, we replace the rpath.
Swift-build was logging some extra information to stdout, causing
incorrect calculation of the bin dir.
Handy for local development if you don't want to test with swift's full
build.
@benlangmuir
Copy link
Contributor Author

@swift-ci please test

@benlangmuir
Copy link
Contributor Author

swiftlang/swift#26619

@swift-ci please build toolchain

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