Skip to content

Commit 31cff08

Browse files
committed
List dependencies to build SourceKit-LSP in the Linux section
They were previously only listed in the Docker section, but they apply to general Linux equally.
1 parent 5af8a8b commit 31cff08

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Documentation/Development.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ $ swift build
3838

3939
### Linux
4040

41+
Install the following dependencies of SourceKit-LSP:
42+
43+
* libsqlite3-dev, libncurses5-dev, python, ninja-build
44+
4145
```sh
4246
$ export PATH="<path_to_swift_toolchain>/usr/bin:${PATH}"
4347
$ swift package update
@@ -52,13 +56,7 @@ SourceKit-LSP is designed to build against the latest SwiftPM, so if you run int
5256

5357
### Docker
5458

55-
SourceKit-LSP should run out of the box using the [Swift official Docker images](https://swift.org/download/#docker). However, developers who wish to build `sourcekit-lsp` from source and to run its test suite will require additional packages to be installed.
56-
57-
* libsqlite3-dev, libncurses5-dev, python, ninja-build
58-
59-
These can be added to a custom Dockerfile that uses a Swift Docker tag for its base image.
60-
61-
Note that you still need to follow the steps listed in the *Linux* section. In the official docker images, the toolchain is located at `/`.
59+
SourceKit-LSP should run out of the box using the [Swift official Docker images](https://swift.org/download/#docker). To build `sourcekit-lsp` from source and run its test suite, follow the steps in the *Linux* section. In the official docker images, the toolchain is located at `/`.
6260

6361
If you are seeing slow compile times, you will most likely need to increase the memory available to the Docker container.
6462

0 commit comments

Comments
 (0)