This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-02
Channels
- # announcements (5)
- # beginners (36)
- # biff (2)
- # calva (51)
- # clojure (12)
- # clojure-austin (7)
- # clojure-europe (11)
- # clojure-nl (1)
- # clojure-norway (63)
- # clojure-uk (2)
- # community-development (5)
- # core-typed (10)
- # datomic (9)
- # graalvm (6)
- # honeysql (1)
- # jobs (4)
- # leiningen (14)
- # london-clojurians (1)
- # lsp (23)
- # malli (88)
- # missionary (10)
- # off-topic (41)
- # practicalli (7)
- # re-frame (1)
- # reitit (5)
- # releases (2)
- # remote-jobs (1)
- # ring (11)
- # squint (2)
- # xtdb (5)
Here is a very simple example of creating uberjar and native image: https://github.com/rynkowsg/examples-clojure/tree/master/clj-deps-lein-uberjar-graalvm
@U04V15CAJ here is a list of native image params I came up looking at Babashka primarily: https://github.com/rynkowsg/examples-clojure/blob/master/clj-deps-lein-uberjar-graalvm/scripts/compile-native.bash#L20 Would you recommend any other native image options worth using?
I noticed you use --report-unsupported-elements-at-runtime
but based on the description https://www.graalvm.org/22.0/reference-manual/native-image/Options/ this postpones errors from build time to runtime, so I skipped this one.