31 ms·
Using Python does not prevent parallel execution of tasks. It's just the build tasks graph that gets created by a single process, but then the build system can
by vr 17y ago
Using Python does not prevent parallel execution of tasks. It's just the build tasks graph that gets created by a single process, but then the build system can use all the available CPUs to actually execute it. See e.g. -j flag to SCons http://www.scons.org/doc/production/HTML/scons-user.html#AEN2099 http://www.scons.org/doc/production/HTML/scons-user.html#AEN....
- sorbits 17y agoAs I said, generating a Makefile (i.e. the dependency graph) from Python would be fine, which conceptually sounds like what SCons do (from your comment). But look at the build file example on the fabricate page, it is a user supplied build file with a build function which calls a compile function which loops over sources. Having the fabricate system take input like that and do parallel execution is as hard as solving the halting problem.