I am using Waf to automate the building process of my project.
The problem is that I have two kinds of parallelization. The first one is by using a switch for the job number meaning parallel processes when running Waf on the command line.
$ python waf.py build -j4
The second kind of parallelization happens in some scripts which are executed by Waf and which cannot be rewritten to use Waf's parallelization.
To keep the amount of threads used stable, I have to interrupt the build process and change the job switch. Is there a way to do this dynamically so that I can specify for a certain folder that tasks are run using 5 threads or something else?
Thanks for your help!