Fork me on GitHub
Karol Wójcik09:08:03

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. 🙂

🙌 9
Karol Wójcik09:08:21

Prerequisites: 1. Linux/MacOS 2. Download GraalVM Java 8 variant 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?

Karol Wójcik06:08:01

Do you use babashka on M1?

Karol Wójcik06:08:45

cc @U04V15CAJ, since I’not sure how it should be done. Maybe amd64 and Rosetta compatibility mode?

Karol Wójcik07:08:07

@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


cool, works now

Karol Wójcik09:08:54

Please report any issues in this thread 🙂