This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-23
Channels
- # announcements (66)
- # babashka (41)
- # beginners (93)
- # calva (10)
- # cider (2)
- # clj-kondo (112)
- # cljs-dev (6)
- # cljsrn (1)
- # clojure (44)
- # clojure-dev (10)
- # clojure-europe (35)
- # clojure-italy (15)
- # clojure-nl (3)
- # clojure-uk (2)
- # clojurescript (38)
- # conjure (1)
- # datalevin (1)
- # datomic (16)
- # deps-new (4)
- # events (7)
- # figwheel-main (1)
- # fulcro (59)
- # graalvm (21)
- # integrant (3)
- # introduce-yourself (8)
- # jobs-discuss (2)
- # malli (23)
- # membrane (11)
- # membrane-term (2)
- # missionary (17)
- # off-topic (7)
- # pathom (23)
- # pedestal (6)
- # polylith (7)
- # portal (25)
- # releases (1)
- # remote-jobs (3)
- # reveal (5)
- # shadow-cljs (43)
- # spacemacs (7)
- # sql (18)
- # tools-deps (33)
- # vim (10)
- # xtdb (36)
Can anyone help me with compiling a project using http-kit client? The output is: https://0bin.net/paste/fKpK9vEx#gO4utvxra8ofR41J-XOTXalEYaE5MP5uuagxbMlRElL
Briefly, the log blames the java.security.SecureRandom
class being initialized, but I've added this class to the --`initialize-at-run-time` option
it works with clj-http-lite, yet I'm hoping to reduce the size of the binary with http-kip
@igrishaev httpkit should already have a config. which version are you using?
https://github.com/http-kit/http-kit/tree/master/resources/META-INF/native-image/http-kit/http-kit
A dull question: is it possible to produce a binary file for another operating system?
if I need binaries for all win/mac/linux platforms, shell I build on three separate machines?
@igrishaev No, you need to build on three different platforms.
I typically use appveyor for Windows builds, and CircleCI for both Mac and Linux, although Circle supports all three and Github actions does too
here you can see a github actions matrix for windows + linux: https://github.com/clj-easy/graal-build-time/blob/main/.github/workflows/ci.yml