[Scons-users] Ignoring (some) errors

Dirk Bächle tshortik at gmx.de
Wed Apr 8 16:30:15 EDT 2015


Hi Marc,

On 08.04.2015 20:06, Marc Branchaud wrote:
> Hi all,
>
> I have a project that builds many binaries, then assembles them in different
> ways to create different products.  All of this is conveniently depended-on
> by a single Alias target (e.g. "allproducts").
>
> I would like to execute this build in parallel (with --jobs).  However, I
> would also like for the second step to be robust against a failure to
> assemble a product.
>
> There is --keep-going, but if I read the man page correctly that would still
> abort my single allproducts target if there's a failure ("The target that
> failed and those that depend on it will not be remade, but other targets
> specified on the command line will still be processed.")
>

there is also -i/--ignore-errors (see 
http://stackoverflow.com/questions/23825405/ignore-build-errors-and-build-as-far-as-possible-with-scons-i-or-with-scons-k , amongst 
others).
Does that help?

Best regards,

Dirk



More information about the Scons-users mailing list