Do you think there could be a chance detecting that a build using make
-jX failed by:
- comparing created files by a list of expected files
- comparing list of symbols contained in .so or .a files with
  a list of expected symbols?

I expect those values to be constant. So one could create a hash over a
symbols names and installed fails and make the builder check that this
hash doesn't change when using make -jX.

Of course this will not catch bad machine code.
Such a file and symbol hash could be added easily to each derivation.

I appreciate you telling more about broken builds due to make -jX
failing silently causing hours of debugging - because I don't have
this experience.

Marc Weber
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to