OT: support for multicore javac?
Bridger Dyson-Smith
bdysonsmith at gmail.com
Fri Jul 17 19:04:21 UTC 2020
Hi Aryeh -
On Thu, Jul 16, 2020 at 11:35 PM Aryeh Friedman <aryeh.friedman at gmail.com>
wrote:
> I have a rather large code base that takes several minutes to compile even
> when doing javac `find src -name '*.java'`. SInce I do not use ant or any
> other Java based build system (I use devel/cook for many reasons most of
> which fit the project much better then ant or the Java only build
> systems). I was reading about a program called sjavac (smart-javac) as a
> possible way to make javac splatter the compile across multiple cores. It
> does not seem to be anywhere in the ports collection (independent or in
> connection to another port). Any suggestions on how to get/install it
> and/or other ways of making javac use multiple cores?
>
> I can't pretend to be anything other than an amateurish dabbler in the
JVM, but is there any reason you can't simply clone the repository at
https://github.com/weetmuts/sjavac and run it?
There would probably be some orchestration required, in terms of PATHs,
etc, but the repository
seems to be relatively straightforward.
I hope this is helpful, and apologize if it isn't.
> --
> Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
>
Best wishes,
Bridger
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
>
More information about the freebsd-java
mailing list