This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-06
Channels
- # aleph (1)
- # announcements (2)
- # beginners (109)
- # calva (48)
- # cider (25)
- # clj-kondo (38)
- # cljdoc (13)
- # clojure (203)
- # clojure-europe (23)
- # clojure-gamedev (3)
- # clojure-nl (3)
- # clojure-uk (7)
- # conjure (2)
- # data-science (1)
- # datalog (2)
- # datomic (7)
- # deps-new (16)
- # depstar (2)
- # docker (2)
- # fulcro (67)
- # graalvm (58)
- # honeysql (16)
- # java (2)
- # jobs (2)
- # jobs-discuss (2)
- # kaocha (4)
- # lsp (82)
- # malli (23)
- # off-topic (35)
- # polylith (18)
- # practicalli (5)
- # releases (1)
- # remote-jobs (1)
- # shadow-cljs (15)
- # sql (17)
- # timbre (1)
- # tools-deps (24)
- # vim (20)
- # xtdb (9)
Hello world!
Need some help with testing this: https://github.com/FieryCod/polylith/tree/feature/native
I would like to make sure that native version of polylith works well, before proposing PR. If you're willing to try it out then please do. 🙂
Prerequisites: 1. Linux/MacOS 2. Download GraalVM Java 8 variant https://github.com/graalvm/graalvm-ce-builds/releases/tag/vm-21.2.0 3. Put it in home and navigate to /bin, then ./gu install native-image 4. Set GRAALVM_HOME environment variable that points to the home of GraalVM installation. Installation: 1. Clone the repo 2. Navigate to feature/native branch 3. make install-local Poly tool will be available at /usr/local/bin/poly 🙂
This sounds great! I’m on vacation at the moment but I will check it out at the earliest possibility!
@UJ1339K2B I wanted check this out but I noticed, on the link you shared above, I didn’t see an Apple M1 compatible GraalVM. Is it possible to have Graal on M1 or it’s not released yet?
Do you use babashka on M1?
cc @U04V15CAJ, since I’not sure how it should be done. Maybe amd64 and Rosetta compatibility mode?
@furkan3ayraktar Try amd64 MacOS version of GraalVM. I'm thinking about trimming tools.deps from native version. Binary should be quite small after this 😄
@UJ1339K2B I've had to modify the code to not install system-wide, but otherwise I've started testing your version (no issues so far).
@UJ1339K2B I think prompt
also needs to be run via java branch. Otherwise this doesn't work:
❯ poly prompt
poly-root$> test :dev
Projects to run tests from: development
Couldn't resolve libraries for the development project: java.lang.NullPointerException
Ah right
@pithyless Pushed a new commit
Please report any issues in this thread 🙂