-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[5.1] Installation support for sourcekit-lsp #26703
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
[5.1] Installation support for sourcekit-lsp #26703
Conversation
The smoke test preset tests sourcekit-lsp, and the full test should too. Note: on Linux this was already working.
…-lsp At a minimum, we need to install libIndexStore to enable testing the indexer, but it's better to also include clang/clangd, since this lets us enable all of our tests on these bots. This commit uses the swift-install-components and llvm-install-components from the Package bots, which increases the similarity between our PR tests and package bots. In addition to the sourcekit-lsp/indexstore-db PR test bots, this affects the following bots that test indexstore-db and didn't already install clang: * Linux * incremental * incremental long test * swiftpm PR test * macOS * PR test * PR smoke test * incremental * swiftpm PR test Based on looking at recent build logs for the package bots, this should only add <5 seconds to the incremental build.
Add --install-sourcekit-lsp option to build-script and update presets for package bots to install it. Conflicts: utils/build-script utils/build_swift/driver_arguments.py utils/build_swift/tests/expected_options.py
swiftlang/indexstore-db#51 @swift-ci please build toolchain |
Build failed |
macOS Toolchain Install command |
macOS failure is from pylint: |
Linux Toolchain (Ubuntu 16.04) Install command |
Build failed |
Cherry-pick to 5.1:
Add --install-sourcekit-lsp option to build-script and update presets for package bots to install it. Also adds missing install actions to a few test presets to make it possible to test sourcekit-lsp.