Good stuff. That static state definitely needed to go. Thanks for figuring out the refactor, Chris!
- Josh On Dec 25, 2016 8:23 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote: > Hi Guys, > > I just pushed my changed to the compiler, which eliminate the usage of > some of the static variables for sharing compiler state. Now multiple > instances of the compilers should be able to run in paralell. > With this, it is now possible to use one neat Maven option to speed up > build time dramatically. > > By using the config option „-T 1C“ for example Maven will execute the > build of modules in paralell using a maximum of one job per CPU core. This > cut down the build-time of the framework, including assembly and example > compilation from 1:55 to 0:54 – so it reduced the build time about by half. > One thing you should keep in mind though. With this setting multiple > module builds will run in paralell and hereby the plugins will log stuff to > the console in paralell. This will make the console-output allmost useless. > So if you are having build problems, be sure to turn the paralell > compilation off first or I guarantee you won’t make any sense out of the > output ;-) > > Chris > >