[petsc-dev] --output-sync for nightly builds so that warnings can be parsed

Barry Smith bsmith at mcs.anl.gov
Sat Jul 18 15:43:11 CDT 2015


   Satish,


  Our make sometimes produces mangled test output such as:

/sandbox/petsc/petsc.clone-2/include/petscviewer.h:348:22: warningIn file included from /sandbox/petsc/petsc.clone-2/src/ksp/ksp/interface/itfunc.c:6:

This makes it difficult for the automatic tools to parse out and ignore irrelevant warning messages so we get sent email about code that is ok.

  gnumake has the option --output-sync https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html that would prevent this problem but also means that no output is started until the job is complete. This is ok for the nightly builds but for normal   builds we want the output to come out as soon as possible. 

  Can you figure out a way so that the nightly builds (and Jenkins) use the --output-sync  but other builds don't? Perhaps some extra argument to configure?

   Thanks

   Barry








More information about the petsc-dev mailing list