Skip to content

Commit 5a08286

Browse files
committed
Update build.md
1 parent d21c9d3 commit 5a08286

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

doc/devel/build.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
# Building Ada Language Server from sources
22

3-
1. Install Alire, Python 3, NodeJS. Add them to `PATH`.
3+
1. Install the following tools and add them to the `PATH` environment variable:
4+
- Alire >= 2.0.2
5+
- Python >= 3.11
6+
- NodeJS >= 20.18.3
47

5-
2. Disable dependency sharing in Alire
8+
1. Disable dependency sharing in Alire
69

710
alr settings --global --set dependencies.shared false
811

9-
3. Clone repository
12+
1. Clone repository
1013

1114
git clone https://github.com/AdaCore/ada_language_server.git
1215
cd ada_language_server
1316

14-
4. If you know dependency commits numbers then create `deps.txt` file
17+
1. If you know dependency commits numbers then create `deps.txt` file
1518
with lines `<repo_name>=commit`. Otherwise checkout `edge` branch.
1619

17-
5. Build scripts installs Python modules. So it's better to activate
18-
`venv` for Python:
20+
1. Use `alr toolchain --select` to install the latest available versions of `gnat` and `gprbuild`.
1921

20-
python -m venv venv
21-
source venv/bin/activate
22-
23-
5. Run `build_als.sh` script
22+
1. Run `build_als.sh` script
2423

2524
./scripts/build_als.sh

0 commit comments

Comments
 (0)