Date: Fri, 17 Jul 2020 15:06:35 -0400 From: Bridger Dyson-Smith <bdysonsmith@gmail.com> To: Aryeh Friedman <aryeh.friedman@gmail.com> Cc: freebsd-java@freebsd.org Subject: Re: OT: support for multicore javac? Message-ID: <CAD-FYmTSf798-3EVJBubN4BT5fVWcNDdLTaCsUzv6nhsmi3fZg@mail.gmail.com> In-Reply-To: <CAGBxaXkyNBa7RdK5cbSHH2dm5_7vk-Kb=Tf9gB1x8PpUmQD-rA@mail.gmail.com> References: <CAGBxaXkyNBa7RdK5cbSHH2dm5_7vk-Kb=Tf9gB1x8PpUmQD-rA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Aryeh - On Thu, Jul 16, 2020 at 11:35 PM Aryeh Friedman <aryeh.friedman@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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD-FYmTSf798-3EVJBubN4BT5fVWcNDdLTaCsUzv6nhsmi3fZg>