forked from AdaCore/ada_language_server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use dependency commits from a file to build ALS.
Refs #1351
- Loading branch information
Showing
5 changed files
with
53 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Building Ada Language Server from sources | ||
|
||
1. Install Alire, Python 3, NodeJS. Add them to `PATH`. | ||
|
||
2. Disable dependency sharing in Alire | ||
|
||
alr settings --global --set dependencies.shared false | ||
|
||
3. Clone repository | ||
|
||
git clone https://github.com/AdaCore/ada_language_server.git | ||
cd ada_language_server | ||
|
||
4. If you know dependency commits numbers then create `deps.txt` file | ||
with lines `<repo_name>=commit`. Otherwise checkout `edge` branch. | ||
|
||
5. Build scripts installs Python modules. So it's better to activate | ||
`venv` for Python: | ||
|
||
python -m venv venv | ||
source venv/bin/activate | ||
|
||
5. Run `build_als.sh` script | ||
|
||
./scripts/build_als.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters