Skip to content

Commit

Permalink
Use CConst from graalvm packages, fixes libsci for newer graal versio…
Browse files Browse the repository at this point in the history
…ns (#895)

* Use CConst from graalvm packages, fixes libsci for newer graal versions

* use dist graalvm

* fix java version
  • Loading branch information
borkdude authored Aug 31, 2023
1 parent 6bea915 commit 00f5d45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ jobs:

- uses: graalvm/setup-graalvm@v1
with:
version: '22.3.1'
java-version: '19'
java-version: '20.0.1'
distribution: 'graalvm'
components: 'native-image'

- name: Install Clojure tools
Expand Down
2 changes: 1 addition & 1 deletion libsci/src/sci/impl/LibSci.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import org.graalvm.nativeimage.c.function.CEntryPoint;
import org.graalvm.nativeimage.c.type.CCharPointer;
import org.graalvm.nativeimage.c.type.CTypeConversion;
import com.oracle.svm.core.c.CConst;
import org.graalvm.nativeimage.c.type.CConst;

public final class LibSci {
@CEntryPoint(name = "eval_string")
Expand Down

0 comments on commit 00f5d45

Please sign in to comment.