Skip to content

Commit

Permalink
Merge branch 'topic/add_langkit_support_java_dependency' into 'master'
Browse files Browse the repository at this point in the history
Add the dependency to the LangkitSupport Java library

Closes #437

See merge request eng/libadalang/langkit-query-language!395
  • Loading branch information
Rémi Segard committed Feb 11, 2025
2 parents 66e5a4e + 57d15ce commit 9644846
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lkql_jit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ environment variable.
*Note: If for some reason you are not running `./manage.py setenv`, make sure that the
`sigsegv_handler` library is reachable from your `LD_LIBRARY_PATH`.*

Install the Java LangkitSupport library:

```sh
$[langkit]> mvn -f langkit/java_support install
```

### 2) Build and install Libadalang

```sh
Expand Down
8 changes: 8 additions & 0 deletions lkql_jit/language/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<includes>
<include>com.adacore:liblkqllang</include>
<include>com.adacore:libadalang</include>
<include>com.adacore:langkit_support</include>
<include>com.adacore:options</include>
<include>org.json:json</include>
</includes>
Expand Down Expand Up @@ -141,6 +142,13 @@
<artifactId>libadalang</artifactId>
<version>${config.libadalangVersion}</version>
</dependency>

<dependency>
<groupId>com.adacore</groupId>
<artifactId>langkit_support</artifactId>
<version>${config.langkit_supportVersion}</version>
</dependency>

<dependency>
<groupId>com.adacore</groupId>
<artifactId>options</artifactId>
Expand Down
3 changes: 3 additions & 0 deletions lkql_jit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
<!-- Used GraalVM version -->
<graalvm.version>22.3.1</graalvm.version>

<!-- LangkitSupport version -->
<config.langkit_supportVersion>0.1</config.langkit_supportVersion>

<!-- Libadalang version -->
<config.libadalangVersion>0.1</config.libadalangVersion>

Expand Down

0 comments on commit 9644846

Please sign in to comment.