Skip to content

Commit bfbf0ac

Browse files
author
ronen
committed
Supporting graalvm build
1 parent ddca70e commit bfbf0ac

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ pid name heap ram cpu
1616

1717
```
1818

19+
# Build
20+
21+
Make sure to have the latest graalvm native-image tool:
22+
23+
```bash
24+
$ lein uberjar
25+
$ native-image -jar target/jps-stat-0.1.0-standalone.jar --no-fallback --report-unsupported-elements-at-runtime --initialize-at-build-time --allow-incomplete-classpath
26+
```
27+
1928
# Copyright and license
2029

2130
Copyright [2020] [Ronen Narkis]

project.clj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@
66
[rm-hull/table "0.7.0"]
77
[org.clojure/clojure "1.10.1"]]
88
:repl-options {:init-ns jps-stat.jpscore}
9+
; supporting graalvm --no-fallback
10+
:jvm-opts ["-Dclojure.compiler.direct-linking=true"]
911
:main jps-stat.jpscore
1012
:aot [jps-stat.jpscore])

0 commit comments

Comments
 (0)