Hey there!
Is there a way to do :aot :all like in lein with tools.build ? To precompile clj files in classes to use them in a graalvm build ~
no, you need to list all the entry-point namespaces in :ns-compile - and if something is not loaded by your entry points, why do you care? but you could use tools.namespace to grab all the namespaces if needed
tools.build depends on it, so your build process already has it in deps
Well, I'm having some issues where some classes are not found in the final binary from graalvm (notably some core clojure ones for now), and from what I see in my standalone jar, those ones are not compiled (only available as .clj files). I wanted to see if I could fix it in my build usage with tools.build
But if compile-clj is supposed to compile them, shouldn't the clojure core be compiled as well since it's implicitly required (afaiu) ?
clojure.core is aot compiled in its jar already
I would suggest asking about tooling use in #graalvm
Yeah I think that's best since I'm getting confused about things. Thanks for your help though, much appreciated 🙂