18.07.2012, 20:51, "Evan Martin" <
mar...@danga.com>:
>> О©╫I actually wrote a distributed build system for a cloud computing course
>> О©╫which happens to read .ninja files. They lend themselves well to pretty cool
>> О©╫things like supporting heterogeneous slaves (each builder registers a list
>> О©╫of rule statements it knows how to execute: eg cc_32 vs cc_64); plus you can
>> О©╫do awesome stuff like cache the output of build statements so that anyone
>> О©╫can always noop build a clean trunk.
>>
>> О©╫One of these weekends I'll get around to making the code fit for public
>> О©╫consumption and uploading it to github, but there would be a lot of work to
>> О©╫do to make it usable in a non-personal setting, important stuff like not
>> О©╫hashing every file on a noop build and fixing the security vulnerabilities
>> О©╫that allow anyone to run arbitrary shell commands on your build slaves.
>
> That sounds awesome! О©╫Even if you never end up releasing the code I'd
> love to read more details about what worked and what didn't.
>
> One of the features I had always imagined implementing in Ninja sounds
> like your build output caching: even in a non-distributed build, if
> you aggressively ran Ninja in the background and cached the build
> output, when the user directly instructed Ninja to run it could just
> print the cached output. О©╫Another project for another day...
ccache?
--
Regards,
Konstantin