Compiling multiple plugins at once
-
Is this possible via the command line? Or will the compiler complain.
-
Why would you want to do this?
-
I have added markdown documentation to all of my plugins so now they all need to be recompiled. Doing them one at a time on 3 operating systems takes quite a while on the old Mac Mini.
-
Well normally the compilers max out all cores during compilation so you won‘t gain anything.
-
Darn....
-
Could you add
-j`nproc --ignore=2`
to the make command in the auto generated make file for GNU/Linux builds? This should speed up compiling a little because at the moment I think GCC is just using 1 core by default. -
The Projucer is creating the makefile but you might be lucky changing the templates inside HISE (Haven‘t you done this already with ankother compile flag)?
-
@Christoph-Hart I think you are right. I'll have a poke around
-
Yep I've updated the template, I also enabled JACK on Linux builds because for some reason it's disabled by default in the generated jucer files. I also replaced floorf and fmodf with the non f versions. I'd make a pull request but the line endings have struck again and messed up my local git with tons of extra additions and deletions. So I'll have to clean that up first.