Fork me on GitHub
#rewrite-clj
<
2020-06-27
>
lread17:06:00

@borkdude, before I explore your idea further of testing rewrite-cljc under GraalVM > so how it works with babashka: you include the library like the other built-in libraries. and then you run the unit tests from source with bb I vaguely remember you having to get CircleCI to bump available RAM to native-image babashka… am I remembering correctly?

borkdude17:06:47

@lee Are you hitting a limit?

borkdude17:06:36

@lee A couple of things to try: - Set BABASHKA_XMX to -J-Xmx3500m or something like that and pray it compiles - Disable all feature flags to eliminate libraries you don't need - Use sci instead of bb for trying this out. The only other ns you'll need to incorporate is clojure.test, you can copy that code from babashka. The latter could also serve as a template for testing other libs in GraalVM

borkdude17:06:17

Or: ask @marc-omorain to bump your memory limit. Or use Github actions, not CircleCI to compile.

borkdude17:06:24

I think PRs against babashka should compile with 8GB though, so making a WIP PR against babashka should also work

lread17:06:35

Not hitting a limit, just getting an understanding of constraints before digging in. Thanks for all the ideas and tips!