This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-27
Channels
- # announcements (1)
- # asami (10)
- # babashka (12)
- # beginners (26)
- # biff (4)
- # calva (42)
- # cider (1)
- # clj-commons (2)
- # cljs-dev (2)
- # clojure (179)
- # clojure-dev (2)
- # clojure-europe (45)
- # clojure-norway (16)
- # clojure-uk (3)
- # clojurescript (5)
- # datahike (1)
- # datascript (2)
- # events (3)
- # exercism (1)
- # fulcro (13)
- # funcool (3)
- # graalvm (23)
- # helix (3)
- # honeysql (1)
- # hyperfiddle (3)
- # lsp (51)
- # malli (2)
- # off-topic (27)
- # portal (18)
- # reagent (3)
- # reitit (3)
- # releases (8)
- # sci (5)
- # shadow-cljs (11)
- # xtdb (5)
trying to use https://central.sonatype.com/artifact/org.graalvm.polyglot/js according to https://www.graalvm.org/latest/reference-manual/embed-languages/. Anyone spot my mistake here?
clj -Sdeps '{:deps {org.graalvm.polyglot/js {:mvn/version "23.1.0"}}}'
Error building classpath. Could not find artifact org.graalvm.polyglot:js:jar:23.1.0 in central ( )
or are they using some maven features that tools.deps does not support? It does download some pom files initially…
tools.deps only supports the jar package type - is that something else?
Yeah that’s a pom artifact
Essentially same as this issue https://ask.clojure.org/index.php/10892/add-support-for-bom-bill-of-materials-dependencies?show=10892#q10892
@U5H74UNSF so it seems listing deps explicitly would work?
Perhaps use mvn deps tree or whatever their command is and then insert those deps in your deps.edn
Does anyone have a simple example how to build executables for all the platform (osx, windows, linux)?
jet is a pretty simple project which builds for all platforms: https://github.com/borkdude/jet
There's no cross compilation. They suggest using GHA.
I was able to build both arm64 and x86-64 with this https://github.com/marketplace/actions/cross-platform-action#architectures
Did you need to supply your own runner(s)?
That action looks pretty cool.