clj-easy / graalvm-clojure

This project contains a set of "hello world" projects to verify which Clojure libraries do actually compile and produce native images under GraalVM.
Apache License 2.0
497 stars 45 forks source link

add lacinia #50

Closed rdipardo closed 2 years ago

rdipardo commented 2 years ago

I've been able to compile lacinia in these environments:

OS Host compiler GraalVM version
Ubuntu 20.04 gcc 10.3.0-1ubuntu1~20.04 CE 21.2.0 (build 11.0.12+6-jvmci-21.2-b08)
Debian 10 gcc 8.3.0 (Debian 8.3.0-6) CE 21.1.0 (build 11.0.11+8-jvmci-21.1-b05)
Windows 10.0.19042.985 MSVC 19.28.29337 for x64 CE 21.0.0.2 (build 11.0.10+8-jvmci-21.0-b06)

Some unused parts of the library depend on AWT classes that might not compile on GraalVMs in the 20.x series, and clojure 1.10.1 (or older) doesn't work because of this known issue.

There's a Makefile to simplify the configuration (basically just generating a resource-config.json).

Provided your toolchain dates from this year, everything should work as expected.

BrunoBonacci commented 2 years ago

Thank you