rewrite-clj

https://github.com/clj-commons/rewrite-clj
lread 2020-06-27T17:31:00.081800Z

@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?

borkdude 2020-06-27T17:48:47.082200Z

@lee Are you hitting a limit?

borkdude 2020-06-27T17:51:36.084700Z

@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

borkdude 2020-06-27T17:52:17.085300Z

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

borkdude 2020-06-27T17:53:24.086200Z

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

lread 2020-06-27T17:55:35.087900Z

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