craftr-build / craftr-build-4.x

Frontend for the Craftr build framework.
https://craftr-build.github.io/craftr/
Other
60 stars 14 forks source link

Distributed compilation #179

Open NiklasRosenstein opened 7 years ago

NiklasRosenstein commented 7 years ago

Support for distributed compilation would be a cool feature to have. I suppose that it could be very complicated though. Build commands in the Ninja manifest would need to use some wrapper command that redirects the command to a build slave, then we still need to make sure that the buildslave can properly execute the command, which is problematic already when only the build directory on the slave is on a different path.

NiklasRosenstein commented 6 years ago

I suppose this will also only work if we're using relative paths for everything, which is not really the case in Craftr at the moment.

On the upside, now in Craftr 3 , commands are always dispatched via the Craftr command-line (using the --run-action option). This allows us to easily catch the invokation and re-direct it to a build slave.