As a way to deal with concurrency issues when compiling several projects in parallel I introduced a temporary compilation folder for each clojure instance (which is then merged with the primary cache in an atomic file move). The simplest way to specify this folder to JVM is by passing it on the command line. Unfortunately, when I run clojure using clojure
script there seem to be no option to pass an extra classpath item. Would be great to introduce it. Something like:
clojure -Saddcp=/tmp/classes215632
that ends up adding /tmp/classes215632
to the overall classpath generated from deps.edn file.